1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMMGRHEP 2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMMGRHEP 7 template <
class T,
typename varType>
21 : hep17_(iBooker, name +
"_hep17",
"hep " + title, nrBins, min, max, varFunc),
22 hem17_(iBooker, name +
"_hem17",
"hem " + title, nrBins, min, max, varFunc) {}
29 template <
class T,
typename varType>
31 if (obj.detEta() < 3.0 && obj.detEta() > 1.3 && obj.phi() < -0.52 && obj.phi() > -0.87)
32 hep17_.
fill(obj, weight);
33 if (obj.detEta() > -3.0 && obj.detEta() < -1.3 && obj.phi() < -0.52 && obj.phi() > -0.87)
34 hem17_.
fill(obj, weight);
37 template <
class T,
typename varTypeX,
typename varTypeY>
53 varTypeX (
T::*varFuncX)()
const,
54 varTypeY (
T::*varFuncY)()
const)
56 iBooker, name +
"_hep17",
"Hep17 " + title, nrBinsX, xMin, xMax, nrBinsY, yMin, yMax, varFuncX, varFuncY),
58 iBooker, name +
"_hem17",
"Hem17 " + title, nrBinsX, xMin, xMax, nrBinsY, yMin, yMax, varFuncX, varFuncY) {
66 template <
class T,
typename varTypeX,
typename varTypeY>
68 if (obj.detEta() < 3.0 && obj.detEta() > 1.3 && obj.phi() < -0.52 && obj.phi() > -0.87)
69 hep17_.
fill(obj, weight);
70 if (obj.detEta() > -3.0 && obj.detEta() < -1.3 && obj.phi() < -0.52 && obj.phi() > -0.87)
71 hem17_.
fill(obj, weight);
~MonElemMgrHEP() override
MonElemManager2D< T, varTypeX, varTypeY > hep17_
MonElemManager< T, varType > hem17_
MonElemMgr2DHEP(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)
void fill(const T &obj, float weight) override
MonElemManager< T, varType > hep17_
MonElemMgrHEP(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) override
void fill(const T &obj, float weight)
void fill(const T &obj, float weight) override
MonElemManager2D< T, varTypeX, varTypeY > hem17_