ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
MdtChamberTypeInfo Class Reference

Simple data class that holds the MDT chamber type information: number of multilayers, number of layers, number of tubes. More...

#include <MdtChamberTypeInfo.h>

Collaboration diagram for MdtChamberTypeInfo:

Public Member Functions

 MdtChamberTypeInfo (unsigned int nMul, unsigned int nLay, unsigned int nTub)
 Full initialise the chamber type info with number of multilayers (nMul), number of layers (nLay) and number of tubes (nTub) More...
 
bool operator== (const MdtChamberTypeInfo &rhs) const
 comparison operator More...
 
unsigned int nMultilayers () const
 Return the number of multilayers in the chamber. More...
 
unsigned int nLayers () const
 Return the number of layers per multilayer. More...
 
unsigned int nTubes () const
 Return the number of tubes per layer. More...
 
unsigned int nTotalTubes () const
 Return the total number of tubes in the chamber. More...
 

Private Attributes

unsigned int m_nMultilayers
 
unsigned int m_nLayers
 
unsigned int m_nTubes
 

Detailed Description

Simple data class that holds the MDT chamber type information: number of multilayers, number of layers, number of tubes.

Definition at line 26 of file MdtChamberTypeInfo.h.

Constructor & Destructor Documentation

◆ MdtChamberTypeInfo()

MdtChamberTypeInfo::MdtChamberTypeInfo ( unsigned int  nMul,
unsigned int  nLay,
unsigned int  nTub 
)
inline

Full initialise the chamber type info with number of multilayers (nMul), number of layers (nLay) and number of tubes (nTub)

Definition at line 47 of file MdtChamberTypeInfo.h.

49  : m_nMultilayers(nMul), m_nLayers(nLay), m_nTubes(nTub)
50 {}

Member Function Documentation

◆ nLayers()

unsigned int MdtChamberTypeInfo::nLayers ( ) const
inline

Return the number of layers per multilayer.

Definition at line 65 of file MdtChamberTypeInfo.h.

65  {
66  return m_nLayers;
67 }

◆ nMultilayers()

unsigned int MdtChamberTypeInfo::nMultilayers ( ) const
inline

Return the number of multilayers in the chamber.

Definition at line 60 of file MdtChamberTypeInfo.h.

60  {
61  return m_nMultilayers;
62 }

◆ nTotalTubes()

unsigned int MdtChamberTypeInfo::nTotalTubes ( ) const
inline

Return the total number of tubes in the chamber.

Definition at line 75 of file MdtChamberTypeInfo.h.

75  {
77 }

◆ nTubes()

unsigned int MdtChamberTypeInfo::nTubes ( ) const
inline

Return the number of tubes per layer.

Definition at line 70 of file MdtChamberTypeInfo.h.

70  {
71  return m_nTubes;
72 }

◆ operator==()

bool MdtChamberTypeInfo::operator== ( const MdtChamberTypeInfo rhs) const
inline

comparison operator

Definition at line 52 of file MdtChamberTypeInfo.h.

52  {
53  return
55  m_nLayers == rhs.m_nLayers &&
56  m_nTubes == rhs.m_nTubes;
57 }

Member Data Documentation

◆ m_nLayers

unsigned int MdtChamberTypeInfo::m_nLayers
private

Definition at line 50 of file MdtChamberTypeInfo.h.

◆ m_nMultilayers

unsigned int MdtChamberTypeInfo::m_nMultilayers
private

Definition at line 49 of file MdtChamberTypeInfo.h.

◆ m_nTubes

unsigned int MdtChamberTypeInfo::m_nTubes
private

Definition at line 51 of file MdtChamberTypeInfo.h.


The documentation for this class was generated from the following file:
MdtChamberTypeInfo::m_nMultilayers
unsigned int m_nMultilayers
Definition: MdtChamberTypeInfo.h:49
MdtChamberTypeInfo::m_nLayers
unsigned int m_nLayers
Definition: MdtChamberTypeInfo.h:50
MdtChamberTypeInfo::m_nTubes
unsigned int m_nTubes
Definition: MdtChamberTypeInfo.h:51