1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMMGREBEE
2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMMGREBEE
29 barrel_(name+
"_eb",
"Barrel "+title,nrBins,min,max,varFunc),
30 endcap_(name+
"_ee",
"Endcap "+title,nrBins,min,max,varFunc){}
40 if(fabs(obj.detEta())<1.5) barrel_.fill(obj,weight);
41 else endcap_.fill(obj,weight);
55 MonElemMgr2DEBEE(
const std::string& name,
const std::string& title,
int nrBinsX,
double xMin,
double xMax,
int nrBinsY,
double yMin,
double yMax,
56 varTypeX (
T::*varFuncX)()
const,varTypeY (
T::*varFuncY)()
const):
57 barrel_(name+
"_eb",
"Barrel "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY),
58 endcap_(name+
"_ee",
"Endcap "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY){}
68 if(fabs(obj.detEta())<1.5) barrel_.fill(obj,weight);
69 else endcap_.fill(obj,weight);
MonElemManager< T, varType > barrel_
MonElemManager2D< T, varTypeX, varTypeY > barrel_
const T & max(const T &a, const T &b)
void fill(const T &obj, float weight)
MonElemManager< T, varType > endcap_
MonElemManager2D< T, varTypeX, varTypeY > endcap_
MonElemMgr2DEBEE(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)
MonElemMgrEBEE(const std::string &name, const std::string &title, int nrBins, float min, float max, varType(T::*varFunc)() const)