13 addStdHist<OffEle,float>(histVec,baseName+
"_et",baseName+
" E_{T};E_{T} (GeV)",bins.
et,&
OffEle::et);
14 addStdHist<OffEle,float>(histVec,baseName+
"_etHigh",baseName+
" E_{T};E_{T} (GeV)",bins.
etHigh,&
OffEle::et);
15 addStdHist<OffEle,float>(histVec,baseName+
"_etSC",baseName+
" E^{SC}_{T};E^{SC}_{T} (GeV)",bins.
et,&
OffEle::etSC);
16 addStdHist<OffEle,float>(histVec,baseName+
"_eta",baseName+
" #eta;#eta",bins.
eta,&
OffEle::detEta);
17 addStdHist<OffEle,float>(histVec,baseName+
"_phi",baseName+
" #phi;#phi (rad)",bins.
phi,&
OffEle::phi);
18 addStdHist<OffEle,int>(histVec,baseName+
"_charge",baseName+
" Charge; charge",bins.
charge,&
OffEle::charge);
20 addStdHist<OffEle,float>(histVec,baseName+
"_hOverE",baseName+
" H/E; H/E",bins.
hOverE,&
OffEle::hOverE);
21 addStdHist<OffEle,float>(histVec,baseName+
"_dPhiIn",baseName+
" #Delta #phi_{in}; #Delta #phi_{in}",bins.
dPhiIn,&
OffEle::dPhiIn);
22 addStdHist<OffEle,float>(histVec,baseName+
"_dEtaIn",baseName+
" #Delta #eta_{in}; #Delta #eta_{in}",bins.
dEtaIn,&
OffEle::dEtaIn);
23 addStdHist<OffEle,float>(histVec,baseName+
"_sigmaIEtaIEta",baseName+
"#sigma_{i#etai#eta}; #sigma_{i#etai#eta}",bins.
sigEtaEta,&
OffEle::sigmaIEtaIEta);
24 addStdHist<OffEle,float>(histVec,baseName+
"_epIn",baseName+
"E/p_{in}; E/p_{in}",bins.
eOverP,&
OffEle::epIn);
25 addStdHist<OffEle,float>(histVec,baseName+
"_epOut",baseName+
"E/p_{out}; E/p_{out}",bins.
eOverP,&
OffEle::epIn);
26 addStdHist<OffEle,float>(histVec,baseName+
"_invEInvP",baseName+
"1/E -1/p; 1/E - 1/p",bins.
invEInvP,&
OffEle::invEInvP);
28 addStdHist<OffEle,float>(histVec,baseName+
"_e2x5Over5x5",baseName+
"E^{2x5}/E^{5x5}; E^{2x5}/E^{5x5}",bins.
e2x5,&
OffEle::e2x5MaxOver5x5);
29 addStdHist<OffEle,float>(histVec,baseName+
"_e1x5Over5x5",baseName+
"E^{1x5}/E^{5x5}; E^{1x5}/E^{5x5}",bins.
e1x5,&
OffEle::e1x5Over5x5);
30 addStdHist<OffEle,float>(histVec,baseName+
"_isolEM",baseName+
"Isol EM; Isol EM (GeV)",bins.
isolEm,&
OffEle::isolEm);
31 addStdHist<OffEle,float>(histVec,baseName+
"_isolHad",baseName+
"Isol Had; Isol Had (GeV)",bins.
isolHad,&
OffEle::isolHad);
32 addStdHist<OffEle,float>(histVec,baseName+
"_isolPtTrks",baseName+
"Isol Pt Trks; Isol Pt Tracks (GeV/c)",bins.
isolPtTrks,&
OffEle::isolPtTrks);
33 addStdHist<OffEle,float>(histVec,baseName+
"_hltIsolTrksEle",baseName+
"HLT Ele Isol Trks; HLT Ele Iso Tracks (GeV/c)",bins.
isolPtTrks,&
OffEle::hltIsolTrksEle);
34 addStdHist<OffEle,float>(histVec,baseName+
"_hltIsolTrksPho",baseName+
"HLT Pho Isol Trks; HLT Pho Iso Tracks (GeV/c)",bins.
isolPtTrks,&
OffEle::hltIsolTrksPho);
35 addStdHist<OffEle,float>(histVec,baseName+
"_hltIsolHad",baseName+
"HLT Isol Had; HLT Isol Had (GeV)",bins.
isolHad,&
OffEle::hltIsolHad);
38 baseName+
" #eta vs #phi;#eta;#phi (rad)",
47 addStdHist<OffPho,float>(histVec,baseName+
"_et",baseName+
" E_{T};E_{T} (GeV)",bins.
et,&
OffPho::et);
48 addStdHist<OffPho,float>(histVec,baseName+
"_etHigh",baseName+
" E_{T};E_{T} (GeV)",bins.
etHigh,&
OffPho::et);
49 addStdHist<OffPho,float>(histVec,baseName+
"_etSC",baseName+
" E^{SC}_{T};E^{SC}_{T} (GeV)",bins.
et,&
OffPho::etSC);
50 addStdHist<OffPho,float>(histVec,baseName+
"_eta",baseName+
" #eta;#eta",bins.
eta,&
OffPho::detEta);
51 addStdHist<OffPho,float>(histVec,baseName+
"_phi",baseName+
" #phi;#phi (rad)",bins.
phi,&
OffPho::phi);
53 addStdHist<OffPho,float>(histVec,baseName+
"_hOverE",baseName+
" H/E; H/E",bins.
hOverE,&
OffPho::hOverE);
54 addStdHist<OffPho,float>(histVec,baseName+
"_r9",baseName+
" R9 ; R9",bins.
r9,&
OffPho::r9);
55 addStdHist<OffPho,float>(histVec,baseName+
"_sigmaIEtaIEta",baseName+
"#sigma_{i#etai#eta}; #sigma_{i#etai#eta}",bins.
sigEtaEta,&
OffPho::sigmaIEtaIEta);
56 addStdHist<OffPho,float>(histVec,baseName+
"_e2x5Over5x5",baseName+
"E^{2x5}/E^{5x5}; E^{2x5}/E^{5x5}",bins.
e2x5,&
OffPho::e2x5MaxOver5x5);
57 addStdHist<OffPho,float>(histVec,baseName+
"_e1x5Over5x5",baseName+
"E^{1x5}/E^{5x5}; E^{1x5}/E^{5x5}",bins.
e1x5,&
OffPho::e1x5Over5x5);
58 addStdHist<OffPho,float>(histVec,baseName+
"_isolEM",baseName+
"Isol EM; Isol EM (GeV)",bins.
isolEm,&
OffPho::isolEm);
59 addStdHist<OffPho,float>(histVec,baseName+
"_isolHad",baseName+
"Isol Had; Isol Had (GeV)",bins.
isolHad,&
OffPho::isolHad);
60 addStdHist<OffPho,float>(histVec,baseName+
"_isolPtTrks",baseName+
"Isol Pt Trks; Isol Pt Tracks (GeV/c)",bins.
isolPtTrks,&
OffPho::isolPtTrks);
62 addStdHist<OffPho,float>(histVec,baseName+
"_hltIsolTrks",baseName+
"HLT Isol Trks; HLT Iso Tracks (GeV/c)",bins.
isolPtTrks,&
OffPho::hltIsolTrks);
63 addStdHist<OffPho,float>(histVec,baseName+
"_hltIsolHad",baseName+
"HLT Isol Had; HLT Isol Had (GeV)",bins.
isolPtTrks,&
OffPho::hltIsolHad);
66 baseName+
" #eta vs #phi;#eta;#phi (rad)",
87 int stdCutCode = masks.
stdEle;
90 histVec.push_back(
new MonElemFloat(baseName+
"_noCuts",baseName+
" NoCuts",nrBins,xMin,xMax,vsVarFunc));
91 histVec.push_back(
new MonElemFloat(baseName+
"_allCuts",baseName+
" All Cuts",nrBins,xMin,xMax,vsVarFunc,
95 histVec.push_back(
new MonElemFloat(baseName+
"_n1_dEtaIn",baseName+
" N1 #Delta#eta_{in}",nrBins,xMin,xMax,vsVarFunc,
97 histVec.push_back(
new MonElemFloat(baseName+
"_n1_dPhiIn",baseName+
" N1 #Delta#phi_{in}",nrBins,xMin,xMax,vsVarFunc,
99 histVec.push_back(
new MonElemFloat(baseName+
"_n1_sigmaIEtaIEta",baseName+
" N1 #sigma_{#ieta#ieta}",nrBins,xMin,xMax,vsVarFunc,
101 histVec.push_back(
new MonElemFloat(baseName+
"_n1_hOverE",baseName+
" N1 H/E",nrBins,xMin,xMax,vsVarFunc,
104 histVec.push_back(
new MonElemFloat(baseName+
"_n1_isolEm",baseName+
" N1 Isol Em",nrBins,xMin,xMax,vsVarFunc,
106 histVec.push_back(
new MonElemFloat(baseName+
"_n1_isolHad",baseName+
" N1 Isol Had",nrBins,xMin,xMax,vsVarFunc,
108 histVec.push_back(
new MonElemFloat(baseName+
"_n1_isolPtTrks",baseName+
" N1 Isol Tracks",nrBins,xMin,xMax,vsVarFunc,
110 histVec.push_back(
new MonElemFloat(baseName+
"_n1_hltIsolHad",baseName+
" N1 HLT Isol Had",nrBins,xMin,xMax,vsVarFunc,
112 histVec.push_back(
new MonElemFloat(baseName+
"_n1_hltIsolTrksEle",baseName+
" N1 HLT Isol Tracks Ele ",nrBins,xMin,xMax,vsVarFunc,
116 histVec.push_back(
new MonElemFloat(baseName+
"_single_dEtaIn",baseName+
" Single #Delta#eta_{in}",nrBins,xMin,xMax,vsVarFunc,
118 histVec.push_back(
new MonElemFloat(baseName+
"_single_dPhiIn",baseName+
" Single #Delta#phi_{in}",nrBins,xMin,xMax,vsVarFunc,
120 histVec.push_back(
new MonElemFloat(baseName+
"_single_sigmaIEtaIEta",baseName+
" Single #sigma_{#ieta#ieta}",nrBins,xMin,xMax,vsVarFunc,
122 histVec.push_back(
new MonElemFloat(baseName+
"_single_hOverE",baseName+
" Single H/E",nrBins,xMin,xMax,vsVarFunc,
126 histVec.push_back(
new MonElemFloat(baseName+
"_single_isolEm",baseName+
" Single Isol Em",nrBins,xMin,xMax,vsVarFunc,
128 histVec.push_back(
new MonElemFloat(baseName+
"_single_isolHad",baseName+
" Single Isol Had",nrBins,xMin,xMax,vsVarFunc,
130 histVec.push_back(
new MonElemFloat(baseName+
"_single_isolPtTrks",baseName+
" Single Isol Tracks",nrBins,xMin,xMax,vsVarFunc,
133 histVec.push_back(
new MonElemFloat(baseName+
"_single_hltIsolHad",baseName+
" Single HLT Isol Had",nrBins,xMin,xMax,vsVarFunc,
135 histVec.push_back(
new MonElemFloat(baseName+
"_single_hltIsolTrksEle",baseName+
" Single HLT Isol Tracks Ele ",nrBins,xMin,xMax,vsVarFunc,
137 histVec.push_back(
new MonElemFloat(baseName+
"_single_hltIsolTrksPho",baseName+
" Single HLT Isol Tracks Pho ",nrBins,xMin,xMax,vsVarFunc,
147 int stdCutCode = masks.
stdPho;
149 histVec.push_back(
new MonElemFloat(baseName+
"_noCuts",baseName+
" NoCuts",nrBins,xMin,xMax,vsVarFunc));
150 histVec.push_back(
new MonElemFloat(baseName+
"_allCuts",baseName+
" All Cuts",nrBins,xMin,xMax,vsVarFunc,
154 histVec.push_back(
new MonElemFloat(baseName+
"_n1_sigmaIEtaIEta",baseName+
" N1 #sigma_{#ieta#ieta}",nrBins,xMin,xMax,vsVarFunc,
156 histVec.push_back(
new MonElemFloat(baseName+
"_n1_hOverE",baseName+
" N1 H/E",nrBins,xMin,xMax,vsVarFunc,
158 histVec.push_back(
new MonElemFloat(baseName+
"_n1_r9",baseName+
" N1 R9",nrBins,xMin,xMax,vsVarFunc,
160 histVec.push_back(
new MonElemFloat(baseName+
"_n1_isolEm",baseName+
" N1 Isol Em",nrBins,xMin,xMax,vsVarFunc,
162 histVec.push_back(
new MonElemFloat(baseName+
"_n1_isolHad",baseName+
" N1 Isol Had",nrBins,xMin,xMax,vsVarFunc,
164 histVec.push_back(
new MonElemFloat(baseName+
"_n1_isolPtTrks",baseName+
" N1 Pt Isol Tracks",nrBins,xMin,xMax,vsVarFunc,
166 histVec.push_back(
new MonElemFloat(baseName+
"_n1_isolNrTrks",baseName+
" N1 Nr Isol Tracks",nrBins,xMin,xMax,vsVarFunc,
169 histVec.push_back(
new MonElemFloat(baseName+
"_single_sigmaIEtaIEta",baseName+
" Single #sigma_{#ieta#ieta}",nrBins,xMin,xMax,vsVarFunc,
171 histVec.push_back(
new MonElemFloat(baseName+
"_single_hltIsolHad",baseName+
" N1 HLT Isol Had",nrBins,xMin,xMax,vsVarFunc,
173 histVec.push_back(
new MonElemFloat(baseName+
"_single_hltIsolTrksPho",baseName+
" N1 HLT Isol Tracks Pho ",nrBins,xMin,xMax,vsVarFunc,
185 baseName+
" E_{T};E_{T} (GeV)",
188 baseName+
" #eta;#eta",
192 baseName+
" #phi;#phi (rad)",
196 baseName+
" Charge; charge",
206 for(
size_t trigNr=0;trigNr<tightLooseTrigs.size();trigNr++){
208 boost::split(splitString,tightLooseTrigs[trigNr],boost::is_any_of(std::string(
":")));
209 if(splitString.size()!=2)
continue;
210 const std::string& tightTrig = splitString[0];
211 const std::string& looseTrig = splitString[1];
223 for(
size_t trigNr=0;trigNr<tightLooseTrigs.size();trigNr++){
225 boost::split(splitString,tightLooseTrigs[trigNr],boost::is_any_of(std::string(
":")));
226 if(splitString.size()!=2)
continue;
227 const std::string& tightTrig = splitString[0];
228 const std::string& looseTrig = splitString[1];
243 const std::string& tightTrig,
const std::string& looseTrig,
245 const std::string& histId,
const BinData& bins)
262 eleMonElems.push_back(passMonElem);
263 eleMonElems.push_back(failMonElem);
269 const std::string& tightTrig,
const std::string& looseTrig,
271 const std::string& histId,
const BinData& bins)
288 phoMonElems.push_back(passMonElem);
289 phoMonElems.push_back(failMonElem);
297 for(
size_t trigNr=0;trigNr<tightLooseTrigs.size();trigNr++){
299 boost::split(splitString,tightLooseTrigs[trigNr],boost::is_any_of(std::string(
":")));
300 if(splitString.size()!=2)
continue;
301 const std::string& tightTrig = splitString[0];
302 const std::string& looseTrig = splitString[1];
311 for(
size_t trigNr=0;trigNr<tightLooseTrigs.size();trigNr++){
313 boost::split(splitString,tightLooseTrigs[trigNr],boost::is_any_of(std::string(
":")));
314 if(splitString.size()!=2)
continue;
315 const std::string& tightTrig = splitString[0];
316 const std::string& looseTrig = splitString[1];
326 for(
size_t trigNr=0;trigNr<tightLooseTrigs.size();trigNr++){
328 boost::split(splitString,tightLooseTrigs[trigNr],boost::is_any_of(std::string(
":")));
329 if(splitString.size()!=2)
continue;
330 const std::string& tightTrig = splitString[0];
331 const std::string& looseTrig = splitString[1];
341 for(
size_t trigNr=0;trigNr<tightLooseTrigs.size();trigNr++){
343 boost::split(splitString,tightLooseTrigs[trigNr],boost::is_any_of(std::string(
":")));
344 if(splitString.size()!=2)
continue;
345 const std::string& tightTrig = splitString[0];
346 const std::string& looseTrig = splitString[1];
359 for(
size_t filterNr=0;filterNr<filterNames.size();filterNr++){
361 std::string trigName(filterNames[filterNr]);
371 eleMonElems.push_back(monElemCont);
float hltIsolTrks() const
float e1x5Over5x5() const
float e2x5MaxOver5x5() const
static TrigBitSet getCode(const std::string &descript)
void initStdEleHists(std::vector< MonElemManagerBase< OffEle > * > &histVec, const std::string &baseName, const BinData &bins)
const std::string & name() const
void initTightLooseTrigHists(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins, EgHLTDQMCut< OffEle > *eleCut)
void initTightLooseDiObjTrigHistsTrigCuts(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins)
int trigCutsCutCode(const TrigCodes::TrigBitSet &trigger) const
std::vector< std::string > splitString(const std::string &fLine)
void initStdEleCutHists(std::vector< MonElemWithCutBase< OffEle > * > &histVec, const std::string &baseName, const BinData &bins, EgHLTDQMCut< OffEle > *cut=NULL)
void initTrigTagProbeHists(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::vector< std::string > filterNames, int cutMask, const BinData &bins)
float sigmaIEtaIEta() const
virtual EgHLTDQMCut< T > * clone() const =0
float e2x5MaxOver5x5() const
float sigmaIEtaIEta() const
float hltIsolTrksPho() const
float hltIsolTrksEle() const
int trigCutsCutCode(const TrigCodes::TrigBitSet &trigger) const
std::vector< MonElemManagerBase< T > * > & monElems()
void addTightLooseTrigHist(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::string &tightTrig, const std::string &looseTrig, EgHLTDQMCut< OffEle > *eleCut, const std::string &histId, const BinData &bins)
void initStdPhoHists(std::vector< MonElemManagerBase< OffPho > * > &histVec, const std::string &baseName, const BinData &bins)
void initStdEffHists(std::vector< MonElemWithCutBase< OffEle > * > &histVec, const std::string &baseName, int nrBins, double xMin, double xMax, float(OffEle::*vsVarFunc)() const, const CutMasks &masks)
float e1x5Over5x5() const
void initTightLooseTrigHistsTrigCuts(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins)
std::vector< MonElemWithCutBase< T > * > & cutMonElems()
static const uint32_t masks[]