30 |
|
// |
31 |
|
// ntuple format headers |
32 |
|
// |
33 |
< |
#include "HiggsAnaDefs.hh" |
34 |
< |
#include "TGenInfo.hh" |
35 |
< |
#include "TEventInfo.hh" |
36 |
< |
#include "TElectron.hh" |
37 |
< |
#include "TMuon.hh" |
38 |
< |
#include "TJet.hh" |
39 |
< |
#include "TPhoton.hh" |
33 |
> |
#include "EventHeader.h" |
34 |
> |
#include "Electron.h" |
35 |
> |
#include "Muon.h" |
36 |
> |
#include "PFCandidate.h" |
37 |
> |
#include "PFCandidateCol.h" |
38 |
|
#include "RunLumiRangeMap.h" |
39 |
|
|
40 |
|
#include "ParseArgs.h" |
41 |
|
#include "EventData.h" |
42 |
|
#include "SelectionStatus.h" |
43 |
|
|
44 |
+ |
void fillVetoArrays( ControlFlags & ctrl, |
45 |
+ |
const mithep::Array<mithep::Muon> *muonArr, |
46 |
+ |
vector< const mithep::Muon*> & muonsToVeto, |
47 |
+ |
const mithep::Array<mithep::Electron> *electronArr, |
48 |
+ |
vector< const mithep::Electron*> & electronsToVeto, |
49 |
+ |
const mithep::Vertex & vtx ); |
50 |
|
EventData apply_HZZ4L_selection(ControlFlags &ctrl, // input control |
51 |
< |
mithep::TEventInfo *info, // input event info |
52 |
< |
TClonesArray *electronArr, // input electrons |
53 |
< |
SelectionStatus (*ElectronPreSelector)( ControlFlags &, const mithep::TElectron*), |
54 |
< |
SelectionStatus (*ElectronIDSelector)( ControlFlags &, const mithep::TElectron*), |
55 |
< |
SelectionStatus (*ElectronIsoSelector)( ControlFlags &, const mithep::TElectron*), |
56 |
< |
TClonesArray *muonArr, // input muons |
57 |
< |
SelectionStatus (*MuonPreSelector)( ControlFlags &, const mithep::TMuon*), |
58 |
< |
SelectionStatus (*MuonIDSelector)( ControlFlags &, const mithep::TMuon*), |
59 |
< |
SelectionStatus (*MuonIsoSelector)( ControlFlags &, const mithep::TMuon*) |
60 |
< |
); |
51 |
> |
const mithep::EventHeader *info, // input event info |
52 |
> |
const mithep::Vertex & fVertex, |
53 |
> |
const mithep::Array<mithep::PFCandidate> *fPFCandidates, |
54 |
> |
const mithep::Array<mithep::PileupEnergyDensity> *, |
55 |
> |
const mithep::Array<mithep::Electron> *electronArr, // input electrons |
56 |
> |
SelectionStatus (*ElectronPreSelector)( ControlFlags &, |
57 |
> |
const mithep::Electron*, |
58 |
> |
const mithep::Vertex &), |
59 |
> |
SelectionStatus (*ElectronIDSelector)( ControlFlags &, |
60 |
> |
const mithep::Electron*, |
61 |
> |
const mithep::Vertex &), |
62 |
> |
SelectionStatus (*ElectronIsoSelector)( ControlFlags &, |
63 |
> |
const mithep::Electron*, |
64 |
> |
const mithep::Vertex & , |
65 |
> |
const mithep::Array<mithep::PFCandidate> *, |
66 |
> |
const mithep::Array<mithep::PileupEnergyDensity> *, |
67 |
> |
mithep::ElectronTools::EElectronEffectiveAreaTarget, |
68 |
> |
vector<const mithep::Muon*>, |
69 |
> |
vector<const mithep::Electron*> ), |
70 |
> |
const mithep::Array<mithep::Muon> *muonArr, // input muons |
71 |
> |
SelectionStatus (*MuonPreSelector)( ControlFlags &, |
72 |
> |
const mithep::Muon*, |
73 |
> |
const mithep::Vertex &, |
74 |
> |
const mithep::Array<mithep::PFCandidate> *), |
75 |
> |
SelectionStatus (*MuonIDSelector)( ControlFlags &, |
76 |
> |
const mithep::Muon*, |
77 |
> |
// const mithep::Vertex &), |
78 |
> |
const mithep::Vertex &, |
79 |
> |
const mithep::Array<mithep::PFCandidate> *), |
80 |
> |
SelectionStatus (*MuonIsoSelector)( ControlFlags &, |
81 |
> |
const mithep::Muon*, |
82 |
> |
const mithep::Vertex & , |
83 |
> |
const mithep::Array<mithep::PFCandidate> *, |
84 |
> |
const mithep::Array<mithep::PileupEnergyDensity> *, |
85 |
> |
mithep::MuonTools::EMuonEffectiveAreaTarget, |
86 |
> |
vector<const mithep::Muon*>, |
87 |
> |
vector<const mithep::Electron*> ) |
88 |
> |
); |
89 |
|
#endif |