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

Comparing UserCode/MitHzz4l/LeptonSelection/interface/ElectronSelection.h (file contents):
Revision 1.4 by khahn, Wed May 9 20:52:52 2012 UTC vs.
Revision 1.20 by anlevin, Wed Sep 12 12:13:25 2012 UTC

# Line 20 | Line 20
20  
21   #include "ParseArgs.h"
22   #include "SelectionStatus.h"
23 + #include "Various.h"
24 +
25 + #include "ElectronTools.h"
26 + #include "PileupEnergyDensity.h"
27 + #include "PFCandidate.h"
28  
29   #define ELE_IDMVA_CUT_BIN0 0.369
30   #define ELE_IDMVA_CUT_BIN1 -0.025
# Line 51 | Line 56
56  
57   using namespace std;
58  
59 < SelectionStatus electronDummyVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex &);
60 < SelectionStatus electronCutBasedVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex &);
59 > bool electron2012CutBasedIDMediumVersionThatWorksOn2011(ControlFlags &ctrl, const mithep::Electron *ele, const mithep::Vertex * vtx,  const mithep::Array<mithep::PFCandidate> * fPFCandidates,
60 >                                                        const mithep::DecayParticleCol *conversions, const mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity,
61 >                                                        mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion);
62 >
63 > bool electronPOG2012CutBasedIDMedium(const mithep::Electron *ele, const mithep::Vertex * vtx,  const mithep::Array<mithep::PFCandidate> * fPFCandidates, const mithep::DecayParticleCol *conversions, const float rho, const mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion);
64 >
65 > SelectionStatus electronDummyVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *);
66 > SelectionStatus electronCutBasedVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *);
67  
68 < SelectionStatus electronPreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex &);
69 < SelectionStatus electronReferencePreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex &);
68 > SelectionStatus electronPreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex *);
69 > SelectionStatus electronReferencePreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex *);
70 > SelectionStatus electronPreSelectionNoD0DzIP(ControlFlags &ctrl,
71 >                                             const mithep::Electron *electron,
72 >                                             const mithep::Vertex * vtx);
73 > SelectionStatus electronPreSelectionNoD0IP(ControlFlags &ctrl,
74 >                                         const mithep::Electron *electron,
75 >                                         const mithep::Vertex * vtx);
76  
77   SelectionStatus electronIDMVASelection(ControlFlags &ctrl,
78                                       const mithep::Electron *ele,
79 <                                     const mithep::Vertex & vtx   );
79 >                                     const mithep::Vertex * vtx   );
80   SelectionStatus electronReferenceIDMVASelection(ControlFlags &ctrl,
81                                                  const mithep::Electron *ele,
82 <                                                const mithep::Vertex & vtx   );
82 >                                                const mithep::Vertex * vtx   );
83 > SelectionStatus electronReferenceIDMVASelectionV1(ControlFlags &ctrl,
84 >                                                const mithep::Electron *ele,
85 >                                                  const mithep::Vertex * vtx   );
86   void initElectronIDMVA();
87 <
87 > void initElectronIDMVAV1();
88 > SelectionStatus electronTagSelection(const mithep::Electron *ele,
89 >                                     const mithep::Vertex  *vtx,
90 >                                     const mithep::Array<mithep::PFCandidate>  *pfCandidates);
91   #endif
92  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines