CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
TriggerDQMBase::ObjME Class Reference

#include <TriggerDQMBase.h>

Public Member Functions

template<typename... Args>
void fill (const bool pass_num, Args...args)
 
 ObjME ()
 
virtual ~ObjME ()
 

Public Attributes

MonitorElementdenominator = nullptr
 
MonitorElementnumerator = nullptr
 

Detailed Description

Definition at line 22 of file TriggerDQMBase.h.

Constructor & Destructor Documentation

TriggerDQMBase::ObjME::ObjME ( )
inline

Definition at line 24 of file TriggerDQMBase.h.

24 {}
virtual TriggerDQMBase::ObjME::~ObjME ( )
inlinevirtual

Definition at line 25 of file TriggerDQMBase.h.

25 {}

Member Function Documentation

template<typename... Args>
void TriggerDQMBase::ObjME::fill ( const bool  pass_num,
Args...  args 
)

Definition at line 87 of file TriggerDQMBase.h.

References writedatasetfile::args, denominator, dqm::impl::MonitorElement::Fill(), and numerator.

Referenced by NoBPTXMonitor::analyze(), and TopMonitor::analyze().

87  {
88  if (denominator) {
89  denominator->Fill(args...);
90  }
91 
92  if (fill_num and numerator) {
93  numerator->Fill(args...);
94  }
95 }
void Fill(long long x)
MonitorElement * denominator
MonitorElement * numerator

Member Data Documentation

MonitorElement* TriggerDQMBase::ObjME::denominator = nullptr
MonitorElement* TriggerDQMBase::ObjME::numerator = nullptr