ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
MuonGM::TgcReadoutParams Class Reference

#include <TgcReadoutParams.h>

Inheritance diagram for MuonGM::TgcReadoutParams:
Collaboration diagram for MuonGM::TgcReadoutParams:

Public Types

enum  TgcReadoutArraySizes { MaxNGaps = 3, MaxNGangs = 180, MaxNStrips = 33 }
 
using GasGapIntArray = std::array< int, MaxNGaps >
 
using GasGapFloatArray = std::array< double, MaxNGaps >
 
using WiregangArray = std::array< int, MaxNGangs >
 
using StripArray = std::array< double, MaxNStrips >
 

Public Member Functions

 TgcReadoutParams ()
 Default constructor used by the MuonTPCnv tests. More...
 
 TgcReadoutParams (const std::string &name, int iCh, double WireSp, const int NCHRNG, GasGapIntArray &&numWireGangs, WiregangArray &&IWGS1, WiregangArray &&IWGS2, WiregangArray &&IWGS3, double PDIST, std::vector< StripArray > &&SLARGE, std::vector< StripArray > &&SSHORT, GasGapIntArray &&numStrips)
 Constructor implementing the strip layout per gasGap. More...
 
 ~TgcReadoutParams ()
 
const std::string & GetName () const
 
int chamberType () const
 
int nPhiChambers () const
 
int nGaps () const
 
double wirePitch () const
 Returns the wire pitch. More...
 
double gangThickness () const
 
int nWireGangs (int gasGap) const
 Returns the number of wire gangs. More...
 
int totalWires (int gasGap) const
 Returns the total number of wires in a given gang. More...
 
int nWires (int gasGap, int gang) const
 Returns the number of wires in a given gang. More...
 
int nSummedWires (int gasGap, int gang) const
 Returns the sum of all wires from gang [1 - i) More...
 
double nPitchesToGang (int gasGap, int gang) const
 Returns the number of wire pitches that have to be travelled to reach gang i. More...
 
double stripThickness () const
 
int nStrips (int gasGap) const
 
double physicalDistanceFromBase () const
 
double stripPositionOnLargeBase (int strip, int gasGap) const
 Returns the signed distance of the i-th's strip's left edge w.r.t the center of the bottom chamber edge. More...
 
double stripPositionOnShortBase (int strip, int gasGap) const
 Returns the signed distance of the i-th's strip's left edge w.r.t. More...
 
double stripCenter (int strip, int gasGap) const
 Returns the signed distance along the chamber edge of the strip expressed at the chamber center. More...
 
int nStripLayers () const
 Returns the number of defined strip layers. More...
 
bool msgLvl (const MSG::Level lvl) const
 Test the output level. More...
 
MsgStream & msg () const
 The standard message stream. More...
 
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream. More...
 
void setLevel (MSG::Level lvl)
 Change the current logging level. More...
 

Private Member Functions

bool invalidGasGap (int gasGap) const
 
bool invalidGang (int gang) const
 
void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

std::string m_chamberName {}
 
int m_chamberType {0}
 
double m_wirePitch {0.}
 
int m_nPhiChambers {0}
 
std::array< std::vector< int >, MaxNGapsm_nWires {}
 Map of number of wires in a given wire gang & gas gap. More...
 
std::array< std::vector< int >, MaxNGapsm_nAccWires {}
 Map describing the number of all wires up to gang i in gasgap j. More...
 
GasGapIntArray m_nStrips {make_array<int, MaxNGaps>(0)}
 
GasGapIntArray m_totalWires {make_array<int, MaxNGaps>(0)}
 
double m_physicalDistanceFromBase {-9999.}
 
std::vector< StripArraym_stripPositionOnLargeBase {}
 These 2 arrays represent the left edges of the i-th strip in a Tgc chamber The numbers are given as the signed distance along the chamber edge measured from the center of the top edge (Large base) or of the bottom edge (Short base) More...
 
std::vector< StripArraym_stripPositionOnShortBase {}
 
std::vector< StripArraym_stripPositionCenter {}
 The position of the strip center is defined as the intersector of the large and short edge strip position values. More...
 
std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

Static Private Attributes

static constexpr double m_gangThickness = 0.05 * Gaudi::Units::mm
 
static constexpr double m_stripThickness = 0.03 * Gaudi::Units::mm
 

Detailed Description

Definition at line 38 of file TgcReadoutParams.h.

Member Typedef Documentation

◆ GasGapFloatArray

Definition at line 44 of file TgcReadoutParams.h.

◆ GasGapIntArray

Definition at line 43 of file TgcReadoutParams.h.

◆ StripArray

using MuonGM::TgcReadoutParams::StripArray = std::array<double, MaxNStrips>

Definition at line 46 of file TgcReadoutParams.h.

◆ WiregangArray

Definition at line 45 of file TgcReadoutParams.h.

Member Enumeration Documentation

◆ TgcReadoutArraySizes

Enumerator
MaxNGaps 
MaxNGangs 
MaxNStrips 

Definition at line 42 of file TgcReadoutParams.h.

42 { MaxNGaps = 3, MaxNGangs = 180, MaxNStrips = 33 };

Constructor & Destructor Documentation

◆ TgcReadoutParams() [1/2]

MuonGM::TgcReadoutParams::TgcReadoutParams ( )

Default constructor used by the MuonTPCnv tests.

Definition at line 11 of file TgcReadoutParams.cxx.

11  :
12  AthMessaging{"TgcReadoutParams"}{}

◆ TgcReadoutParams() [2/2]

MuonGM::TgcReadoutParams::TgcReadoutParams ( const std::string &  name,
int  iCh,
double  WireSp,
const int  NCHRNG,
GasGapIntArray &&  numWireGangs,
WiregangArray &&  IWGS1,
WiregangArray &&  IWGS2,
WiregangArray &&  IWGS3,
double  PDIST,
std::vector< StripArray > &&  SLARGE,
std::vector< StripArray > &&  SSHORT,
GasGapIntArray &&  numStrips 
)

Constructor implementing the strip layout per gasGap.

Parameters
nameName of the chamber type
iChChamber type index
WireSpWire pitch
NCHRNGNumber of phi sectors
numWireGangsNumber of wire gangs in each gas gap
IWGS1Number of wires in each gang in gas gap 1
IWGS2Number of wires in each gang in gas gap 2
IWGS3Number of wires in each gang in gas gap 3
PDISTDistance of the strip frame to the bottom of the chamber
SLARGEPosition of each strip mounting point on the top of the frame
SSHORTPosition of each strip mounting point on the bottom of the frame
numStripArray representing the number of strips in each gasgap

Position of the left strip's left edge at the chamber chamber center + the one of the

right edge

Definition at line 13 of file TgcReadoutParams.cxx.

24  :
25 
26  AthMessaging{"TgcReadoutParams - "+name},
28  m_chamberType{iCh},
29  m_wirePitch{WireSp},
30  m_nPhiChambers{NCHRNG},
31  m_nStrips{std::move(numStrips)} {
32 
33  for (int iGap =0 ; iGap < MaxNGaps; ++iGap){
34  m_nWires[iGap].resize(numWireGangs[iGap]);
35  m_nAccWires[iGap].resize(numWireGangs[iGap]);
36  }
37  for (int iGang = 0; iGang < MaxNGangs; ++iGang) {
38  if (iGang < numWireGangs[0]) {
39  m_nWires[0][iGang] = IWGS1[iGang];
40  m_totalWires[0] += IWGS1[iGang];
41  }
42  if (iGang < numWireGangs[1]) {
43  m_nWires[1][iGang] = IWGS2[iGang];
44  m_totalWires[1] += IWGS2[iGang];
45  }
46  if (iGang < numWireGangs[2]) {
47  m_nWires[2][iGang] = IWGS3[iGang];
48  m_totalWires[2] += IWGS3[iGang];
49  }
50  }
51 
52  for (size_t iGap = 0; iGap < m_nWires.size(); ++iGap) {
53  // Grap the total wires in the gasGap
54  const int totWires = totalWires(iGap + 1);
55  int accumWires = totWires;
56  for (int iGang = m_nWires[iGap].size() - 1; iGang >= 0; --iGang) {
57  accumWires -= m_nWires[iGap][iGang];
58  m_nAccWires[iGap][iGang] = accumWires;
59  }
60  }
61 
63  m_stripPositionOnLargeBase = std::move(SLARGE);
64  m_stripPositionOnShortBase = std::move(SSHORT);
66  for (size_t l = 0; l < m_stripPositionOnLargeBase.size(); ++l) {
67  for (size_t s = 0 ; s < m_stripPositionOnLargeBase[l].size() - 1; ++s) {
72  }
73  }
74  }

◆ ~TgcReadoutParams()

MuonGM::TgcReadoutParams::~TgcReadoutParams ( )
default

Member Function Documentation

◆ chamberType()

int MuonGM::TgcReadoutParams::chamberType ( ) const

Definition at line 80 of file TgcReadoutParams.cxx.

80 { return m_chamberType; }

◆ gangThickness()

double MuonGM::TgcReadoutParams::gangThickness ( ) const
inline

Definition at line 147 of file TgcReadoutParams.h.

147 { return m_gangThickness; }

◆ GetName()

const std::string & MuonGM::TgcReadoutParams::GetName ( ) const
inline

Definition at line 149 of file TgcReadoutParams.h.

149 { return m_chamberName; }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40 {
42  m_lvl = m_imsg ?
43  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
44  MSG::INFO;
45 }

◆ invalidGang()

bool MuonGM::TgcReadoutParams::invalidGang ( int  gang) const
inlineprivate

Definition at line 141 of file TgcReadoutParams.h.

141 { return gang<1 or gang>MaxNGangs;}

◆ invalidGasGap()

bool MuonGM::TgcReadoutParams::invalidGasGap ( int  gasGap) const
inlineprivate

Definition at line 140 of file TgcReadoutParams.h.

140 { return gasGap<1 or gasGap>MaxNGaps;}

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 164 of file AthMessaging.h.

165 {
166  MsgStream* ms = m_msg_tls.get();
167  if (!ms) {
168  if (!m_initialized.test_and_set()) initMessaging();
169  ms = new MsgStream(m_imsg,m_nm);
170  m_msg_tls.reset( ms );
171  }
172 
173  ms->setLevel (m_lvl);
174  return *ms;
175 }

◆ msg() [2/2]

MsgStream & AthMessaging::msg ( const MSG::Level  lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 179 of file AthMessaging.h.

180 { return msg() << lvl; }

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152 {
153  if (!m_initialized.test_and_set()) initMessaging();
154  if (m_lvl <= lvl) {
155  msg() << lvl;
156  return true;
157  } else {
158  return false;
159  }
160 }

◆ nGaps()

int MuonGM::TgcReadoutParams::nGaps ( ) const

Definition at line 82 of file TgcReadoutParams.cxx.

82 { return 2 + (nStrips(3) > 1); }

◆ nPhiChambers()

int MuonGM::TgcReadoutParams::nPhiChambers ( ) const

Definition at line 81 of file TgcReadoutParams.cxx.

81 { return m_nPhiChambers; }

◆ nPitchesToGang()

double MuonGM::TgcReadoutParams::nPitchesToGang ( int  gasGap,
int  gang 
) const

Returns the number of wire pitches that have to be travelled to reach gang i.

Definition at line 112 of file TgcReadoutParams.cxx.

112  {
113  if (invalidGasGap(gasGap) or invalidGang(gang)) {
114  THROW_EXCEPTION( " gasGap " << gasGap << " or gang " << gang << " out of allowed range" );
115  }
116  const double nPit = 1.*m_nAccWires[gasGap -1][gang - 1] +
117  0.5*(m_nWires[gasGap-1][gang-1] -1) -
118  0.5*m_totalWires[gasGap -1];
119  return nPit;
120  }

◆ nStripLayers()

int MuonGM::TgcReadoutParams::nStripLayers ( ) const
inline

Returns the number of defined strip layers.

Definition at line 112 of file TgcReadoutParams.h.

112 { return m_stripPositionCenter.size(); }

◆ nStrips()

int MuonGM::TgcReadoutParams::nStrips ( int  gasGap) const

Definition at line 122 of file TgcReadoutParams.cxx.

122  {
123  if (invalidGasGap(gasGap)) {
124  THROW_EXCEPTION("gasGap "<<gasGap<<" is out of allowed range: 1-" << MaxNGaps );
125  }
126  return m_nStrips[gasGap - 1];
127  }

◆ nSummedWires()

int MuonGM::TgcReadoutParams::nSummedWires ( int  gasGap,
int  gang 
) const

Returns the sum of all wires from gang [1 - i)

Definition at line 106 of file TgcReadoutParams.cxx.

106  {
107  if (invalidGasGap(gasGap) or invalidGang(gang)) {
108  THROW_EXCEPTION( " gasGap " << gasGap << " or gang " << gang << " out of allowed range" );
109  }
110  return m_nAccWires[gasGap -1 ][gang - 1];
111  }

◆ nWireGangs()

int MuonGM::TgcReadoutParams::nWireGangs ( int  gasGap) const

Returns the number of wire gangs.

Definition at line 86 of file TgcReadoutParams.cxx.

86  {
87  if (invalidGasGap(gasGap)) {
88  THROW_EXCEPTION("gasGap "<<gasGap<<" is out of allowed range: 1-" << MaxNGaps );
89  }
90  return m_nWires[gasGap - 1].size();
91  }

◆ nWires()

int MuonGM::TgcReadoutParams::nWires ( int  gasGap,
int  gang 
) const

Returns the number of wires in a given gang.

Definition at line 100 of file TgcReadoutParams.cxx.

100  {
101  if (invalidGasGap(gasGap) or invalidGang(gang)) {
102  THROW_EXCEPTION( " gasGap " << gasGap << " or gang " << gang << " out of allowed range" );
103  }
104  return m_nWires[gasGap - 1][gang - 1];
105  }

◆ physicalDistanceFromBase()

double MuonGM::TgcReadoutParams::physicalDistanceFromBase ( ) const

Definition at line 128 of file TgcReadoutParams.cxx.

128 { return m_physicalDistanceFromBase; }

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  m_lvl = lvl;
31 }

◆ stripCenter()

double MuonGM::TgcReadoutParams::stripCenter ( int  strip,
int  gasGap 
) const

Returns the signed distance along the chamber edge of the strip expressed at the chamber center.

Definition at line 163 of file TgcReadoutParams.cxx.

163  {
164  if (istrip > m_nStrips[0] + 1) {
165  THROW_EXCEPTION("Input strip n. " << istrip
166  << " out of range in TgcReadoutParams::stripPositionOnLargeBase for TgcReadoutParams of name/type " << m_chamberName << "/"
167  << m_chamberType << " - Nstrips = " << m_nStrips[0] << " MaxNStrips = " << MaxNStrips );
168  }
169  if (nStripLayers() > 1){
170  if(gasGap > nStripLayers() || gasGap == 0) {
171  THROW_EXCEPTION("Input gasGap n. "<<gasGap<<" is out of the allowed range [1-"<<nStripLayers()<<"]");
172  }
173  } else {
174  gasGap = 1;
175  }
176  return m_stripPositionCenter[gasGap-1][istrip -1];
177  }

◆ stripPositionOnLargeBase()

double MuonGM::TgcReadoutParams::stripPositionOnLargeBase ( int  strip,
int  gasGap 
) const

Returns the signed distance of the i-th's strip's left edge w.r.t the center of the bottom chamber edge.

Definition at line 130 of file TgcReadoutParams.cxx.

130  {
131  // all gas gaps have the same n. of strips (=> check the first one)
132  if (istrip > m_nStrips[0] + 1 || istrip < 1){
133  THROW_EXCEPTION("Input strip n. " << istrip
134  << " out of range in TgcReadoutParams::stripPositionOnLargeBase for TgcReadoutParams of name/type " << m_chamberName << "/"
135  << m_chamberType << " - Nstrips = " << m_nStrips[0] << " MaxNStrips = " << MaxNStrips );
136  }
137  if (nStripLayers() > 1){
138  if( gasGap > nStripLayers() || gasGap == 0) {
139  THROW_EXCEPTION("Input gasGap n. "<<gasGap<<" is out of the allowed range [1-"<<nStripLayers()<<"]");
140  }
141  } else {
142  gasGap = 1;
143  }
144  return m_stripPositionOnLargeBase[gasGap -1][istrip - 1];
145  }

◆ stripPositionOnShortBase()

double MuonGM::TgcReadoutParams::stripPositionOnShortBase ( int  strip,
int  gasGap 
) const

Returns the signed distance of the i-th's strip's left edge w.r.t.

the center of the top chamber edge

Definition at line 146 of file TgcReadoutParams.cxx.

146  {
147  // all gas gaps have the same n. of strips (=> check the first one)
148  if (istrip > m_nStrips[0] + 1 || istrip < 1) {
149  THROW_EXCEPTION(__func__<<"() "<<__LINE__<<" - Input strip n. " << istrip
150  << " out of range in TgcReadoutParams::stripPositionOnShortBase for TgcReadoutParams of name/type " << m_chamberName << "/"
151  << m_chamberType << " - Nstrips = " << m_nStrips[0] << " MaxNStrips = " << MaxNStrips );
152  }
153  if (nStripLayers() > 1 || gasGap == 0){
154  if( gasGap > nStripLayers()) {
155  THROW_EXCEPTION("Input gasGap n. "<<gasGap<<" is out of the allowed range [1-"<<nStripLayers()<<"]");
156  }
157  } else {
158  gasGap = 1;
159  }
160  return m_stripPositionOnShortBase[gasGap-1][istrip - 1];
161  }

◆ stripThickness()

double MuonGM::TgcReadoutParams::stripThickness ( ) const
inline

Definition at line 146 of file TgcReadoutParams.h.

146 { return m_stripThickness; }

◆ totalWires()

int MuonGM::TgcReadoutParams::totalWires ( int  gasGap) const

Returns the total number of wires in a given gang.

Definition at line 93 of file TgcReadoutParams.cxx.

93  {
94  if (invalidGasGap(gasGap)) {
95  THROW_EXCEPTION("gasGap "<<gasGap<<" is out of allowed range: 1-" << MaxNGaps );
96  }
97  return m_totalWires[gasGap - 1];
98  }

◆ wirePitch()

double MuonGM::TgcReadoutParams::wirePitch ( ) const

Returns the wire pitch.

Definition at line 84 of file TgcReadoutParams.cxx.

84 { return m_wirePitch; }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_chamberName

std::string MuonGM::TgcReadoutParams::m_chamberName {}
private

Definition at line 115 of file TgcReadoutParams.h.

◆ m_chamberType

int MuonGM::TgcReadoutParams::m_chamberType {0}
private

Definition at line 116 of file TgcReadoutParams.h.

◆ m_gangThickness

constexpr double MuonGM::TgcReadoutParams::m_gangThickness = 0.05 * Gaudi::Units::mm
staticconstexprprivate

Definition at line 143 of file TgcReadoutParams.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_nAccWires

std::array<std::vector<int>, MaxNGaps> MuonGM::TgcReadoutParams::m_nAccWires {}
private

Map describing the number of all wires up to gang i in gasgap j.

Definition at line 123 of file TgcReadoutParams.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_nPhiChambers

int MuonGM::TgcReadoutParams::m_nPhiChambers {0}
private

Definition at line 118 of file TgcReadoutParams.h.

◆ m_nStrips

GasGapIntArray MuonGM::TgcReadoutParams::m_nStrips {make_array<int, MaxNGaps>(0)}
private

Definition at line 125 of file TgcReadoutParams.h.

◆ m_nWires

std::array<std::vector<int>, MaxNGaps> MuonGM::TgcReadoutParams::m_nWires {}
private

Map of number of wires in a given wire gang & gas gap.

Definition at line 121 of file TgcReadoutParams.h.

◆ m_physicalDistanceFromBase

double MuonGM::TgcReadoutParams::m_physicalDistanceFromBase {-9999.}
private

Definition at line 130 of file TgcReadoutParams.h.

◆ m_stripPositionCenter

std::vector<StripArray> MuonGM::TgcReadoutParams::m_stripPositionCenter {}
private

The position of the strip center is defined as the intersector of the large and short edge strip position values.

Definition at line 138 of file TgcReadoutParams.h.

◆ m_stripPositionOnLargeBase

std::vector<StripArray> MuonGM::TgcReadoutParams::m_stripPositionOnLargeBase {}
private

These 2 arrays represent the left edges of the i-th strip in a Tgc chamber The numbers are given as the signed distance along the chamber edge measured from the center of the top edge (Large base) or of the bottom edge (Short base)

Definition at line 134 of file TgcReadoutParams.h.

◆ m_stripPositionOnShortBase

std::vector<StripArray> MuonGM::TgcReadoutParams::m_stripPositionOnShortBase {}
private

Definition at line 135 of file TgcReadoutParams.h.

◆ m_stripThickness

constexpr double MuonGM::TgcReadoutParams::m_stripThickness = 0.03 * Gaudi::Units::mm
staticconstexprprivate

Definition at line 144 of file TgcReadoutParams.h.

◆ m_totalWires

GasGapIntArray MuonGM::TgcReadoutParams::m_totalWires {make_array<int, MaxNGaps>(0)}
private

Definition at line 126 of file TgcReadoutParams.h.

◆ m_wirePitch

double MuonGM::TgcReadoutParams::m_wirePitch {0.}
private

Definition at line 117 of file TgcReadoutParams.h.


The documentation for this class was generated from the following files:
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
MuonGM::TgcReadoutParams::nStripLayers
int nStripLayers() const
Returns the number of defined strip layers.
Definition: TgcReadoutParams.h:112
dumpTgcDigiDeadChambers.gasGap
list gasGap
Definition: dumpTgcDigiDeadChambers.py:33
MuonGM::TgcReadoutParams::m_nAccWires
std::array< std::vector< int >, MaxNGaps > m_nAccWires
Map describing the number of all wires up to gang i in gasgap j.
Definition: TgcReadoutParams.h:123
MuonGM::TgcReadoutParams::MaxNStrips
@ MaxNStrips
Definition: TgcReadoutParams.h:42
MuonGM::TgcReadoutParams::m_gangThickness
static constexpr double m_gangThickness
Definition: TgcReadoutParams.h:143
MuonGM::TgcReadoutParams::m_physicalDistanceFromBase
double m_physicalDistanceFromBase
Definition: TgcReadoutParams.h:130
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:157
MuonGM::TgcReadoutParams::m_stripPositionOnLargeBase
std::vector< StripArray > m_stripPositionOnLargeBase
These 2 arrays represent the left edges of the i-th strip in a Tgc chamber The numbers are given as t...
Definition: TgcReadoutParams.h:134
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
MuonGM::TgcReadoutParams::m_stripThickness
static constexpr double m_stripThickness
Definition: TgcReadoutParams.h:144
MuonGM::TgcReadoutParams::m_nStrips
GasGapIntArray m_nStrips
Definition: TgcReadoutParams.h:125
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
MuonGM::TgcReadoutParams::m_nPhiChambers
int m_nPhiChambers
Definition: TgcReadoutParams.h:118
MuonGM::TgcReadoutParams::totalWires
int totalWires(int gasGap) const
Returns the total number of wires in a given gang.
Definition: TgcReadoutParams.cxx:93
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
MuonGM::TgcReadoutParams::m_chamberName
std::string m_chamberName
Definition: TgcReadoutParams.h:115
MuonGM::TgcReadoutParams::m_nWires
std::array< std::vector< int >, MaxNGaps > m_nWires
Map of number of wires in a given wire gang & gas gap.
Definition: TgcReadoutParams.h:121
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
MuonGM::TgcReadoutParams::nStrips
int nStrips(int gasGap) const
Definition: TgcReadoutParams.cxx:122
MuonGM::TgcReadoutParams::invalidGasGap
bool invalidGasGap(int gasGap) const
Definition: TgcReadoutParams.h:140
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
MuonGM::TgcReadoutParams::m_stripPositionOnShortBase
std::vector< StripArray > m_stripPositionOnShortBase
Definition: TgcReadoutParams.h:135
MuonGM::TgcReadoutParams::invalidGang
bool invalidGang(int gang) const
Definition: TgcReadoutParams.h:141
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
MuonGM::TgcReadoutParams::m_stripPositionCenter
std::vector< StripArray > m_stripPositionCenter
The position of the strip center is defined as the intersector of the large and short edge strip posi...
Definition: TgcReadoutParams.h:138
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
MuonGM::TgcReadoutParams::m_chamberType
int m_chamberType
Definition: TgcReadoutParams.h:116
THROW_EXCEPTION
#define THROW_EXCEPTION(MESSAGE)
Definition: throwExcept.h:10
MuonGM::TgcReadoutParams::m_wirePitch
double m_wirePitch
Definition: TgcReadoutParams.h:117
python.Constants.INFO
int INFO
Definition: Control/AthenaCommon/python/Constants.py:15
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
python.SystemOfUnits.s
float s
Definition: SystemOfUnits.py:147
MuonGM::TgcReadoutParams::MaxNGaps
@ MaxNGaps
Definition: TgcReadoutParams.h:42
AthMessaging::initMessaging
void initMessaging() const
Initialize our message level and MessageSvc.
Definition: AthMessaging.cxx:39
AthMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
Definition: AthMessaging.h:132
MuonGM::TgcReadoutParams::m_totalWires
GasGapIntArray m_totalWires
Definition: TgcReadoutParams.h:126
MuonGM::TgcReadoutParams::MaxNGangs
@ MaxNGangs
Definition: TgcReadoutParams.h:42
python.SystemOfUnits.ms
float ms
Definition: SystemOfUnits.py:148