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 |
|
|
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 |
|
|
74 |
|
SelectionStatus electronIDMVASelection(ControlFlags &ctrl, |
75 |
|
const mithep::Electron *ele, |
81 |
|
const mithep::Electron *ele, |
82 |
|
const mithep::Vertex * vtx ); |
83 |
|
void initElectronIDMVA(); |
84 |
< |
|
84 |
> |
void initElectronIDMVAV1(); |
85 |
> |
SelectionStatus electronTagSelection(const mithep::Electron *ele, |
86 |
> |
const mithep::Vertex *vtx, |
87 |
> |
const mithep::Array<mithep::PFCandidate> *pfCandidates); |
88 |
|
#endif |
89 |
|
|