![]() |
ATLAS Offline Software
|
Base class for Pixel and SCT Detector managers. More...
#include <SiDetectorManager.h>
Public Member Functions | |
| SiDetectorManager (StoreGateSvc *detStore, const std::string &name) | |
| virtual | ~SiDetectorManager () |
| virtual const SiDetectorElement * | getDetectorElement (const Identifier &id) const =0 |
| access to individual elements using Identifier or IdentiferHash | |
| virtual const SiDetectorElement * | getDetectorElement (const IdentifierHash &idHash) const =0 |
| virtual const SiDetectorElementCollection * | getDetectorElementCollection () const =0 |
| access to whole collectiom | |
| virtual SiDetectorElementCollection::const_iterator | getDetectorElementBegin () const =0 |
| virtual SiDetectorElementCollection::const_iterator | getDetectorElementEnd () const =0 |
| virtual SiDetectorElementCollection::iterator | getDetectorElementBegin ()=0 |
| virtual SiDetectorElementCollection::iterator | getDetectorElementEnd ()=0 |
| virtual void | addDetectorElement (SiDetectorElement *element)=0 |
| Add elememts. | |
| virtual void | initNeighbours ()=0 |
| Initialize the neighbours. | |
| const std::string & | tag () const |
| Get tag used in dictionary. | |
| virtual bool | isPixel () const =0 |
| Methods to query which manager we have. | |
| bool | isSCT () const |
| virtual void | addAlignableTransform (int level, const Identifier &id, GeoAlignableTransform *xf)=0 |
| Add alignable transforms. | |
| virtual void | invalidateAll () |
| Invalidate cache for all detector elements. | |
| virtual void | updateAll () const |
| Update all caches. | |
| const SiDetectorDesign * | addDesign (std::unique_ptr< const SiDetectorDesign > &&) |
| Access to module design; returns an observer pointer. | |
| int | numDesigns () const |
| const SiDetectorDesign * | getDesign (int i) const |
| const SiNumerology & | numerology () const |
| Access Numerology. | |
| SiNumerology & | numerology () |
| void | setCommonItems (std::unique_ptr< const SiCommonItems > &&commonItems) |
| Set SiCommonItems. | |
| 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 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. | |
Static Public Member Functions | |
| static bool | setAlignableTransformGlobalDelta (ExtendedAlignableTransform *extXF, const Amg::Transform3D &delta, GeoVAlignmentStore *alignStore=nullptr) |
| Helper method to set delta transform from a global delta - Amg interface. | |
| static bool | setAlignableTransformLocalDelta (ExtendedAlignableTransform *extXF, const Amg::Transform3D &localToGlobalXF, const Amg::Transform3D &delta, GeoVAlignmentStore *alignStore=nullptr) |
| Helper method to set delta transform from a local delta - Amg interface. | |
Public Attributes | |
| AlignFolderType | m_alignfoldertype |
Protected Attributes | |
| StoreGateSvc * | m_detStore |
| std::atomic_bool | m_suppressWarnings |
Private Member Functions | |
| const SiDetectorManager & | operator= (const SiDetectorManager &right) |
| SiDetectorManager (const SiDetectorManager &right) | |
| virtual bool | setAlignableTransformDelta (int level, const Identifier &id, const Amg::Transform3D &delta, FrameType frame, GeoVAlignmentStore *alignStore) const =0 |
| This method is called by the InDetDetectorManager. | |
| 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 | 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 | |
| std::string | m_tag |
| SiNumerology | m_numerology |
| std::vector< std::unique_ptr< const SiDetectorDesign > > | m_designs |
| std::unique_ptr< const SiCommonItems > | m_commonItems |
| 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 |
Base class for Pixel and SCT Detector managers.
The Detector manager has methods to retrieve the Identifier helper and methods to retrieve the detector elements. It also manages the alignment with methods to register the call backs and infrastructure to associate the alignment transforms with the appropriate alignable transform in GeoModel. There is also access to the layout (Initial, Final, TestBeam) and and version information.
Definition at line 60 of file SiDetectorManager.h.
| InDetDD::SiDetectorManager::SiDetectorManager | ( | StoreGateSvc * | detStore, |
| const std::string & | name ) |
Definition at line 27 of file SiDetectorManager.cxx.
|
virtualdefault |
|
private |
|
pure virtual |
Add alignable transforms.
No access to these, they will be changed by manager:
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
inherited |
Definition at line 81 of file InDetDetectorManager.cxx.
|
inherited |
Alignment access.
Definition at line 56 of file InDetDetectorManager.cxx.
| const SiDetectorDesign * InDetDD::SiDetectorManager::addDesign | ( | std::unique_ptr< const SiDetectorDesign > && | design | ) |
Access to module design; returns an observer pointer.
Definition at line 134 of file SiDetectorManager.cxx.
|
pure virtual |
Add elememts.
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
inherited |
Definition at line 66 of file InDetDetectorManager.cxx.
|
inherited |
Definition at line 76 of file InDetDetectorManager.cxx.
|
inherited |
Definition at line 71 of file InDetDetectorManager.cxx.
|
inherited |
Definition at line 209 of file InDetDetectorManager.cxx.
|
inherited |
| const SiDetectorDesign * InDetDD::SiDetectorManager::getDesign | ( | int | i | ) | const |
Definition at line 146 of file SiDetectorManager.cxx.
|
pure virtual |
access to individual elements using Identifier or IdentiferHash
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
pure virtual |
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
pure virtual |
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
pure virtual |
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
pure virtual |
access to whole collectiom
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
pure virtual |
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
pure virtual |
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
privatepure virtualinherited |
|
inherited |
Definition at line 38 of file InDetDetectorManager.cxx.
|
privateinherited |
Retrieve level information.
Definition at line 87 of file InDetDetectorManager.cxx.
|
inherited |
Get version information.
Definition at line 33 of file InDetDetectorManager.cxx.
|
pure virtualinherited |
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 |
Initialize the neighbours.
This can only be done when all elements are built
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
virtual |
Invalidate cache for all detector elements.
Implements InDetDD::InDetDetectorManager.
Definition at line 39 of file SiDetectorManager.cxx.
|
pure virtual |
Methods to query which manager we have.
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
inline |
Definition at line 100 of file SiDetectorManager.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 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.
| int InDetDD::SiDetectorManager::numDesigns | ( | ) | const |
Definition at line 140 of file SiDetectorManager.cxx.
|
inline |
Definition at line 129 of file SiDetectorManager.h.
|
inline |
|
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.
|
privatevirtualinherited |
Reimplemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, InDetDD::TRT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
Definition at line 420 of file InDetDetectorManager.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.
|
privatepure virtualinherited |
|
privatepure virtualinherited |
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, InDetDD::TRT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
Definition at line 428 of file InDetDetectorManager.cxx.
|
privatepure virtual |
This method is called by the InDetDetectorManager.
Implements InDetDD::InDetDetectorManager.
Implemented in InDetDD::PixelDetectorManager, InDetDD::SCT_DetectorManager, PixelDetectorManager, and SCT_DetectorManager.
|
static |
Helper method to set delta transform from a global delta - Amg interface.
Definition at line 101 of file SiDetectorManager.cxx.
|
static |
Helper method to set delta transform from a local delta - Amg interface.
Definition at line 62 of file SiDetectorManager.cxx.
| void InDetDD::SiDetectorManager::setCommonItems | ( | std::unique_ptr< const SiCommonItems > && | commonItems | ) |
Definition at line 151 of file SiDetectorManager.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.
| const std::string & InDetDD::SiDetectorManager::tag | ( | ) | const |
|
virtual |
Update all caches.
Implements InDetDD::InDetDetectorManager.
Definition at line 51 of file SiDetectorManager.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
inherited |
Definition at line 96 of file InDetDetectorManager.h.
|
private |
Definition at line 151 of file SiDetectorManager.h.
|
private |
Definition at line 150 of file SiDetectorManager.h.
|
protectedinherited |
Definition at line 99 of file InDetDetectorManager.h.
|
privateinherited |
Definition at line 182 of file InDetDetectorManager.h.
|
privateinherited |
Definition at line 184 of file InDetDetectorManager.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 149 of file SiDetectorManager.h.
|
privateinherited |
Definition at line 183 of file InDetDetectorManager.h.
|
mutableprotectedinherited |
Definition at line 100 of file InDetDetectorManager.h.
|
private |
Definition at line 148 of file SiDetectorManager.h.
|
privateinherited |
Definition at line 180 of file InDetDetectorManager.h.
|
staticprivateinherited |
Definition at line 186 of file InDetDetectorManager.h.