1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMWITHCUTEBEE 2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMWITHCUTEBEE 31 varType (
T::*varFunc)()
const):
32 barrel_(iBooker,name+
"_eb",
"Barrel "+title,nrBins,min,max,varFunc,
nullptr),
33 endcap_(iBooker,name+
"_ee",
"Endcap "+title,nrBins,min,max,varFunc,
nullptr){}
37 barrel_(iBooker,name+
"_eb",
"Barrel "+title,nrBins,min,max,varFunc,cut),
38 endcap_(iBooker,name+
"_ee",
"Endcap "+title,nrBins,min,max,varFunc,cut ? cut->
clone() :
nullptr){}
48 if(std::fabs(obj.detEta())<1.5) barrel_.
fill(obj,evt,weight);
49 else endcap_.
fill(obj,evt,weight);
void fill(const T &obj, const OffEvt &evt, float weight) override
MonElemWithCutEBEE(DQMStore::IBooker &iBooker, const std::string &name, const std::string &title, int nrBins, float min, float max, varType(T::*varFunc)() const, const EgHLTDQMCut< T > *cut)
MonElemWithCutEBEE(DQMStore::IBooker &iBooker, const std::string &name, const std::string &title, int nrBins, float min, float max, varType(T::*varFunc)() const)
MonElemWithCut< T, varType > endcap_
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
void fill(const T &obj, const OffEvt &evt, float weight) override
~MonElemWithCutEBEE() override=default
MonElemWithCut< T, varType > barrel_