1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMWITHCUT
2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMWITHCUT
36 template <
class T,
typename varTypeX,
typename varTypeY = varTypeX>
53 varTypeX (
T::*varFunc)()
const,
66 varTypeX (
T::*varFuncX)()
const,
67 varTypeY (
T::*varFuncY)()
const,
70 iBooker, name, title, nrBinsX, xMin, xMax, nrBinsY, yMin, yMax, varFuncX, varFuncY)),
77 template <
class T,
typename varTypeX,
typename varTypeY>
85 template <
class T,
typename varTypeX,
typename varTypeY>
87 if (cut_ ==
nullptr || cut_->pass(obj, evt))
88 monElemMgr_->fill(obj, weight);
MonElemWithCut & operator=(const MonElemWithCut &rhs)
const EgHLTDQMCut< T > * cut_
MonElemManagerBase< T > * monElemMgr_
void fill(const T &obj, const OffEvt &evt, float weight) override
MonElemWithCut(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, const EgHLTDQMCut< T > *cut=NULL)
MonElemWithCut(DQMStore::IBooker &iBooker, const std::string &name, const std::string &title, int nrBins, double xMin, double xMax, varTypeX(T::*varFunc)() const, const EgHLTDQMCut< T > *cut=NULL)
virtual void fill(const T &obj, const OffEvt &evt, float weight)=0
MonElemWithCutBase & operator=(const MonElemWithCutBase &rhs)
MonElemWithCut(const MonElemWithCut &rhs)
virtual ~MonElemWithCutBase()=default
MonElemWithCutBase()=default
~MonElemWithCut() override