1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMMGREBEE 2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMMGREBEE 31 barrel_(iBooker, name+
"_eb",
"Barrel "+title,nrBins,min,max,varFunc),
32 endcap_(iBooker, name+
"_ee",
"Endcap "+title,nrBins,min,max,varFunc){}
42 if(std::fabs(obj.detEta())<1.5) barrel_.
fill(obj,weight);
43 else endcap_.
fill(obj,weight);
58 varTypeX (
T::*varFuncX)()
const,varTypeY (
T::*varFuncY)()
const):
59 barrel_(iBooker, name+
"_eb",
"Barrel "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY),
60 endcap_(iBooker, name+
"_ee",
"Endcap "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY){}
70 if(fabs(obj.detEta())<1.5) barrel_.
fill(obj,weight);
71 else endcap_.
fill(obj,weight);
MonElemManager< T, varType > barrel_
void fill(const T &obj, float weight) override
~MonElemMgrEBEE() override=default
MonElemManager2D< T, varTypeX, varTypeY > barrel_
void fill(const T &obj, float weight) override
MonElemManager< T, varType > endcap_
MonElemMgrEBEE(DQMStore::IBooker &iBooker, const std::string &name, const std::string &title, int nrBins, float min, float max, varType(T::*varFunc)() const)
MonElemManager2D< T, varTypeX, varTypeY > endcap_
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)
void fill(const T &obj, float weight) override