CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
APVGain::APVmon Struct Reference

#include <APVGainHelpers.h>

Public Member Functions

 APVmon (int v1, int v2, int v3, MonitorElement *v4)
 
MonitorElementgetMonitor ()
 
int getSubdetectorId ()
 
int getSubdetectorPlane ()
 
int getSubdetectorSide ()
 
void printAll ()
 

Private Attributes

MonitorElementm_monitor
 
int m_subdetectorId
 
int m_subdetectorPlane
 
int m_subdetectorSide
 

Detailed Description

Definition at line 28 of file APVGainHelpers.h.

Constructor & Destructor Documentation

◆ APVmon()

APVGain::APVmon::APVmon ( int  v1,
int  v2,
int  v3,
MonitorElement v4 
)
inline

Definition at line 30 of file APVGainHelpers.h.

Member Function Documentation

◆ getMonitor()

MonitorElement* APVGain::APVmon::getMonitor ( )
inline

Definition at line 39 of file APVGainHelpers.h.

39 { return m_monitor; }

References m_monitor.

◆ getSubdetectorId()

int APVGain::APVmon::getSubdetectorId ( )
inline

Definition at line 33 of file APVGainHelpers.h.

33 { return m_subdetectorId; }

References m_subdetectorId.

◆ getSubdetectorPlane()

int APVGain::APVmon::getSubdetectorPlane ( )
inline

Definition at line 37 of file APVGainHelpers.h.

37 { return m_subdetectorPlane; }

References m_subdetectorPlane.

◆ getSubdetectorSide()

int APVGain::APVmon::getSubdetectorSide ( )
inline

Definition at line 35 of file APVGainHelpers.h.

35 { return m_subdetectorSide; }

References m_subdetectorSide.

◆ printAll()

void APVGain::APVmon::printAll ( )
inline

Definition at line 41 of file APVGainHelpers.h.

41  {
42  LogDebug("APVGainHelpers") << "subDetectorID:" << m_subdetectorId << std::endl;
43  LogDebug("APVGainHelpers") << "subDetectorSide:" << m_subdetectorSide << std::endl;
44  LogDebug("APVGainHelpers") << "subDetectorPlane:" << m_subdetectorPlane << std::endl;
45  LogDebug("APVGainHelpers") << "histoName:" << m_monitor->getName() << std::endl;
46  return;
47  }

References dqm::impl::MonitorElement::getName(), LogDebug, m_monitor, m_subdetectorId, m_subdetectorPlane, and m_subdetectorSide.

Member Data Documentation

◆ m_monitor

MonitorElement* APVGain::APVmon::m_monitor
private

Definition at line 53 of file APVGainHelpers.h.

Referenced by getMonitor(), and printAll().

◆ m_subdetectorId

int APVGain::APVmon::m_subdetectorId
private

Definition at line 50 of file APVGainHelpers.h.

Referenced by getSubdetectorId(), and printAll().

◆ m_subdetectorPlane

int APVGain::APVmon::m_subdetectorPlane
private

Definition at line 52 of file APVGainHelpers.h.

Referenced by getSubdetectorPlane(), and printAll().

◆ m_subdetectorSide

int APVGain::APVmon::m_subdetectorSide
private

Definition at line 51 of file APVGainHelpers.h.

Referenced by getSubdetectorSide(), and printAll().

APVGain::APVmon::m_monitor
MonitorElement * m_monitor
Definition: APVGainHelpers.h:53
APVGain::APVmon::m_subdetectorId
int m_subdetectorId
Definition: APVGainHelpers.h:50
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
APVGain::APVmon::m_subdetectorPlane
int m_subdetectorPlane
Definition: APVGainHelpers.h:52
dqm::impl::MonitorElement::getName
const std::string & getName() const
get name of ME
Definition: MonitorElement.h:250
APVGain::APVmon::m_subdetectorSide
int m_subdetectorSide
Definition: APVGainHelpers.h:51