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 electron2012CutBasedIDMedium(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 |
|
SelectionStatus electronDummyVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *); |
64 |
|
SelectionStatus electronCutBasedVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *); |
65 |
|
|
66 |
|
SelectionStatus electronPreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex *); |
67 |
|
SelectionStatus electronReferencePreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex *); |
68 |
+ |
SelectionStatus electronPreSelectionNoD0DzIP(ControlFlags &ctrl, |
69 |
+ |
const mithep::Electron *electron, |
70 |
+ |
const mithep::Vertex * vtx); |
71 |
|
|
72 |
|
SelectionStatus electronIDMVASelection(ControlFlags &ctrl, |
73 |
|
const mithep::Electron *ele, |
79 |
|
const mithep::Electron *ele, |
80 |
|
const mithep::Vertex * vtx ); |
81 |
|
void initElectronIDMVA(); |
82 |
< |
|
82 |
> |
void initElectronIDMVAV1(); |
83 |
> |
SelectionStatus electronTagSelection(const mithep::Electron *ele, |
84 |
> |
const mithep::Vertex *vtx, |
85 |
> |
const mithep::Array<mithep::PFCandidate> *pfCandidates); |
86 |
|
#endif |
87 |
|
|