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 |
56 |
|
|
57 |
|
using namespace std; |
58 |
|
|
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 mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity); |
64 |
+ |
|
65 |
|
SelectionStatus electronDummyVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *); |
66 |
|
SelectionStatus electronCutBasedVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *); |
67 |
|
|
70 |
|
SelectionStatus electronPreSelectionNoD0DzIP(ControlFlags &ctrl, |
71 |
|
const mithep::Electron *electron, |
72 |
|
const mithep::Vertex * vtx); |
73 |
+ |
SelectionStatus electronPreSelectionNoIP(ControlFlags &ctrl, |
74 |
+ |
const mithep::Electron *electron, |
75 |
+ |
const mithep::Vertex * vtx); |
76 |
|
|
77 |
|
SelectionStatus electronIDMVASelection(ControlFlags &ctrl, |
78 |
|
const mithep::Electron *ele, |
85 |
|
const mithep::Vertex * vtx ); |
86 |
|
void initElectronIDMVA(); |
87 |
|
void initElectronIDMVAV1(); |
88 |
< |
|
88 |
> |
SelectionStatus electronTagSelection(const mithep::Electron *ele, |
89 |
> |
const mithep::Vertex *vtx, |
90 |
> |
const mithep::Array<mithep::PFCandidate> *pfCandidates); |
91 |
|
#endif |
92 |
|
|