1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMWITHCUTEBEE
2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMWITHCUTEBEE
30 barrel_(name+
"_eb",
"Barrel "+title,nrBins,min,max,varFunc,
NULL),
31 endcap_(name+
"_ee",
"Endcap "+title,nrBins,min,max,varFunc,
NULL){}
35 barrel_(name+
"_eb",
"Barrel "+title,nrBins,min,max,varFunc,cut),
36 endcap_(name+
"_ee",
"Endcap "+title,nrBins,min,max,varFunc,cut ? cut->
clone() :
NULL){}
46 if(fabs(obj.detEta())<1.5) barrel_.fill(obj,evt,weight);
47 else endcap_.fill(obj,evt,weight);
void fill(const T &obj, const OffEvt &evt, float weight)
MonElemWithCutEBEE(const std::string &name, const std::string &title, int nrBins, float min, float max, varType(T::*varFunc)() const)
MonElemWithCut< T, varType > endcap_
MonElemWithCutEBEE(const std::string &name, const std::string &title, int nrBins, float min, float max, varType(T::*varFunc)() const, const EgHLTDQMCut< T > *cut)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
MonElemWithCut< T, varType > barrel_