|
|
Go to the documentation of this file. 1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMFUNCS
2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMFUNCS
22 #include <boost/algorithm/string.hpp>
56 float (
OffEle::*vsVarFunc)()
const,
62 float (
OffEle::*vsVarFunc)()
const,
70 float (
OffPho::*vsVarFunc)()
const,
76 float (
OffPho::*vsVarFunc)()
const,
101 const std::vector<std::string>& tightLooseTrigs,
105 const std::vector<std::string>& tightLooseTrigs,
110 const std::vector<std::string>& tightLooseTrigs,
113 const std::vector<std::string>& tightLooseTrigs,
131 const std::vector<std::string>& tightLooseTrigs,
134 const std::vector<std::string>& tightLooseTrigs,
139 const std::vector<std::string>& filterNames,
143 const std::vector<std::string>& filterNames,
159 template <
class T,
typename varType>
169 template <
class T,
typename varType>
195 tightTrig +
"_" + looseTrig +
"_" + histId +
"_passTrig",
198 addStdHist<T, float>(passEtMonElem->
monElems(),
199 passEtMonElem->
name() +
"_etUnCut",
200 passEtMonElem->
name() +
" E_{T} (Uncut);E_{T} (GeV)",
206 tightTrig +
"_" + looseTrig +
"_" + histId +
"_failTrig",
209 addStdHist<T, float>(failEtMonElem->monElems(),
210 failEtMonElem->name() +
"_etUnCut",
211 failEtMonElem->name() +
" E_{T} (Uncut);E_{T} (GeV)",
215 monElems.push_back(passEtMonElem);
216 monElems.push_back(failEtMonElem);
222 const std::vector<std::string>& tightLooseTrigs,
225 for (
size_t trigNr = 0; trigNr < tightLooseTrigs.size(); trigNr++) {
236 if (trigNr != tightLooseTrigs.size() - 2)
DQMStore::IBooker & iBooker
MonElemFuncs(DQMStore::IBooker &i, const TrigCodes &c)
void initTrigTagProbeHist_2Leg(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::string &filterName, int cutMask, const BinData &bins)
void initTrigTagProbeHist(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::string &filterName, int cutMask, const BinData &bins)
DQMStore::IBooker & getIB()
void initTightLooseTrigHists(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins, EgHLTDQMCut< OffEle > *eleCut)
std::vector< std::string > splitString(const std::string &fLine)
void addStdHistHEP(std::vector< MonElemManagerBase< T > * > &histVec, const std::string &name, const std::string &title, const BinData::Data1D &binData, varType(T::*varFunc)() const)
const std::string & name() const
std::vector< std::string_view > split(std::string_view, const char *)
void initTightLooseTrigHistsTrigCuts(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins)
void initStdPhoHistsHEP(std::vector< MonElemManagerBase< OffPho > * > &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins)
void initTightLooseDiObjTrigHistsTrigCuts(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins)
dqm::legacy::DQMStore DQMStore
void initStdEleCutHists(std::vector< MonElemWithCutBase< OffEle > * > &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins, EgHLTDQMCut< OffEle > *cut=nullptr)
void initStdPhoCutHists(std::vector< MonElemWithCutBase< OffPho > * > &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins, EgHLTDQMCut< OffPho > *cut=nullptr)
const TrigCodes & trigCodes
void addStdHist(std::vector< MonElemManagerBase< T > * > &histVec, const std::string &name, const std::string &title, const BinData::Data1D &binData, varType(T::*varFunc)() const)
TrigBitSet getCode(const char *descript) const
void initTightLooseTrigHists(std::vector< MonElemContainer< T > * > &monElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins, const std::string &objName)
void initStdPhoHists(std::vector< MonElemManagerBase< OffPho > * > &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins)
std::vector< MonElemManagerBase< T > * > & monElems()
void initStdEleHistsHEP(std::vector< MonElemManagerBase< OffEle > * > &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins)
void initStdEffHists(std::vector< MonElemWithCutBase< OffEle > * > &histVec, const std::string &filterName, const std::string &baseName, int nrBins, double xMin, double xMax, float(OffEle::*vsVarFunc)() const, const CutMasks &masks)
dqm::legacy::MonitorElement MonitorElement
void addTightLooseTrigHist(std::vector< MonElemContainer< T > * > &monElems, const std::string &tightTrig, const std::string &looseTrig, const std::string &histId, const BinData &bins)
void initTrigTagProbeHists(std::vector< MonElemContainer< OffEle > * > &eleMonElems, const std::vector< std::string > &filterNames, int cutMask, const BinData &bins)
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 initStdEleHists(std::vector< MonElemManagerBase< OffEle > * > &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins)