ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
InDetDD::TRT_Numerology Class Reference

#include <TRT_Numerology.h>

Collaboration diagram for InDetDD::TRT_Numerology:

Public Member Functions

 TRT_Numerology ()
 
 ~TRT_Numerology ()=default
 
void setNBarrelLayers (unsigned int module, unsigned int nLayers)
 
void setNEndcapLayers (unsigned int wheel, unsigned int nLayers)
 
void setNBarrelRings (unsigned int ring)
 
void setNBarrelPhi (unsigned int phi)
 
void setNEndcapWheels (unsigned int wheel)
 
void setNEndcapPhi (unsigned int phi)
 
unsigned int getNBarrelLayers (unsigned int iMod) const
 
unsigned int getNEndcapLayers (unsigned int iWheel) const
 
unsigned int getNBarrelRings () const
 
unsigned int getNBarrelPhi () const
 
unsigned int getNEndcapWheels () const
 
unsigned int getNEndcapPhi () const
 

Private Attributes

unsigned int m_nlayerBarrel [3] {}
 
unsigned int m_nlayerEndcap [18] {}
 
unsigned int m_nringBarrel
 
unsigned int m_nphiBarrel
 
unsigned int m_nwheelEndcap
 
unsigned int m_nphiEndcap
 

Detailed Description

Helper class to organize the straw elements on TRT readout elements.

Definition at line 22 of file TRT_Numerology.h.

Constructor & Destructor Documentation

◆ TRT_Numerology()

InDetDD::TRT_Numerology::TRT_Numerology ( )

Definition at line 8 of file TRT_Numerology.cxx.

8  :
9  m_nringBarrel(0),
10  m_nphiBarrel(0),
11  m_nwheelEndcap(0),
12  m_nphiEndcap(0)
13 {
14  // Zero out the arrays
15  for (unsigned int & i : m_nlayerBarrel) {
16  i = 0;
17  }
18  for (unsigned int & j : m_nlayerEndcap) {
19  j = 0;
20  }
21 }

◆ ~TRT_Numerology()

InDetDD::TRT_Numerology::~TRT_Numerology ( )
default

Member Function Documentation

◆ getNBarrelLayers()

unsigned int InDetDD::TRT_Numerology::getNBarrelLayers ( unsigned int  iMod) const
inline

◆ getNBarrelPhi()

unsigned int InDetDD::TRT_Numerology::getNBarrelPhi ( ) const
inline

◆ getNBarrelRings()

unsigned int InDetDD::TRT_Numerology::getNBarrelRings ( ) const
inline

◆ getNEndcapLayers()

unsigned int InDetDD::TRT_Numerology::getNEndcapLayers ( unsigned int  iWheel) const
inline

◆ getNEndcapPhi()

unsigned int InDetDD::TRT_Numerology::getNEndcapPhi ( ) const
inline

◆ getNEndcapWheels()

unsigned int InDetDD::TRT_Numerology::getNEndcapWheels ( ) const
inline

◆ setNBarrelLayers()

void InDetDD::TRT_Numerology::setNBarrelLayers ( unsigned int  module,
unsigned int  nLayers 
)

Definition at line 25 of file TRT_Numerology.cxx.

25  {
26  m_nlayerBarrel[module]=nLayers;
27 }

◆ setNBarrelPhi()

void InDetDD::TRT_Numerology::setNBarrelPhi ( unsigned int  phi)

Definition at line 37 of file TRT_Numerology.cxx.

37  {
38  m_nphiBarrel = phi;
39 }

◆ setNBarrelRings()

void InDetDD::TRT_Numerology::setNBarrelRings ( unsigned int  ring)

Definition at line 33 of file TRT_Numerology.cxx.

33  {
34  m_nringBarrel = ring;
35 }

◆ setNEndcapLayers()

void InDetDD::TRT_Numerology::setNEndcapLayers ( unsigned int  wheel,
unsigned int  nLayers 
)

Definition at line 29 of file TRT_Numerology.cxx.

29  {
30  m_nlayerEndcap[wheel]=nLayers;
31 }

◆ setNEndcapPhi()

void InDetDD::TRT_Numerology::setNEndcapPhi ( unsigned int  phi)

Definition at line 45 of file TRT_Numerology.cxx.

45  {
46  m_nphiEndcap = phi;
47 }

◆ setNEndcapWheels()

void InDetDD::TRT_Numerology::setNEndcapWheels ( unsigned int  wheel)

Definition at line 41 of file TRT_Numerology.cxx.

41  {
42  m_nwheelEndcap = wheel;
43 }

Member Data Documentation

◆ m_nlayerBarrel

unsigned int InDetDD::TRT_Numerology::m_nlayerBarrel[3] {}
private

Definition at line 52 of file TRT_Numerology.h.

◆ m_nlayerEndcap

unsigned int InDetDD::TRT_Numerology::m_nlayerEndcap[18] {}
private

Definition at line 53 of file TRT_Numerology.h.

◆ m_nphiBarrel

unsigned int InDetDD::TRT_Numerology::m_nphiBarrel
private

Definition at line 56 of file TRT_Numerology.h.

◆ m_nphiEndcap

unsigned int InDetDD::TRT_Numerology::m_nphiEndcap
private

Definition at line 58 of file TRT_Numerology.h.

◆ m_nringBarrel

unsigned int InDetDD::TRT_Numerology::m_nringBarrel
private

Definition at line 55 of file TRT_Numerology.h.

◆ m_nwheelEndcap

unsigned int InDetDD::TRT_Numerology::m_nwheelEndcap
private

Definition at line 57 of file TRT_Numerology.h.


The documentation for this class was generated from the following files:
InDetDD::TRT_Numerology::m_nringBarrel
unsigned int m_nringBarrel
Definition: TRT_Numerology.h:55
xAOD::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
python.PyAthena.module
module
Definition: PyAthena.py:131
lumiFormat.i
int i
Definition: lumiFormat.py:85
InDetDD::TRT_Numerology::m_nwheelEndcap
unsigned int m_nwheelEndcap
Definition: TRT_Numerology.h:57
InDetDD::TRT_Numerology::m_nphiEndcap
unsigned int m_nphiEndcap
Definition: TRT_Numerology.h:58
InDetDD::TRT_Numerology::m_nlayerEndcap
unsigned int m_nlayerEndcap[18]
Definition: TRT_Numerology.h:53
InDetDD::TRT_Numerology::m_nlayerBarrel
unsigned int m_nlayerBarrel[3]
Definition: TRT_Numerology.h:52
InDetDD::TRT_Numerology::m_nphiBarrel
unsigned int m_nphiBarrel
Definition: TRT_Numerology.h:56