![]() |
ATLAS Offline Software
|
Virtual base class for all ID detector managers. More...
#include <InDetDetectorManager.h>
Classes | |
| class | AlignInfo |
| class | LevelInfo |
| Private helper class definition. More... | |
Public Member Functions | |
| InDetDetectorManager (StoreGateSvc *detStore, const std::string &name) | |
| virtual | ~InDetDetectorManager () |
| 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 |
| virtual void | invalidateAll ()=0 |
| Invalidate cache for all detector elements. | |
| virtual void | updateAll () const =0 |
| Update all caches. | |
| virtual bool | identifierBelongs (const Identifier &id) const =0 |
| Check identifier is for this detector. | |
| 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. | |
Public Attributes | |
| AlignFolderType | m_alignfoldertype |
Protected Attributes | |
| StoreGateSvc * | m_detStore |
| std::atomic_bool | m_suppressWarnings |
Private Member Functions | |
| 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. | |
| virtual bool | setAlignableTransformDelta (int level, const Identifier &id, const Amg::Transform3D &delta, FrameType frame, GeoVAlignmentStore *alignStore=nullptr) const =0 |
| Set method applying the delta transform (in global or local frame) onto the geoModel transform : CLHEP <--> Amg interface. | |
| virtual bool | processSpecialAlignment (const std::string &key, InDetDD::AlignFolderType alignfolder)=0 |
| virtual bool | processSpecialAlignment (const std::string &key, const CondAttrListCollection *obj=nullptr, GeoVAlignmentStore *alignStore=nullptr) const =0 |
| bool | processGlobalAlignmentContainer (const std::string &key, const CondAttrListCollection *obj=nullptr, GeoVAlignmentStore *alignStore=nullptr) const |
| virtual bool | processGlobalAlignment (const std::string &key, int level, FrameType frame, const CondAttrListCollection *obj=nullptr, GeoVAlignmentStore *alignStore=nullptr) const |
| virtual const AtlasDetectorID * | getIdHelper () const =0 |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| 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) | |
Static Private Attributes | |
| static const LevelInfo | s_invalidLevel |
Virtual base class for all ID detector managers.
It implements the processKey() method for alingment which calls the setAlignableTransformDelta() method which is specified in the extended classes. This method supports both, local and global delta's in the frame and translates it to the underlying GeoModel transform. As GeoModel (CLHEP) and tracking (Amg) use different geo libraries, these are the methods that act as the CLHEP <--> Amg interface
Definition at line 60 of file InDetDetectorManager.h.
| InDetDD::InDetDetectorManager::InDetDetectorManager | ( | StoreGateSvc * | detStore, |
| const std::string & | name ) |
Definition at line 20 of file InDetDetectorManager.cxx.
|
virtualdefault |
| void InDetDD::InDetDetectorManager::addAlignFolderType | ( | const AlignFolderType | alignfolder | ) |
Definition at line 81 of file InDetDetectorManager.cxx.
| void InDetDD::InDetDetectorManager::addChannel | ( | const std::string & | key, |
| int | level, | ||
| FrameType | frame ) |
Alignment access.
Definition at line 56 of file InDetDetectorManager.cxx.
| void InDetDD::InDetDetectorManager::addFolder | ( | const std::string & | key | ) |
Definition at line 66 of file InDetDetectorManager.cxx.
| void InDetDD::InDetDetectorManager::addGlobalFolder | ( | const std::string & | key | ) |
Definition at line 76 of file InDetDetectorManager.cxx.
| void InDetDD::InDetDetectorManager::addSpecialFolder | ( | const std::string & | key | ) |
Definition at line 71 of file InDetDetectorManager.cxx.
| StatusCode InDetDD::InDetDetectorManager::align | ( | const RawAlignmentObjects & | alignObjects, |
| GeoVAlignmentStore * | alignStore ) const |
Definition at line 209 of file InDetDetectorManager.cxx.
| StatusCode InDetDD::InDetDetectorManager::align | ( | IOVSVC_CALLBACK_ARGS | ) |
|
privatepure virtual |
| const std::string & InDetDD::InDetDetectorManager::getLayout | ( | ) | const |
Definition at line 38 of file InDetDetectorManager.cxx.
|
private |
Retrieve level information.
Definition at line 87 of file InDetDetectorManager.cxx.
| const Version & InDetDD::InDetDetectorManager::getVersion | ( | ) | const |
Get version information.
Definition at line 33 of file InDetDetectorManager.cxx.
|
pure virtual |
Check identifier is for this detector.
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, InDetDD::TRT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
pure virtual |
Invalidate cache for all detector elements.
Implemented in InDetDD::SiDetectorManager, InDetDD::TRT_DetectorManager, and SiDetectorManager.
|
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 |
Definition at line 303 of file InDetDetectorManager.cxx.
|
private |
return align folder string to use
Process the alignment container, calls processKey
Definition at line 275 of file InDetDetectorManager.cxx.
|
privatevirtual |
Reimplemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, InDetDD::TRT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
Definition at line 420 of file InDetDetectorManager.cxx.
|
private |
Definition at line 391 of file InDetDetectorManager.cxx.
|
private |
Called by processAlignmentContainer, applies only one key on the transform Collections.
Definition at line 328 of file InDetDetectorManager.cxx.
|
privatepure virtual |
|
privatepure virtual |
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, InDetDD::TRT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
Definition at line 428 of file InDetDetectorManager.cxx.
|
privatepure virtual |
Set method applying the delta transform (in global or local frame) onto the geoModel transform : CLHEP <--> Amg interface.
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, InDetDD::SiDetectorManager, InDetDD::TRT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
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::InDetDetectorManager::setVersion | ( | const Version & | version | ) |
Definition at line 43 of file InDetDetectorManager.cxx.
|
pure virtual |
Update all caches.
Implemented in InDetDD::SiDetectorManager, InDetDD::TRT_DetectorManager, and SiDetectorManager.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
| AlignFolderType InDetDD::InDetDetectorManager::m_alignfoldertype |
Definition at line 96 of file InDetDetectorManager.h.
|
protected |
Definition at line 99 of file InDetDetectorManager.h.
|
private |
Definition at line 182 of file InDetDetectorManager.h.
|
private |
Definition at line 184 of file InDetDetectorManager.h.
|
mutableprivateinherited |
|
private |
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 183 of file InDetDetectorManager.h.
|
mutableprotected |
Definition at line 100 of file InDetDetectorManager.h.
|
private |
Definition at line 180 of file InDetDetectorManager.h.
|
staticprivate |
Definition at line 186 of file InDetDetectorManager.h.