![]() |
ATLAS Offline Software
|
Class to hold different TRT detector elements structures. More...
#include <TRT_DetElementContainer.h>
Public Member Functions | |
| TRT_DetElementContainer () | |
| ~TRT_DetElementContainer () | |
| TRT_DetElementContainer (const TRT_DetElementContainer &other)=delete | |
| void | operator= (const TRT_DetElementContainer &other)=delete |
| void | setNumerology (const TRT_Numerology *mynum) |
| void | addBarrelElement (TRT_BarrelElement *element) |
| void | addEndcapElement (TRT_EndcapElement *element) |
| void | manageBarrelElement (TRT_BarrelElement *barrel, const TRT_ID *idHelper) |
| void | manageEndcapElement (TRT_EndcapElement *endcap, const TRT_ID *idHelper) |
| const TRT_DetElementCollection * | getElements () const |
| TRT_DetElementCollection * | getElements () |
| const TRT_Numerology * | getTRTNumerology () const |
| const TRT_BarrelElement * | getBarrelDetElement (unsigned int positive, unsigned int moduleIndex, unsigned int phiIndex, unsigned int strawLayerIndex) const |
| TRT_BarrelElement * | getBarrelDetElement (unsigned int positive, unsigned int moduleIndex, unsigned int phiIndex, unsigned int strawLayerIndex) |
| const TRT_EndcapElement * | getEndcapDetElement (unsigned int positive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex) const |
| TRT_EndcapElement * | getEndcapDetElement (unsigned int positive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex) |
| void | clear () |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Private Types | |
| enum | { NMODMAX =3 } |
| enum | { NWHEELMAX =18 } |
| enum | { NPHIMAX =32 } |
| enum | { NSTRAWLAYMAXBR =30 } |
| enum | { NSTRAWLAYMAXEC =16 } |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| TRT_DetElementCollection | m_trtcoll |
| const TRT_Numerology * | m_trtnum |
| TRT_BarrelElement * | m_baArray [2][NMODMAX][NPHIMAX][NSTRAWLAYMAXBR] {} |
| TRT_EndcapElement * | m_ecArray [2][NWHEELMAX][NSTRAWLAYMAXEC][NPHIMAX] {} |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Class to hold different TRT detector elements structures.
Definition at line 24 of file TRT_DetElementContainer.h.
|
private |
| Enumerator | |
|---|---|
| NSTRAWLAYMAXBR | |
Definition at line 81 of file TRT_DetElementContainer.h.
|
private |
|
private |
|
private |
|
private |
| Enumerator | |
|---|---|
| NSTRAWLAYMAXEC | |
Definition at line 82 of file TRT_DetElementContainer.h.
| InDetDD::TRT_DetElementContainer::TRT_DetElementContainer | ( | ) |
Definition at line 11 of file TRT_DetElementContainer.cxx.
| InDetDD::TRT_DetElementContainer::~TRT_DetElementContainer | ( | ) |
Definition at line 19 of file TRT_DetElementContainer.cxx.
|
delete |
| void InDetDD::TRT_DetElementContainer::addBarrelElement | ( | TRT_BarrelElement * | element | ) |
Definition at line 89 of file TRT_DetElementContainer.cxx.
| void InDetDD::TRT_DetElementContainer::addEndcapElement | ( | TRT_EndcapElement * | element | ) |
Definition at line 110 of file TRT_DetElementContainer.cxx.
| void InDetDD::TRT_DetElementContainer::clear | ( | ) |
Definition at line 213 of file TRT_DetElementContainer.cxx.
| TRT_BarrelElement * InDetDD::TRT_DetElementContainer::getBarrelDetElement | ( | unsigned int | positive, |
| unsigned int | moduleIndex, | ||
| unsigned int | phiIndex, | ||
| unsigned int | strawLayerIndex ) |
Definition at line 55 of file TRT_DetElementContainer.cxx.
| const TRT_BarrelElement * InDetDD::TRT_DetElementContainer::getBarrelDetElement | ( | unsigned int | positive, |
| unsigned int | moduleIndex, | ||
| unsigned int | phiIndex, | ||
| unsigned int | strawLayerIndex ) const |
Definition at line 44 of file TRT_DetElementContainer.cxx.
| TRT_DetElementCollection * InDetDD::TRT_DetElementContainer::getElements | ( | ) |
Definition at line 34 of file TRT_DetElementContainer.cxx.
| const TRT_DetElementCollection * InDetDD::TRT_DetElementContainer::getElements | ( | ) | const |
Definition at line 29 of file TRT_DetElementContainer.cxx.
| TRT_EndcapElement * InDetDD::TRT_DetElementContainer::getEndcapDetElement | ( | unsigned int | positive, |
| unsigned int | wheelIndex, | ||
| unsigned int | strawLayerIndex, | ||
| unsigned int | phiIndex ) |
Definition at line 78 of file TRT_DetElementContainer.cxx.
| const TRT_EndcapElement * InDetDD::TRT_DetElementContainer::getEndcapDetElement | ( | unsigned int | positive, |
| unsigned int | wheelIndex, | ||
| unsigned int | strawLayerIndex, | ||
| unsigned int | phiIndex ) const |
Definition at line 67 of file TRT_DetElementContainer.cxx.
| const TRT_Numerology * InDetDD::TRT_DetElementContainer::getTRTNumerology | ( | ) | const |
Definition at line 39 of file TRT_DetElementContainer.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
| void InDetDD::TRT_DetElementContainer::manageBarrelElement | ( | TRT_BarrelElement * | barrel, |
| const TRT_ID * | idHelper ) |
Definition at line 131 of file TRT_DetElementContainer.cxx.
| void InDetDD::TRT_DetElementContainer::manageEndcapElement | ( | TRT_EndcapElement * | endcap, |
| const TRT_ID * | idHelper ) |
Definition at line 173 of file TRT_DetElementContainer.cxx.
|
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 163 of file AthMessaging.h.
|
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 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
delete |
|
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.
| void InDetDD::TRT_DetElementContainer::setNumerology | ( | const TRT_Numerology * | mynum | ) |
Definition at line 24 of file TRT_DetElementContainer.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 84 of file TRT_DetElementContainer.h.
|
private |
Definition at line 85 of file TRT_DetElementContainer.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 75 of file TRT_DetElementContainer.h.
|
private |
Definition at line 76 of file TRT_DetElementContainer.h.