1 #ifndef DQMOffline_Trigger_HLTDQMHist_h 2 #define DQMOffline_Trigger_HLTDQMHist_h 33 template <
typename ObjType>
48 template <
typename ObjType,
typename ValType>
73 std::function<ValType(const ObjType&)>
var_;
79 template <
typename ObjType,
typename XValType,
typename YValType = XValType>
111 std::function<XValType(const ObjType&)>
xVar_;
112 std::function<YValType(const ObjType&)>
yVar_;
119 #endif // DQMOffline_Trigger_HLTDQMHist_h
virtual void fill(const ObjType &objType, const edm::Event &event, const edm::EventSetup &setup, const VarRangeCutColl< ObjType > &rangeCuts)=0
HLTDQMHist1D(MonitorElement *me_ptr, std::string varName, std::function< ValType(const ObjType &)> func, VarRangeCutColl< ObjType > rangeCuts)
virtual ~HLTDQMHist()=default
std::function< XValType(const ObjType &)> xVar_
std::function< ValType(const ObjType &)> var_
MonitorElement *const me_ptr_
VarRangeCutColl< ObjType > localRangeCuts_
void fill(const ObjType &obj, const edm::Event &event, const edm::EventSetup &setup, const VarRangeCutColl< ObjType > &globalRangeCuts) override
MonitorElement *const me_ptr_
dqm::legacy::MonitorElement MonitorElement
void fill(const ObjType &obj, const edm::Event &event, const edm::EventSetup &setup, const VarRangeCutColl< ObjType > &globalRangeCuts) override
std::function< YValType(const ObjType &)> yVar_
HLTDQMHist2D(MonitorElement *me_ptr, std::string xVarName, std::string yVarName, std::function< XValType(const ObjType &)> xFunc, std::function< YValType(const ObjType &)> yFunc, VarRangeCutColl< ObjType > rangeCuts)
VarRangeCutColl< ObjType > localRangeCuts_
dqm::legacy::MonitorElement MonitorElement