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.3 by khahn, Sat May 5 11:23:00 2012 UTC vs.
Revision 1.15 by anlevin, Thu Jul 5 18:17:18 2012 UTC

# Line 1 | Line 1
1 < #ifndef ELECTRON_SELECTION_BDT
2 < #define ELECTRON_SELECTION_BDT
1 > #ifndef ELECTRON_SELECTION
2 > #define ELECTRON_SELECTION
3  
4   #include <vector>
5   #include <cassert>
# Line 21 | Line 21
21   #include "ParseArgs.h"
22   #include "SelectionStatus.h"
23  
24 + #include "ElectronTools.h"
25 + #include "PileupEnergyDensity.h"
26 + #include "PFCandidate.h"
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 <
79 > void initElectronIDMVAV1();
80 > SelectionStatus electronTagSelection(const mithep::Electron *ele,
81 >                                     const mithep::Vertex  *vtx,
82 >                                     const mithep::Array<mithep::PFCandidate>  *pfCandidates);
83 > SelectionStatus electronDenominatorSelection(ControlFlags &ctrl,
84 >                                             const mithep::Electron *electron,
85 >                                             const mithep::Vertex * vtx) ;
86   #endif
87  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines