1 #ifndef DQMOFFLINE_TRIGGER_EGHLTMONELEMWITHCUT
2 #define DQMOFFLINE_TRIGGER_EGHLTMONELEMWITHCUT
58 monElemMgr_(new
MonElemManager2D<
T,varTypeX,varTypeY>(name,title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY)),
66 template<
class T,
typename varTypeX,
typename varTypeY>
70 if(monElemMgr_)
delete monElemMgr_;
73 template<
class T,
typename varTypeX,
typename varTypeY>
76 if(cut_==
NULL || cut_->pass(obj,evt)) monElemMgr_->fill(obj,weight);
MonElemWithCutBase(const MonElemWithCutBase &rhs)
void fill(const T &obj, const OffEvt &evt, float weight)
virtual ~MonElemWithCutBase()
MonElemWithCut & operator=(const MonElemWithCut &rhs)
const EgHLTDQMCut< T > * cut_
MonElemManagerBase< T > * monElemMgr_
MonElemWithCut(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 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(const MonElemWithCut &rhs)