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.

43 { return m_monitor; }

References m_monitor.

◆ getSubdetectorId()

int APVGain::APVmon::getSubdetectorId ( )
inline

Definition at line 35 of file APVGainHelpers.h.

35 { return m_subdetectorId; }

References m_subdetectorId.

◆ getSubdetectorPlane()

int APVGain::APVmon::getSubdetectorPlane ( )
inline

Definition at line 39 of file APVGainHelpers.h.

39 { return m_subdetectorPlane; }

References m_subdetectorPlane.

◆ getSubdetectorSide()

int APVGain::APVmon::getSubdetectorSide ( )
inline

Definition at line 37 of file APVGainHelpers.h.

37 { return m_subdetectorSide; }

References m_subdetectorSide.

◆ getThickness()

int APVGain::APVmon::getThickness ( )
inline

Definition at line 41 of file APVGainHelpers.h.

41 { return m_thickness; }

References m_thickness.

◆ printAll()

void APVGain::APVmon::printAll ( )
inline

Definition at line 45 of file APVGainHelpers.h.

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  }

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

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().

V0Monitor_cff.v0
v0
Definition: V0Monitor_cff.py:7
APVGain::APVmon::m_monitor
MonitorElement * m_monitor
Definition: APVGainHelpers.h:59
APVGain::APVmon::m_subdetectorId
int m_subdetectorId
Definition: APVGainHelpers.h:56
APVGain::APVmon::m_thickness
int m_thickness
Definition: APVGainHelpers.h:55
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
APVGain::APVmon::m_subdetectorPlane
int m_subdetectorPlane
Definition: APVGainHelpers.h:58
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:57