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 |
55 |
|
|
56 |
|
using namespace std; |
57 |
|
|
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 *); |
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, |
72 |
|
SelectionStatus electronReferenceIDMVASelection(ControlFlags &ctrl, |
73 |
|
const mithep::Electron *ele, |
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 |
|
|