1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMMGREBEE
2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMMGREBEE
24 template <
class T,
typename varType>
38 :
barrel_(iBooker, name +
"_eb",
"Barrel " + title, nrBins, min, max, varFunc),
39 endcap_(iBooker, name +
"_ee",
"Endcap " + title, nrBins, min, max, varFunc) {}
46 template <
class T,
typename varType>
48 if (std::fabs(obj.detEta()) < 1.5)
49 barrel_.fill(obj, weight);
51 endcap_.fill(obj, weight);
54 template <
class T,
typename varTypeX,
typename varTypeY>
70 varTypeX (
T::*varFuncX)()
const,
71 varTypeY (
T::*varFuncY)()
const)
73 iBooker, name +
"_eb",
"Barrel " + title, nrBinsX, xMin, xMax, nrBinsY, yMin, yMax, varFuncX, varFuncY),
75 iBooker, name +
"_ee",
"Endcap " + title, nrBinsX, xMin, xMax, nrBinsY, yMin, yMax, varFuncX, varFuncY) {}
82 template <
class T,
typename varTypeX,
typename varTypeY>
84 if (fabs(obj.detEta()) < 1.5)
85 barrel_.fill(obj, weight);
87 endcap_.fill(obj, weight);
MonElemManager2D< T, varTypeX, varTypeY > barrel_
MonElemManager2D< T, varTypeX, varTypeY > endcap_
~MonElemMgrEBEE() override=default
~MonElemMgr2DEBEE()=default
MonElemManager< T, varType > endcap_
void fill(const T &obj, float weight) override
MonElemMgrEBEE(DQMStore::IBooker &iBooker, const std::string &name, const std::string &title, int nrBins, float min, float max, varType(T::*varFunc)() const)
void fill(const T &obj, float weight)
MonElemMgr2DEBEE(DQMStore::IBooker &iBooker, const std::string &name, const std::string &title, int nrBinsX, double xMin, double xMax, int nrBinsY, double yMin, double yMax, varTypeX(T::*varFuncX)() const, varTypeY(T::*varFuncY)() const)
MonElemManager< T, varType > barrel_