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 27 of file APVGainHelpers.h.

Constructor & Destructor Documentation

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

Definition at line 31 of file APVGainHelpers.h.

Member Function Documentation

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

Definition at line 46 of file APVGainHelpers.h.

References m_monitor.

46  {
47  return m_monitor;
48  }
MonitorElement * m_monitor
int APVGain::APVmon::getSubdetectorId ( )
inline

Definition at line 34 of file APVGainHelpers.h.

References m_subdetectorId.

34  {
35  return m_subdetectorId;
36  }
int APVGain::APVmon::getSubdetectorPlane ( )
inline

Definition at line 42 of file APVGainHelpers.h.

References m_subdetectorPlane.

42  {
43  return m_subdetectorPlane;
44  }
int APVGain::APVmon::getSubdetectorSide ( )
inline

Definition at line 38 of file APVGainHelpers.h.

References m_subdetectorSide.

38  {
39  return m_subdetectorSide;
40  }
void APVGain::APVmon::printAll ( )
inline

Definition at line 50 of file APVGainHelpers.h.

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

50  {
51  LogDebug("APVGainHelpers")<< "subDetectorID:" << m_subdetectorId << std::endl;
52  LogDebug("APVGainHelpers")<< "subDetectorSide:" << m_subdetectorSide << std::endl;
53  LogDebug("APVGainHelpers")<< "subDetectorPlane:" << m_subdetectorPlane << std::endl;
54  LogDebug("APVGainHelpers")<< "histoName:" << m_monitor->getName() << std::endl;
55  return;
56  }
#define LogDebug(id)
MonitorElement * m_monitor
const std::string & getName() const
get name of ME

Member Data Documentation

MonitorElement* APVGain::APVmon::m_monitor
private

Definition at line 63 of file APVGainHelpers.h.

Referenced by getMonitor(), and printAll().

int APVGain::APVmon::m_subdetectorId
private

Definition at line 60 of file APVGainHelpers.h.

Referenced by getSubdetectorId(), and printAll().

int APVGain::APVmon::m_subdetectorPlane
private

Definition at line 62 of file APVGainHelpers.h.

Referenced by getSubdetectorPlane(), and printAll().

int APVGain::APVmon::m_subdetectorSide
private

Definition at line 61 of file APVGainHelpers.h.

Referenced by getSubdetectorSide(), and printAll().