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 v0, int v1, int v2, int v3, MonitorElement *v4)
 
MonitorElementgetMonitor ()
 
int getSubdetectorId ()
 
int getSubdetectorPlane ()
 
int getSubdetectorSide ()
 
int getThickness ()
 
void printAll ()
 

Private Attributes

MonitorElementm_monitor
 
int m_subdetectorId
 
int m_subdetectorPlane
 
int m_subdetectorSide
 
int m_thickness
 

Detailed Description

Definition at line 30 of file APVGainHelpers.h.

Constructor & Destructor Documentation

◆ APVmon()

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

Definition at line 32 of file APVGainHelpers.h.

Member Function Documentation

◆ getMonitor()

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

Definition at line 43 of file APVGainHelpers.h.

References m_monitor.

43 { return m_monitor; }
MonitorElement * m_monitor

◆ getSubdetectorId()

int APVGain::APVmon::getSubdetectorId ( )
inline

Definition at line 35 of file APVGainHelpers.h.

References m_subdetectorId.

35 { return m_subdetectorId; }

◆ getSubdetectorPlane()

int APVGain::APVmon::getSubdetectorPlane ( )
inline

Definition at line 39 of file APVGainHelpers.h.

References m_subdetectorPlane.

39 { return m_subdetectorPlane; }

◆ getSubdetectorSide()

int APVGain::APVmon::getSubdetectorSide ( )
inline

Definition at line 37 of file APVGainHelpers.h.

References m_subdetectorSide.

37 { return m_subdetectorSide; }

◆ getThickness()

int APVGain::APVmon::getThickness ( )
inline

Definition at line 41 of file APVGainHelpers.h.

References m_thickness.

41 { return m_thickness; }

◆ printAll()

void APVGain::APVmon::printAll ( )
inline

Definition at line 45 of file APVGainHelpers.h.

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

45  {
46  LogDebug("APVGainHelpers") << "subDetectorID:" << m_subdetectorId << std::endl;
47  LogDebug("APVGainHelpers") << "subDetectorSide:" << m_subdetectorSide << std::endl;
48  LogDebug("APVGainHelpers") << "subDetectorPlane:" << m_subdetectorPlane << std::endl;
49  LogDebug("APVGainHelpers") << "thickness:" << m_thickness << std::endl;
50  LogDebug("APVGainHelpers") << "histoName:" << m_monitor->getName() << std::endl;
51  return;
52  }
MonitorElement * m_monitor
const std::string & getName() const
get name of ME
#define LogDebug(id)

Member Data Documentation

◆ m_monitor

MonitorElement* APVGain::APVmon::m_monitor
private

Definition at line 59 of file APVGainHelpers.h.

Referenced by getMonitor(), and printAll().

◆ m_subdetectorId

int APVGain::APVmon::m_subdetectorId
private

Definition at line 56 of file APVGainHelpers.h.

Referenced by getSubdetectorId(), and printAll().

◆ m_subdetectorPlane

int APVGain::APVmon::m_subdetectorPlane
private

Definition at line 58 of file APVGainHelpers.h.

Referenced by getSubdetectorPlane(), and printAll().

◆ m_subdetectorSide

int APVGain::APVmon::m_subdetectorSide
private

Definition at line 57 of file APVGainHelpers.h.

Referenced by getSubdetectorSide(), and printAll().

◆ m_thickness

int APVGain::APVmon::m_thickness
private

Definition at line 55 of file APVGainHelpers.h.

Referenced by getThickness(), and printAll().