25 |
|
#include "MuonTools.h" |
26 |
|
#include "ElectronTools.h" |
27 |
|
#include "RunLumiRangeMap.h" |
28 |
– |
#include "TriggerObjectsTable.h" |
29 |
– |
#include "TriggerObject.h" |
30 |
– |
#include "TriggerObjectRel.h" |
28 |
|
|
29 |
|
// |
30 |
|
// ntuple format headers |
49 |
|
void writeEntries(FOFlags foctrl, unsigned total_unskimmed); |
50 |
|
void getEATargets(ControlFlags &ctrl, mithep::MuonTools::EMuonEffectiveAreaTarget &eraMu, mithep::ElectronTools::EElectronEffectiveAreaTarget &eraEle); |
51 |
|
void getEATargets(FOFlags foctrl, mithep::MuonTools::EMuonEffectiveAreaTarget &eraMu, mithep::ElectronTools::EElectronEffectiveAreaTarget &eraEle); |
52 |
< |
unsigned makePFnoPUArray(mithep::Array<PFCandidate> * fPFCandidates, |
52 |
> |
unsigned makePFnoPUArray(const mithep::Array<PFCandidate> * fPFCandidates, |
53 |
|
vector<bool> &pfNoPileUpFlag, |
54 |
|
const mithep::Array<mithep::Vertex> * vtxArr ); |
55 |
< |
void setEffiencyWeights(EventData&, WeightStruct& ); |
55 |
> |
void setEffiencyWeights(unsigned era, |
56 |
> |
EventData & evtdat, |
57 |
> |
std::bitset<1024> triggerBits, |
58 |
> |
mithep::TriggerTable *hltTable, |
59 |
> |
mithep::Array<mithep::TriggerObject> *hltObjArr, |
60 |
> |
mithep::TriggerObjectsTable *fTrigObjs, |
61 |
> |
WeightStruct & weights ) ; |
62 |
|
void initEvtRhoMap(map<unsigned,float> &); |
63 |
|
void setEra(string, ControlFlags&); |
64 |
< |
int getNPU(mithep::Array<mithep::PileupInfo> *puArr, int bx=0); |
65 |
< |
void setHLTObjectRelations( mithep::Array<mithep::TriggerObject> *hltObjArr, |
66 |
< |
mithep::Array<mithep::TriggerObjectRel> *hltRelsArr, |
64 |
< |
vector<string> * fHLTTab, |
65 |
< |
vector<string> * fHLTLab, |
66 |
< |
TriggerObjectsTable *fTrigObjs); |
67 |
< |
void printTriggerObjs( mithep::TriggerTable *hltTable, mithep::TriggerObjectsTable *fTrigObjs); |
64 |
> |
unsigned getNPU(mithep::Array<mithep::PileupInfo> *puArr, int bx=0); |
65 |
> |
void initPUWeights(); |
66 |
> |
double getPUWeight(unsigned era, unsigned npu); |
67 |
|
#endif |