CMS 3D CMS Logo

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

◆ ObjME()

TriggerDQMBase::ObjME::ObjME ( )
inline

Definition at line 24 of file TriggerDQMBase.h.

24 {}

◆ ~ObjME()

virtual TriggerDQMBase::ObjME::~ObjME ( )
inlinevirtual

Definition at line 25 of file TriggerDQMBase.h.

25 {}

Member Function Documentation

◆ fill()

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(), TopMonitor::analyze(), BTagAndProbe::analyze(), and ParticleNetJetTagMonitor::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

◆ denominator

MonitorElement* TriggerDQMBase::ObjME::denominator = nullptr

◆ numerator

MonitorElement* TriggerDQMBase::ObjME::numerator = nullptr