13 |
|
#include <stdlib.h> |
14 |
|
#include <getopt.h> |
15 |
|
using namespace std; |
16 |
+ |
using namespace mithep; |
17 |
|
|
18 |
|
// |
19 |
|
// ROOT headers |
41 |
|
#include "ParseArgs.h" |
42 |
|
#include "EventData.h" |
43 |
|
#include "SelectionStatus.h" |
44 |
+ |
#include "ElectronEnergyCorrection.h" |
45 |
|
|
46 |
|
#define PASS_SKIM0 0 |
47 |
|
#define PASS_SKIM1 1 |
57 |
|
#define PASS_m4l_GT_70 11 |
58 |
|
#define PASS_m4l_GT_100 12 |
59 |
|
|
60 |
< |
EventData apply_HZZ4L_reference_selection(ControlFlags &ctrl, // input control |
61 |
< |
const mithep::EventHeader *info, // input event info |
62 |
< |
const mithep::Array<mithep::Vertex> * vtxArr , |
63 |
< |
const mithep::Array<mithep::PFCandidate> *fPFCandidates, |
64 |
< |
#ifdef HACKED_RHOS |
65 |
< |
float rho, |
64 |
< |
#else |
65 |
< |
const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity, |
66 |
< |
#endif |
60 |
> |
EventData |
61 |
> |
apply_HZZ4L_reference_selection(ControlFlags &ctrl, // input control |
62 |
> |
const mithep::EventHeader *info, // input event info |
63 |
> |
const mithep::Array<mithep::Vertex> * vtxArr , |
64 |
> |
const mithep::Array<mithep::PFCandidate> *fPFCandidates, |
65 |
> |
const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity, |
66 |
|
const mithep::Array<mithep::Electron> *electronArr, // input electrons |
67 |
|
SelectionStatus (*ElectronPreSelector)( ControlFlags &, |
68 |
|
const mithep::Electron*, |
74 |
|
const mithep::Electron*, |
75 |
|
const mithep::Vertex *, |
76 |
|
const mithep::Array<mithep::PFCandidate> *, |
77 |
< |
#ifdef HACKED_RHOS |
78 |
< |
float rho, |
80 |
< |
#else |
81 |
< |
const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity, |
82 |
< |
#endif |
83 |
< |
|
77 |
> |
const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity, |
78 |
> |
|
79 |
|
mithep::ElectronTools::EElectronEffectiveAreaTarget, |
80 |
< |
vector<const mithep::Muon*>, |
86 |
< |
vector<const mithep::Electron*> ), |
80 |
> |
vector<const mithep::PFCandidate*>), |
81 |
|
const mithep::Array<mithep::Muon> *muonArr, // input muons |
82 |
|
SelectionStatus (*MuonPreSelector)( ControlFlags &, |
83 |
|
const mithep::Muon*, |
92 |
|
const mithep::Muon*, |
93 |
|
const mithep::Vertex * , |
94 |
|
const mithep::Array<mithep::PFCandidate> *, |
95 |
< |
#ifdef HACKED_RHOS |
102 |
< |
float, |
103 |
< |
#else |
104 |
< |
const mithep::Array<mithep::PileupEnergyDensity> *, |
105 |
< |
#endif |
95 |
> |
const mithep::Array<mithep::PileupEnergyDensity> *, |
96 |
|
mithep::MuonTools::EMuonEffectiveAreaTarget, |
97 |
< |
vector<const mithep::Muon*>, |
108 |
< |
vector<const mithep::Electron*> ) |
97 |
> |
vector<const mithep::PFCandidate*>) |
98 |
|
); |
99 |
|
#endif |