![]() |
ATLAS Offline Software
|
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements which can be retrieved from the TRT_DetectorManager either via numerology or Identifier access. More...
#include <TRT_DetectorManager.h>
Public Types | |
| enum | ActiveGasType { unknown , oldgas , newgas } |
Public Member Functions | |
| TRT_DetectorManager (StoreGateSvc *detStore) | |
| ~TRT_DetectorManager () | |
| virtual unsigned int | getNumTreeTops () const override |
| Access Raw Geometry:----------------------------------------------------—. | |
| virtual PVConstLink | getTreeTop (unsigned int i) const override |
| void | setIdHelper (const TRT_ID *idHelper, bool owns=true) |
| Get the ID helper: -----------------------------------------------------—. | |
| ActiveGasType | gasType () const |
| void | setGasType (const ActiveGasType &) |
| TRT_Numerology * | getNumerology () |
| Access Numerological information:---------------------------------------—. | |
| const TRT_Numerology * | getNumerology () const |
| const TRT_BaseElement * | getElement (Identifier id) const |
| Access Elements Generically---------------------------------------------—. | |
| const TRT_BaseElement * | getElement (IdentifierHash id) const |
| const TRT_DetElementContainer * | getDetectorElementContainer () const |
| Access the element container -------------------------------------------—. | |
| const TRT_DetElementCollection * | getDetectorElementCollection () const |
| Access to Whole Collection of Elements ---------------------------------—. | |
| TRT_DetElementCollection::const_iterator | getDetectorElementBegin () const |
| TRT_DetElementCollection::const_iterator | getDetectorElementEnd () const |
| TRT_DetElementCollection::iterator | getDetectorElementBegin () |
| TRT_DetElementCollection::iterator | getDetectorElementEnd () |
| const TRT_BarrelElement * | getBarrelElement (unsigned int positive, unsigned int moduleIndex, unsigned int phiIndex, unsigned int strawLayerIndex) const |
| Access Barrel Elements:---------------—(Fast)-------------------------—. | |
| TRT_BarrelElement * | getBarrelElement (unsigned int positive, unsigned int moduleIndex, unsigned int phiIndex, unsigned int strawLayerIndex) |
| const TRT_EndcapElement * | getEndcapElement (unsigned int positive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex) const |
| Access Endcap Elements:---------------—(Fast)--------------------------—. | |
| TRT_EndcapElement * | getEndcapElement (unsigned int positive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex) |
| const TRT_Conditions * | conditions () const |
| Conditions interface (mostly for internal use):-------------------------—. | |
| void | addTreeTop (const PVLink &) |
| void | manageBarrelElement (TRT_BarrelElement *barrel) |
| void | manageEndcapElement (TRT_EndcapElement *endcap) |
| void | setBarrelTransformField (size_t i, const GeoXF::Function *field) |
| const GeoXF::Function * | barrelTransformField (size_t i) const |
| void | setEndcapTransformField (size_t i, const GeoXF::Function *field) |
| const GeoXF::Function * | endcapTransformField (size_t i) const |
| void addKey | ATLAS_NOT_THREAD_SAFE (const std::string &key, int level) |
| void | addKey (const std::string &key, int level, FrameType frame) |
| void | addAlignableTransform (int level, const Identifier &id, GeoAlignableTransform *transform, const GeoVFullPhysVol *child=0, const GeoVFullPhysVol *frameVol=0) |
| Add alignable transforms: GeoModel/CLHEP based. | |
| void | addAlignableTransform (int level, const Identifier &id, GeoAlignableTransform *transform, const GeoVPhysVol *child=0, const GeoVPhysVol *frameVol=0) |
| Add alignable transforms: GeoModel/CLHEP based. | |
| virtual bool | setAlignableTransformDelta (int level, const Identifier &id, const Amg::Transform3D &delta, FrameType frame, GeoVAlignmentStore *alignStore) const override |
| Set alignable transforms: Amg based. | |
| bool | setAlignableTransformAnyFrameDelta (ExtendedAlignableTransform *extXF, const Amg::Transform3D &delta, FrameType frame, GeoVAlignmentStore *alignStore) const |
| Set alignable transforms: Amg based. | |
| virtual void | invalidateAll () override |
| Invalidate cache for all detector elements. | |
| virtual void | updateAll () const override |
| Update all caches. | |
| virtual bool | identifierBelongs (const Identifier &id) const override |
| Check identifier is for this detector. | |
| StatusCode | alignmentCallback (IOVSVC_CALLBACK_ARGS) |
| Call back for alignment updates, DEPRECATED. | |
| virtual bool | processGlobalAlignment (const std::string &, int level, FrameType frame, const CondAttrListCollection *obj, GeoVAlignmentStore *alignStore) const override |
| Process new global DB folders for L1 and L2. | |
| bool | processSpecialAlignment (const std::string &key, InDetDD::AlignFolderType dummy) override |
| bool | processSpecialAlignment (const std::string &key, const CondAttrListCollection *obj=nullptr, GeoVAlignmentStore *alignStore=nullptr) const override |
| void | setBarrelDescriptor (const TRT_BarrelDescriptor *barrelDescriptor) |
| Set TRT_Barrel/EndcapDescriptor pointer to the internal sets to delete them in the destructor. | |
| void | setEndcapDescriptor (const TRT_EndcapDescriptor *endcapDescriptor) |
| const Version & | getVersion () const |
| Get version information. | |
| const std::string & | getLayout () const |
| void | setVersion (const Version &version) |
| void | addChannel (const std::string &key, int level, FrameType frame) |
| Alignment access. | |
| void | addFolder (const std::string &key) |
| void | addSpecialFolder (const std::string &key) |
| void | addGlobalFolder (const std::string &key) |
| void | addAlignFolderType (const AlignFolderType alignfolder) |
| StatusCode | align (IOVSVC_CALLBACK_ARGS) |
| StatusCode | align (const RawAlignmentObjects &alignObjects, GeoVAlignmentStore *alignStore) const |
| 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. | |
| const TRTCond::StrawDxContainer * | dxContainer () const |
Public Attributes | |
| AlignFolderType | m_alignfoldertype |
Protected Member Functions | |
| void | setDxContainer (const TRTCond::StrawDxContainer *container) |
Protected Attributes | |
| StoreGateSvc * | m_detStore |
| std::atomic_bool | m_suppressWarnings |
Private Types | |
| typedef std::map< Identifier, ExtendedAlignableTransform * > | AlignableTransformMap |
Private Member Functions | |
| const TRT_DetectorManager & | operator= (const TRT_DetectorManager &right) |
| TRT_DetectorManager (const TRT_DetectorManager &right) | |
| virtual const TRT_ID * | getIdHelper () const override |
| const LevelInfo & | getLevel (const std::string &key) const |
| Retrieve level information. | |
| bool | processAlignmentContainer (const std::string &key) const |
| return align folder string to use | |
| bool | processAlignmentContainer (const AlignableTransformContainer *container, GeoVAlignmentStore *alignStore) const |
| bool | processKey (const std::string &key, const AlignableTransform *transformCollection, GeoVAlignmentStore *alignStore=nullptr) const |
| Called by processAlignmentContainer, applies only one key on the transform Collections. | |
| bool | processGlobalAlignmentContainer (const std::string &key, const CondAttrListCollection *obj=nullptr, GeoVAlignmentStore *alignStore=nullptr) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::vector< PVLink > | m_volume |
| TRT_DetElementContainer | m_elementContainer |
| TRT_Numerology * | m_numerology |
| const TRT_ID * | m_idHelper |
| bool | m_ownsIdHelper |
| const GeoXF::Function * | m_barrelXF [3] {} |
| const GeoXF::Function * | m_endcapXF [3] {} |
| ActiveGasType | m_gasType |
| unsigned int | m_digvers |
| std::string | m_digversname |
| std::vector< AlignableTransformMap > | m_alignableTransforms |
| std::set< const TRT_BarrelDescriptor * > | m_barrelDescriptors |
| std::set< const TRT_EndcapDescriptor * > | m_endcapDescriptors |
| Version | m_version |
| std::map< std::string, LevelInfo > | m_keys |
| std::set< std::string > | m_folders |
| std::set< std::string > | m_specialFolders |
| std::set< std::string > | m_globalFolders |
| 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) | |
| const TRTCond::StrawDxContainer * | m_dxContainer |
Static Private Attributes | |
| static const LevelInfo | s_invalidLevel |
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements which can be retrieved from the TRT_DetectorManager either via numerology or Identifier access.
In addition, the alignable transforms are set via Identifer and forwarded to the GeoModel class; hence, we are sitting at the interface between CLHEP and AMG.
Definition at line 60 of file TRT_DetectorManager.h.
|
private |
Definition at line 260 of file TRT_DetectorManager.h.
| InDetDD::TRT_DetectorManager::TRT_DetectorManager | ( | StoreGateSvc * | detStore | ) |
Definition at line 26 of file TRT_DetectorManager.cxx.
| InDetDD::TRT_DetectorManager::~TRT_DetectorManager | ( | ) |
Definition at line 51 of file TRT_DetectorManager.cxx.
|
private |
| void InDetDD::TRT_DetectorManager::addAlignableTransform | ( | int | level, |
| const Identifier & | id, | ||
| GeoAlignableTransform * | transform, | ||
| const GeoVFullPhysVol * | child = 0, | ||
| const GeoVFullPhysVol * | frameVol = 0 ) |
Add alignable transforms: GeoModel/CLHEP based.
Definition at line 273 of file TRT_DetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::addAlignableTransform | ( | int | level, |
| const Identifier & | id, | ||
| GeoAlignableTransform * | transform, | ||
| const GeoVPhysVol * | child = 0, | ||
| const GeoVPhysVol * | frameVol = 0 ) |
Add alignable transforms: GeoModel/CLHEP based.
Definition at line 242 of file TRT_DetectorManager.cxx.
|
inherited |
Definition at line 81 of file InDetDetectorManager.cxx.
|
inherited |
Alignment access.
Definition at line 56 of file InDetDetectorManager.cxx.
|
inherited |
Definition at line 66 of file InDetDetectorManager.cxx.
|
inherited |
Definition at line 76 of file InDetDetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::addKey | ( | const std::string & | key, |
| int | level, | ||
| FrameType | frame ) |
Definition at line 237 of file TRT_DetectorManager.cxx.
|
inherited |
Definition at line 71 of file InDetDetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::addTreeTop | ( | const PVLink & | vol | ) |
Definition at line 84 of file TRT_DetectorManager.cxx.
|
inherited |
Definition at line 209 of file InDetDetectorManager.cxx.
|
inherited |
| StatusCode InDetDD::TRT_DetectorManager::alignmentCallback | ( | IOVSVC_CALLBACK_ARGS | ) |
Call back for alignment updates, DEPRECATED.
Now registered in tool.
Definition at line 420 of file TRT_DetectorManager.cxx.
| void addKey InDetDD::TRT_DetectorManager::ATLAS_NOT_THREAD_SAFE | ( | const std::string & | key, |
| int | level ) |
| const GeoXF::Function * InDetDD::TRT_DetectorManager::barrelTransformField | ( | size_t | i | ) | const |
Definition at line 197 of file TRT_DetectorManager.cxx.
| const TRT_Conditions * InDetDD::TRT_DetectorManager::conditions | ( | ) | const |
Conditions interface (mostly for internal use):-------------------------—.
Definition at line 486 of file TRT_DetectorManager.cxx.
|
inherited |
Definition at line 14 of file TRT_Conditions.cxx.
| const GeoXF::Function * InDetDD::TRT_DetectorManager::endcapTransformField | ( | size_t | i | ) | const |
Definition at line 206 of file TRT_DetectorManager.cxx.
| TRT_DetectorManager::ActiveGasType InDetDD::TRT_DetectorManager::gasType | ( | ) | const |
Definition at line 211 of file TRT_DetectorManager.cxx.
| TRT_BarrelElement * InDetDD::TRT_DetectorManager::getBarrelElement | ( | unsigned int | positive, |
| unsigned int | moduleIndex, | ||
| unsigned int | phiIndex, | ||
| unsigned int | strawLayerIndex ) |
Definition at line 108 of file TRT_DetectorManager.cxx.
| const TRT_BarrelElement * InDetDD::TRT_DetectorManager::getBarrelElement | ( | unsigned int | positive, |
| unsigned int | moduleIndex, | ||
| unsigned int | phiIndex, | ||
| unsigned int | strawLayerIndex ) const |
Access Barrel Elements:---------------—(Fast)-------------------------—.
Definition at line 100 of file TRT_DetectorManager.cxx.
| TRT_DetElementCollection::iterator InDetDD::TRT_DetectorManager::getDetectorElementBegin | ( | ) |
Definition at line 182 of file TRT_DetectorManager.cxx.
| TRT_DetElementCollection::const_iterator InDetDD::TRT_DetectorManager::getDetectorElementBegin | ( | ) | const |
Definition at line 172 of file TRT_DetectorManager.cxx.
| const TRT_DetElementCollection * InDetDD::TRT_DetectorManager::getDetectorElementCollection | ( | ) | const |
Access to Whole Collection of Elements ---------------------------------—.
Definition at line 167 of file TRT_DetectorManager.cxx.
| const TRT_DetElementContainer * InDetDD::TRT_DetectorManager::getDetectorElementContainer | ( | ) | const |
Access the element container -------------------------------------------—.
Definition at line 162 of file TRT_DetectorManager.cxx.
| TRT_DetElementCollection::iterator InDetDD::TRT_DetectorManager::getDetectorElementEnd | ( | ) |
Definition at line 187 of file TRT_DetectorManager.cxx.
| TRT_DetElementCollection::const_iterator InDetDD::TRT_DetectorManager::getDetectorElementEnd | ( | ) | const |
Definition at line 177 of file TRT_DetectorManager.cxx.
| const TRT_BaseElement * InDetDD::TRT_DetectorManager::getElement | ( | Identifier | id | ) | const |
Access Elements Generically---------------------------------------------—.
Definition at line 145 of file TRT_DetectorManager.cxx.
| const TRT_BaseElement * InDetDD::TRT_DetectorManager::getElement | ( | IdentifierHash | id | ) | const |
Definition at line 155 of file TRT_DetectorManager.cxx.
| TRT_EndcapElement * InDetDD::TRT_DetectorManager::getEndcapElement | ( | unsigned int | positive, |
| unsigned int | wheelIndex, | ||
| unsigned int | strawLayerIndex, | ||
| unsigned int | phiIndex ) |
Definition at line 124 of file TRT_DetectorManager.cxx.
| const TRT_EndcapElement * InDetDD::TRT_DetectorManager::getEndcapElement | ( | unsigned int | positive, |
| unsigned int | wheelIndex, | ||
| unsigned int | strawLayerIndex, | ||
| unsigned int | phiIndex ) const |
Access Endcap Elements:---------------—(Fast)--------------------------—.
Definition at line 116 of file TRT_DetectorManager.cxx.
|
overrideprivatevirtual |
Implements InDetDD::InDetDetectorManager.
Definition at line 132 of file TRT_DetectorManager.cxx.
|
inherited |
Definition at line 38 of file InDetDetectorManager.cxx.
|
privateinherited |
Retrieve level information.
Definition at line 87 of file InDetDetectorManager.cxx.
| TRT_Numerology * InDetDD::TRT_DetectorManager::getNumerology | ( | ) |
Access Numerological information:---------------------------------------—.
Definition at line 43 of file TRT_DetectorManager.cxx.
| const TRT_Numerology * InDetDD::TRT_DetectorManager::getNumerology | ( | ) | const |
Definition at line 47 of file TRT_DetectorManager.cxx.
|
overridevirtual |
Access Raw Geometry:----------------------------------------------------—.
Definition at line 74 of file TRT_DetectorManager.cxx.
|
overridevirtual |
Definition at line 79 of file TRT_DetectorManager.cxx.
|
inherited |
Get version information.
Definition at line 33 of file InDetDetectorManager.cxx.
|
overridevirtual |
Check identifier is for this detector.
Implements InDetDD::InDetDetectorManager.
Definition at line 451 of file TRT_DetectorManager.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
overridevirtual |
Invalidate cache for all detector elements.
Implements InDetDD::InDetDetectorManager.
Definition at line 427 of file TRT_DetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::manageBarrelElement | ( | TRT_BarrelElement * | barrel | ) |
Definition at line 89 of file TRT_DetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::manageEndcapElement | ( | TRT_EndcapElement * | endcap | ) |
Definition at line 95 of file TRT_DetectorManager.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.
|
private |
|
privateinherited |
Definition at line 303 of file InDetDetectorManager.cxx.
|
privateinherited |
return align folder string to use
Process the alignment container, calls processKey
Definition at line 275 of file InDetDetectorManager.cxx.
|
overridevirtual |
Process new global DB folders for L1 and L2.
Reimplemented from InDetDD::InDetDetectorManager.
Definition at line 492 of file TRT_DetectorManager.cxx.
|
privateinherited |
Definition at line 391 of file InDetDetectorManager.cxx.
|
privateinherited |
Called by processAlignmentContainer, applies only one key on the transform Collections.
Definition at line 328 of file InDetDetectorManager.cxx.
|
overridevirtual |
Implements InDetDD::InDetDetectorManager.
Definition at line 479 of file TRT_DetectorManager.cxx.
|
overridevirtual |
Implements InDetDD::InDetDetectorManager.
Definition at line 457 of file TRT_DetectorManager.cxx.
| bool InDetDD::TRT_DetectorManager::setAlignableTransformAnyFrameDelta | ( | ExtendedAlignableTransform * | extXF, |
| const Amg::Transform3D & | delta, | ||
| FrameType | frame, | ||
| GeoVAlignmentStore * | alignStore ) const |
Set alignable transforms: Amg based.
Definition at line 328 of file TRT_DetectorManager.cxx.
|
overridevirtual |
Set alignable transforms: Amg based.
Implements InDetDD::InDetDetectorManager.
Definition at line 304 of file TRT_DetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::setBarrelDescriptor | ( | const TRT_BarrelDescriptor * | barrelDescriptor | ) |
Set TRT_Barrel/EndcapDescriptor pointer to the internal sets to delete them in the destructor.
Definition at line 563 of file TRT_DetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::setBarrelTransformField | ( | size_t | i, |
| const GeoXF::Function * | field ) |
Definition at line 192 of file TRT_DetectorManager.cxx.
|
protectedinherited |
Definition at line 20 of file TRT_Conditions.cxx.
| void InDetDD::TRT_DetectorManager::setEndcapDescriptor | ( | const TRT_EndcapDescriptor * | endcapDescriptor | ) |
Definition at line 568 of file TRT_DetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::setEndcapTransformField | ( | size_t | i, |
| const GeoXF::Function * | field ) |
Definition at line 201 of file TRT_DetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::setGasType | ( | const ActiveGasType & | activeGasType | ) |
Definition at line 216 of file TRT_DetectorManager.cxx.
| void InDetDD::TRT_DetectorManager::setIdHelper | ( | const TRT_ID * | idHelper, |
| bool | owns = true ) |
Get the ID helper: -----------------------------------------------------—.
Definition at line 137 of file TRT_DetectorManager.cxx.
|
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.
|
inherited |
Definition at line 43 of file InDetDetectorManager.cxx.
|
overridevirtual |
Update all caches.
Implements InDetDD::InDetDetectorManager.
Definition at line 438 of file TRT_DetectorManager.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 261 of file TRT_DetectorManager.h.
|
inherited |
Definition at line 96 of file InDetDetectorManager.h.
|
private |
Definition at line 264 of file TRT_DetectorManager.h.
|
private |
Definition at line 252 of file TRT_DetectorManager.h.
|
protectedinherited |
Definition at line 99 of file InDetDetectorManager.h.
|
private |
Definition at line 256 of file TRT_DetectorManager.h.
|
private |
Definition at line 257 of file TRT_DetectorManager.h.
|
privateinherited |
Definition at line 41 of file TRT_Conditions.h.
|
private |
Definition at line 247 of file TRT_DetectorManager.h.
|
private |
Definition at line 265 of file TRT_DetectorManager.h.
|
private |
Definition at line 253 of file TRT_DetectorManager.h.
|
privateinherited |
Definition at line 182 of file InDetDetectorManager.h.
|
private |
Definition at line 255 of file TRT_DetectorManager.h.
|
privateinherited |
Definition at line 184 of file InDetDetectorManager.h.
|
private |
Definition at line 250 of file TRT_DetectorManager.h.
|
mutableprivateinherited |
|
privateinherited |
Definition at line 181 of file InDetDetectorManager.h.
|
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 249 of file TRT_DetectorManager.h.
|
private |
Definition at line 251 of file TRT_DetectorManager.h.
|
privateinherited |
Definition at line 183 of file InDetDetectorManager.h.
|
mutableprotectedinherited |
Definition at line 100 of file InDetDetectorManager.h.
|
privateinherited |
Definition at line 180 of file InDetDetectorManager.h.
|
private |
Definition at line 245 of file TRT_DetectorManager.h.
|
staticprivateinherited |
Definition at line 186 of file InDetDetectorManager.h.