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 ()
 Constructor not setting any parameters. More...
 
 TgcReadoutParams (const std::string &name, int iCh, int Version, double WireSp, const int NCHRNG, GasGapIntArray &&numWireGangs, WiregangArray &&IWGS1, WiregangArray &&IWGS2, WiregangArray &&IWGS3, GasGapIntArray &&numStrips)
 
 TgcReadoutParams (const std::string &name, int iCh, int Version, double WireSp, const int NCHRNG, GasGapIntArray &&numWireGangs, WiregangArray &&IWGS1, WiregangArray &&IWGS2, WiregangArray &&IWGS3, double PDIST, StripArray &&SLARGE, StripArray &&SSHORT, GasGapIntArray &&numStrips)
 
 ~TgcReadoutParams ()
 
const std::string & GetName () const
 
int chamberType () const
 
int readoutVersion () 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) 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) const
 Returns the signed distance of the i-th's strip's left edge w.r.t. More...
 
double stripCenter (int strip) const
 Returns the signed distance along the chamber edge of the strip expressed at the chamber center. 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}
 
int m_readoutVersion {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.}
 
StripArray m_stripPositionOnLargeBase {make_array<double, MaxNStrips>(0)}
 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...
 
StripArray m_stripPositionOnShortBase {make_array<double, MaxNStrips>(0)}
 
StripArray m_stripPositionCenter {make_array<double, MaxNStrips>(0)}
 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/3]

MuonGM::TgcReadoutParams::TgcReadoutParams ( )

Constructor not setting any parameters.

Definition at line 20 of file TgcReadoutParams.cxx.

20  :
21  AthMessaging{"TgcReadoutParams"}{}

◆ TgcReadoutParams() [2/3]

MuonGM::TgcReadoutParams::TgcReadoutParams ( const std::string &  name,
int  iCh,
int  Version,
double  WireSp,
const int  NCHRNG,
GasGapIntArray &&  numWireGangs,
WiregangArray &&  IWGS1,
WiregangArray &&  IWGS2,
WiregangArray &&  IWGS3,
GasGapIntArray &&  numStrips 
)

Definition at line 22 of file TgcReadoutParams.cxx.

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

◆ TgcReadoutParams() [3/3]

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

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

Definition at line 68 of file TgcReadoutParams.cxx.

80  :
81  TgcReadoutParams(name, iCh, Version, WireSp, NCHRNG, std::move(numWireGangs),
82  std::move(IWGS1), std::move(IWGS2), std::move(IWGS3),
83  std::move(numStrips)){
84 
86  m_stripPositionOnLargeBase = std::move(SLARGE);
87  m_stripPositionOnShortBase = std::move(SSHORT);
88  for (size_t s = 0 ; s < m_stripPositionOnLargeBase.size() - 1; ++s) {
93  }
94 
95  }

◆ ~TgcReadoutParams()

MuonGM::TgcReadoutParams::~TgcReadoutParams ( )
default

Member Function Documentation

◆ chamberType()

int MuonGM::TgcReadoutParams::chamberType ( ) const

Definition at line 101 of file TgcReadoutParams.cxx.

101 { return m_chamberType; }

◆ gangThickness()

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

Definition at line 150 of file TgcReadoutParams.h.

150 { return m_gangThickness; }

◆ GetName()

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

Definition at line 152 of file TgcReadoutParams.h.

152 { 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 144 of file TgcReadoutParams.h.

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

◆ invalidGasGap()

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

Definition at line 143 of file TgcReadoutParams.h.

143 { 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 104 of file TgcReadoutParams.cxx.

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

◆ nPhiChambers()

int MuonGM::TgcReadoutParams::nPhiChambers ( ) const

Definition at line 103 of file TgcReadoutParams.cxx.

103 { 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 138 of file TgcReadoutParams.cxx.

138  {
139  if (invalidGasGap(gasGap) or invalidGang(gang)) {
140  ATH_MSG_FATAL( __func__<<":"<<__LINE__<<" gasGap " << gasGap << " or gang " << gang << " out of allowed range" );
141  throw std::out_of_range("input gas gap or wire gang index are incorrect");
142  }
143  const double nPit = 1.*m_nAccWires[gasGap -1][gang - 1] +
144  0.5*(m_nWires[gasGap-1][gang-1] -1) -
145  0.5*m_totalWires[gasGap -1];
146  return nPit;
147  }

◆ nStrips()

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

Definition at line 149 of file TgcReadoutParams.cxx.

149  {
150  if (invalidGasGap(gasGap)) {
151  ATH_MSG_FATAL( __func__<<":"<<__LINE__<<"(" << gasGap << ") gasGap out of allowed range: 1-" << MaxNGaps );
152  throw std::out_of_range("input gas gap index is incorrect");
153  }
154  return m_nStrips[gasGap - 1];
155  }

◆ nSummedWires()

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

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

Definition at line 131 of file TgcReadoutParams.cxx.

131  {
132  if (invalidGasGap(gasGap) or invalidGang(gang)) {
133  ATH_MSG_FATAL( __func__<<":"<<__LINE__<<" gasGap " << gasGap << " or gang " << gang << " out of allowed range" );
134  throw std::out_of_range("input gas gap or wire gang index are incorrect");
135  }
136  return m_nAccWires[gasGap -1 ][gang - 1];
137  }

◆ nWireGangs()

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

Returns the number of wire gangs.

Definition at line 108 of file TgcReadoutParams.cxx.

108  {
109  if (invalidGasGap(gasGap)) {
110  ATH_MSG_FATAL(__func__<<":"<<__LINE__<<"nWireGangs(" << gasGap << ") gasGap out of allowed range: 1-" << MaxNGaps );
111  throw std::out_of_range("input gas gap index is incorrect");
112  }
113  return m_nWires[gasGap - 1].size();
114  }

◆ nWires()

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

Returns the number of wires in a given gang.

Definition at line 124 of file TgcReadoutParams.cxx.

124  {
125  if (invalidGasGap(gasGap) or invalidGang(gang)) {
126  ATH_MSG_FATAL( __func__<<":"<<__LINE__<<" gasGap " << gasGap << " or gang " << gang << " out of allowed range" );
127  throw std::out_of_range("input gas gap or wire gang index are incorrect");
128  }
129  return m_nWires[gasGap - 1][gang - 1];
130  }

◆ physicalDistanceFromBase()

double MuonGM::TgcReadoutParams::physicalDistanceFromBase ( ) const

Definition at line 156 of file TgcReadoutParams.cxx.

156 { return m_physicalDistanceFromBase; }

◆ readoutVersion()

int MuonGM::TgcReadoutParams::readoutVersion ( ) const

Definition at line 102 of file TgcReadoutParams.cxx.

102 { return m_readoutVersion; }

◆ 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) const

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

Definition at line 179 of file TgcReadoutParams.cxx.

179  {
180  if (istrip > m_nStrips[0] + 1) {
181  ATH_MSG_FATAL( "Input strip n. " << istrip
182  << " out of range in TgcReadoutParams::stripPositionOnLargeBase for TgcReadoutParams of name/type " << m_chamberName << "/"
183  << m_chamberType << " - Nstrips = " << m_nStrips[0] << " MaxNStrips = " << MaxNStrips );
184  throw std::out_of_range("invalid strip index");
185  }
186  return m_stripPositionCenter[istrip -1];;
187  }

◆ stripPositionOnLargeBase()

double MuonGM::TgcReadoutParams::stripPositionOnLargeBase ( int  strip) 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 158 of file TgcReadoutParams.cxx.

158  {
159  // all gas gaps have the same n. of strips (=> check the first one)
160  if (istrip > m_nStrips[0] + 1){
161  ATH_MSG_FATAL( "Input strip n. " << istrip
162  << " out of range in TgcReadoutParams::stripPositionOnLargeBase for TgcReadoutParams of name/type " << m_chamberName << "/"
163  << m_chamberType << " - Nstrips = " << m_nStrips[0] << " MaxNStrips = " << MaxNStrips );
164  throw std::out_of_range("invalid strip index");
165  }
166  return m_stripPositionOnLargeBase[istrip - 1];;
167  }

◆ stripPositionOnShortBase()

double MuonGM::TgcReadoutParams::stripPositionOnShortBase ( int  strip) 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 168 of file TgcReadoutParams.cxx.

168  {
169  // all gas gaps have the same n. of strips (=> check the first one)
170  if (istrip > m_nStrips[0] + 1){
171  ATH_MSG_FATAL( "Input strip n. " << istrip
172  << " out of range in TgcReadoutParams::stripPositionOnShortBase for TgcReadoutParams of name/type " << m_chamberName << "/"
173  << m_chamberType << " - Nstrips = " << m_nStrips[0] << " MaxNStrips = " << MaxNStrips );
174  throw std::out_of_range("invalid strip index");
175  }
176  return m_stripPositionOnShortBase[istrip - 1];;
177  }

◆ stripThickness()

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

Definition at line 149 of file TgcReadoutParams.h.

149 { return m_stripThickness; }

◆ totalWires()

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

Returns the total number of wires in a given gang.

Definition at line 116 of file TgcReadoutParams.cxx.

116  {
117  if (invalidGasGap(gasGap)) {
118  ATH_MSG_FATAL(__func__<<":"<<__LINE__<<"(" << gasGap << ") gasGap out of allowed range: 1-" << MaxNGaps );
119  throw std::out_of_range("input gas gap index is incorrect");
120  }
121  return m_totalWires[gasGap - 1];
122  }

◆ wirePitch()

double MuonGM::TgcReadoutParams::wirePitch ( ) const

Returns the wire pitch.

Definition at line 106 of file TgcReadoutParams.cxx.

106 { 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 117 of file TgcReadoutParams.h.

◆ m_chamberType

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

Definition at line 118 of file TgcReadoutParams.h.

◆ m_gangThickness

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

Definition at line 146 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 126 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 121 of file TgcReadoutParams.h.

◆ m_nStrips

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

Definition at line 128 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 124 of file TgcReadoutParams.h.

◆ m_physicalDistanceFromBase

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

Definition at line 133 of file TgcReadoutParams.h.

◆ m_readoutVersion

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

Definition at line 119 of file TgcReadoutParams.h.

◆ m_stripPositionCenter

StripArray MuonGM::TgcReadoutParams::m_stripPositionCenter {make_array<double, MaxNStrips>(0)}
private

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

Definition at line 141 of file TgcReadoutParams.h.

◆ m_stripPositionOnLargeBase

StripArray MuonGM::TgcReadoutParams::m_stripPositionOnLargeBase {make_array<double, MaxNStrips>(0)}
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 137 of file TgcReadoutParams.h.

◆ m_stripPositionOnShortBase

StripArray MuonGM::TgcReadoutParams::m_stripPositionOnShortBase {make_array<double, MaxNStrips>(0)}
private

Definition at line 138 of file TgcReadoutParams.h.

◆ m_stripThickness

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

Definition at line 147 of file TgcReadoutParams.h.

◆ m_totalWires

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

Definition at line 129 of file TgcReadoutParams.h.

◆ m_wirePitch

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

Definition at line 120 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
dumpTgcDigiDeadChambers.gasGap
list gasGap
Definition: dumpTgcDigiDeadChambers.py:33
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
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:126
MuonGM::TgcReadoutParams::MaxNStrips
@ MaxNStrips
Definition: TgcReadoutParams.h:42
MuonGM::TgcReadoutParams::m_gangThickness
static constexpr double m_gangThickness
Definition: TgcReadoutParams.h:146
MuonGM::TgcReadoutParams::m_stripPositionOnShortBase
StripArray m_stripPositionOnShortBase
Definition: TgcReadoutParams.h:138
MuonGM::TgcReadoutParams::m_physicalDistanceFromBase
double m_physicalDistanceFromBase
Definition: TgcReadoutParams.h:133
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:147
MuonGM::TgcReadoutParams::m_nStrips
GasGapIntArray m_nStrips
Definition: TgcReadoutParams.h:128
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
MuonGM::TgcReadoutParams::m_nPhiChambers
int m_nPhiChambers
Definition: TgcReadoutParams.h:121
MuonGM::TgcReadoutParams::totalWires
int totalWires(int gasGap) const
Returns the total number of wires in a given gang.
Definition: TgcReadoutParams.cxx:116
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
MuonGM::TgcReadoutParams::m_chamberName
std::string m_chamberName
Definition: TgcReadoutParams.h:117
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:124
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
MuonGM::TgcReadoutParams::nStrips
int nStrips(int gasGap) const
Definition: TgcReadoutParams.cxx:149
MuonGM::TgcReadoutParams::invalidGasGap
bool invalidGasGap(int gasGap) const
Definition: TgcReadoutParams.h:143
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
MuonGM::TgcReadoutParams::invalidGang
bool invalidGang(int gang) const
Definition: TgcReadoutParams.h:144
MuonGM::TgcReadoutParams::m_stripPositionOnLargeBase
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:137
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonGM::TgcReadoutParams::m_chamberType
int m_chamberType
Definition: TgcReadoutParams.h:118
MuonGM::TgcReadoutParams::TgcReadoutParams
TgcReadoutParams()
Constructor not setting any parameters.
Definition: TgcReadoutParams.cxx:20
MuonGM::TgcReadoutParams::m_wirePitch
double m_wirePitch
Definition: TgcReadoutParams.h:120
MuonGM::TgcReadoutParams::m_stripPositionCenter
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:141
MuonGM::TgcReadoutParams::m_readoutVersion
int m_readoutVersion
Definition: TgcReadoutParams.h:119
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
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:129
MuonGM::TgcReadoutParams::MaxNGangs
@ MaxNGangs
Definition: TgcReadoutParams.h:42