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.10 by anlevin, Fri Jun 8 22:30:42 2012 UTC

# Line 21 | Line 21
21   #include "ParseArgs.h"
22   #include "SelectionStatus.h"
23  
24 + #include "MitPhysics/Utils/interface/ElectronTools.h"
25 +
26 +
27 +
28   #define ELE_IDMVA_CUT_BIN0 0.369
29   #define ELE_IDMVA_CUT_BIN1 -0.025
30   #define ELE_IDMVA_CUT_BIN2 0.531
# Line 51 | Line 55
55  
56   using namespace std;
57  
58 < SelectionStatus electronDummyVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex &);
59 < SelectionStatus electronCutBasedVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex &);
58 > bool electron2012CutBasedIDMedium(const mithep::Electron *ele, const mithep::Vertex * vtx,  const mithep::Array<mithep::PFCandidate> * fPFCandidates, const mithep::DecayParticleCol *conversions, const mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity);
59 >
60 > SelectionStatus electronDummyVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *);
61 > SelectionStatus electronCutBasedVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *);
62  
63 < SelectionStatus electronPreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex &);
64 < SelectionStatus electronReferencePreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex &);
63 > SelectionStatus electronPreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex *);
64 > SelectionStatus electronReferencePreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex *);
65 > SelectionStatus electronPreSelectionNoD0DzIP(ControlFlags &ctrl,
66 >                                             const mithep::Electron *electron,
67 >                                             const mithep::Vertex * vtx);
68  
69   SelectionStatus electronIDMVASelection(ControlFlags &ctrl,
70                                       const mithep::Electron *ele,
71 <                                     const mithep::Vertex & vtx   );
71 >                                     const mithep::Vertex * vtx   );
72   SelectionStatus electronReferenceIDMVASelection(ControlFlags &ctrl,
73                                                  const mithep::Electron *ele,
74 <                                                const mithep::Vertex & vtx   );
74 >                                                const mithep::Vertex * vtx   );
75 > SelectionStatus electronReferenceIDMVASelectionV1(ControlFlags &ctrl,
76 >                                                const mithep::Electron *ele,
77 >                                                  const mithep::Vertex * vtx   );
78   void initElectronIDMVA();
79 + void initElectronIDMVAV1();
80  
81   #endif
82  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines