ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/LeptonSelection/interface/IsolationSelection.h
(Generate patch)

Comparing UserCode/MitHzz4l/LeptonSelection/interface/IsolationSelection.h (file contents):
Revision 1.16 by khahn, Tue Jun 5 19:35:47 2012 UTC vs.
Revision 1.17 by dkralph, Tue Oct 23 10:21:54 2012 UTC

# Line 15 | Line 15
15   #include "SelectionStatus.h"
16   #include "SimpleLepton.h"
17  
18 + using namespace std;
19 + using namespace mithep;
20 +
21   #define MUON_ISOMVA_CUT_BIN0  -0.615
22   #define MUON_ISOMVA_CUT_BIN1   0.235
23   #define MUON_ISOMVA_CUT_BIN2  -0.825
# Line 164 | Line 167 | Float_t computePFEleIso(const mithep::El
167  
168   SelectionStatus electronIsoSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex &, const mithep::Array<mithep::PFCandidate> * fPFCandidateCol   );
169   SelectionStatus muonIsoSelection(ControlFlags &, const mithep::Muon *, const mithep::Vertex *, const mithep::Array<mithep::PFCandidate> * fPFCandidateCol   );
167 bool pairwiseIsoSelection( ControlFlags &, vector<SimpleLepton> &, float rho );
170   bool noIso(ControlFlags &, vector<SimpleLepton> &, float rho);
171  
172   void initMuonIsoMVA();
# Line 193 | Line 195 | double muonPFIso04(ControlFlags &ctrl,
195                     mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
196                     vector<const mithep::PFCandidate*> photonsToVeto);
197  
196 // hacked version
197 double muonPFIso04(ControlFlags &ctrl,
198                   const mithep::Muon * mu,
199                   const mithep::Vertex * vtx,
200                   const mithep::Array<mithep::PFCandidate> * fPFCandidates,
201                   float rho,  // the hack
202                   mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
203                   vector<const mithep::Muon*> muonsToVeto,
204                   vector<const mithep::Electron*> electronsToVeto);
205 //
198   SelectionStatus muonReferenceIsoSelection(ControlFlags &ctrl,
199                                            const mithep::Muon * mu,
200                                            const mithep::Vertex * vtx,
# Line 210 | Line 202 | SelectionStatus muonReferenceIsoSelectio
202                                            const mithep::Array<mithep::PileupEnergyDensity> * fPUEnergyDensity,
203                                            mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
204                                            vector<const mithep::PFCandidate*> photonsToVeto);
213 // hacked version
214 SelectionStatus muonReferenceIsoSelection(ControlFlags &ctrl,
215                                          const mithep::Muon * mu,
216                                          const mithep::Vertex * vtx,
217                                          const mithep::Array<mithep::PFCandidate> * fPFCandidates,
218                                          float,
219                                          mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
220                                          vector<const mithep::Muon*> muonsToVeto,
221                                          vector<const mithep::Electron*> electronsToVeto);
205  
206   void initElectronIsoMVA();
207   SelectionStatus electronIsoMVASelection(ControlFlags &ctrl,
# Line 246 | Line 229 | float electronPFIso04(ControlFlags &ctrl
229                        mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
230                        vector<const mithep::PFCandidate*> photonsToVeto);                
231  
249 // hacked version
250 float electronPFIso04(ControlFlags &ctrl,
251                      const mithep::Electron * ele,
252                      const mithep::Vertex * vtx,
253                      const mithep::Array<mithep::PFCandidate> * fPFCandidates,
254                      float rho, // the hack
255                      mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
256                      vector<const mithep::Muon*> muonsToVeto,
257                      vector<const mithep::Electron*> electronsToVeto) ;
258 //
232   SelectionStatus electronReferenceIsoSelection(ControlFlags &ctrl,
233                                                const mithep::Electron * ele,
234                                                const mithep::Vertex * vtx,
# Line 263 | Line 236 | SelectionStatus electronReferenceIsoSele
236                                                const mithep::Array<mithep::PileupEnergyDensity> * fPUEnergyDensity,
237                                                mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
238                                                vector<const mithep::PFCandidate*> photonsToVeto);
266 // hacked version
267 SelectionStatus electronReferenceIsoSelection(ControlFlags &ctrl,
268                                              const mithep::Electron * ele,
269                                              const mithep::Vertex * vtx,
270                                              const mithep::Array<mithep::PFCandidate> * fPFCandidates,
271                                              float,
272                                              mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
273                                              vector<const mithep::Muon*> muonsToVeto,
274                                              vector<const mithep::Electron*> electronsToVeto);
239  
240   double  dbetaCorrectedIsoDr03(ControlFlags & ctrl,
241                                const mithep::PFCandidate * photon,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines