![]() |
ATLAS Offline Software
|
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT information, access. More...
#include <SCT_DetectorManager.h>
Public Member Functions | |
| SCT_DetectorManager (StoreGateSvc *detStore) | |
| Constructor. | |
| SCT_DetectorManager (StoreGateSvc *detStore, const std::string &name, const bool doEncapNeighbour=false) | |
| Constructur with name. | |
| const std::string & | tag () const |
| Get tag used in dictionary. | |
| bool | isSCT () const |
| 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 |
| 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. | |
Access Raw Geometry | |
| virtual unsigned int | getNumTreeTops () const override |
| virtual PVConstLink | getTreeTop (unsigned int i) const override |
| void | addTreeTop (const PVConstLink &vol) |
| Add tree top. | |
Access Readout Elements | |
| virtual const SiDetectorElement * | getDetectorElement (const Identifier &id) const override |
| access to individual elements via Identifier | |
| virtual const SiDetectorElement * | getDetectorElement (const IdentifierHash &idHash) const override |
| access to individual elements via IdentifierHash | |
| const SiDetectorElement * | getDetectorElement (int barrel_endcap, int layer_wheel, int phi_module, int eta_module, int side) const |
| access to individual elements via module numbering schema | |
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 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::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 |
Private member data | |
| typedef std::map< Identifier, std::unique_ptr< ExtendedAlignableTransform > > | AlignableTransformMap |
| std::vector< PVConstLink > | m_volume |
| SiDetectorElementCollection | m_elementCollection |
| std::vector< AlignableTransformMap > | m_higherAlignableTransforms |
| std::vector< std::unique_ptr< ExtendedAlignableTransform > > | m_alignableTransforms |
| std::vector< std::unique_ptr< ExtendedAlignableTransform > > | m_moduleAlignableTransforms |
| const SCT_ID * | m_idHelper |
| std::vector< std::unique_ptr< const SCT_ModuleSideDesign > > | m_motherDesigns |
| bool | m_isLogical |
| This variable switches the how the local alignment corrections are applied If true they will be calcualted on top of all of other corrections but in the default reference frame If false they will be calcualted on top of all of other corrections but in the globally aligned reference frame. | |
| bool | m_doEndcapEtaNeighbour |
access to whole collectiom via iterators | |
| virtual const SiDetectorElementCollection * | getDetectorElementCollection () const override |
| access to whole collectiom | |
| virtual SiDetectorElementCollection::const_iterator | getDetectorElementBegin () const override |
| virtual SiDetectorElementCollection::const_iterator | getDetectorElementEnd () const override |
| virtual SiDetectorElementCollection::iterator | getDetectorElementBegin () override |
| virtual SiDetectorElementCollection::iterator | getDetectorElementEnd () override |
| virtual void | addDetectorElement (SiDetectorElement *element) override |
| Add elememts during construction. | |
| virtual void | addAlignableTransform (int level, const Identifier &id, GeoAlignableTransform *xf, const GeoVFullPhysVol *child) |
| Add alignable transforms. No access to these, they will be changed by manager: | |
| virtual void | addAlignableTransform (int level, const Identifier &id, GeoAlignableTransform *xf, const GeoVPhysVol *child) |
| As above but does a dynamic_cast to GeoVFullPhysVol. | |
| virtual void | addAlignableTransform (int, const Identifier &, GeoAlignableTransform *) override |
| DEPRECATED For backward compatibility. | |
| virtual void | initNeighbours () override |
| Initialize the neighbours. This can only be done when all elements are built. | |
| virtual bool | isPixel () const override |
| Methods to query which manager we have. | |
| virtual bool | identifierBelongs (const Identifier &id) const override |
| Check identifier is for this detector. | |
| const SCT_ModuleSideDesign * | getSCT_Design (int i) const |
| Access to module design, casts to SCT_ModuleSideDesign. | |
| 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 alignfolder) override |
| Comply with InDetDetectorManager interface (not implemented for SCT) | |
| bool | processSpecialAlignment (const std::string &key, const CondAttrListCollection *obj=nullptr, GeoVAlignmentStore *alignStore=nullptr) const override |
| Comply with InDetDetectorManager interface (not implemented for SCT) | |
| void | addMotherDesign (std::unique_ptr< const SCT_ModuleSideDesign > &&) |
| int | getStripEndcapEtaNeighbour (const SiDetectorElement *element, IdentifierHash &idHashNeighbour, const bool phi_plus_one=false) const |
| virtual bool | setAlignableTransformDelta (int level, const Identifier &id, const Amg::Transform3D &delta, FrameType frame, GeoVAlignmentStore *alignStore) const override |
| implements the main alignment update for delta transforms in different frames, it translates into the LocalDelta or GlobalDelta function of SiDetectorManager | |
| const SCT_DetectorManager & | operator= (const SCT_DetectorManager &right)=delete |
| Prevent assign operator. | |
| SCT_DetectorManager (const SCT_DetectorManager &right)=delete | |
| Prevent copy constructor. | |
| virtual const SCT_ID * | getIdHelper () const override |
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT information, access.
Definition at line 49 of file SCT_DetectorManager.h.
|
private |
Definition at line 177 of file SCT_DetectorManager.h.
| InDetDD::SCT_DetectorManager::SCT_DetectorManager | ( | StoreGateSvc * | detStore | ) |
Constructor.
Definition at line 25 of file SCT_DetectorManager.cxx.
| InDetDD::SCT_DetectorManager::SCT_DetectorManager | ( | StoreGateSvc * | detStore, |
| const std::string & | name, | ||
| const bool | doEncapNeighbour = false ) |
Constructur with name.
Definition at line 28 of file SCT_DetectorManager.cxx.
|
privatedelete |
Prevent copy constructor.
|
virtual |
Add alignable transforms. No access to these, they will be changed by manager:
Definition at line 353 of file SCT_DetectorManager.cxx.
|
virtual |
As above but does a dynamic_cast to GeoVFullPhysVol.
Definition at line 337 of file SCT_DetectorManager.cxx.
|
inlineoverridevirtual |
DEPRECATED For backward compatibility.
Implements InDetDD::SiDetectorManager.
Definition at line 111 of file SCT_DetectorManager.h.
|
inherited |
Definition at line 81 of file InDetDetectorManager.cxx.
|
inherited |
Alignment access.
Definition at line 56 of file InDetDetectorManager.cxx.
|
inherited |
Access to module design; returns an observer pointer.
Definition at line 134 of file SiDetectorManager.cxx.
|
overridevirtual |
Add elememts during construction.
Implements InDetDD::SiDetectorManager.
Definition at line 117 of file SCT_DetectorManager.cxx.
|
inherited |
Definition at line 66 of file InDetDetectorManager.cxx.
|
inherited |
Definition at line 76 of file InDetDetectorManager.cxx.
| void InDetDD::SCT_DetectorManager::addMotherDesign | ( | std::unique_ptr< const SCT_ModuleSideDesign > && | motherDesign | ) |
Definition at line 473 of file SCT_DetectorManager.cxx.
|
inherited |
Definition at line 71 of file InDetDetectorManager.cxx.
| void InDetDD::SCT_DetectorManager::addTreeTop | ( | const PVConstLink & | vol | ) |
Add tree top.
Definition at line 62 of file SCT_DetectorManager.cxx.
|
inherited |
Definition at line 209 of file InDetDetectorManager.cxx.
|
inherited |
|
inherited |
Definition at line 146 of file SiDetectorManager.cxx.
|
overridevirtual |
access to individual elements via Identifier
Implements InDetDD::SiDetectorManager.
Definition at line 66 of file SCT_DetectorManager.cxx.
|
overridevirtual |
access to individual elements via IdentifierHash
Implements InDetDD::SiDetectorManager.
Definition at line 80 of file SCT_DetectorManager.cxx.
| const SiDetectorElement * InDetDD::SCT_DetectorManager::getDetectorElement | ( | int | barrel_endcap, |
| int | layer_wheel, | ||
| int | phi_module, | ||
| int | eta_module, | ||
| int | side ) const |
access to individual elements via module numbering schema
Definition at line 85 of file SCT_DetectorManager.cxx.
|
overridevirtual |
Implements InDetDD::SiDetectorManager.
Definition at line 95 of file SCT_DetectorManager.cxx.
|
overridevirtual |
Implements InDetDD::SiDetectorManager.
Definition at line 105 of file SCT_DetectorManager.cxx.
|
overridevirtual |
access to whole collectiom
Implements InDetDD::SiDetectorManager.
Definition at line 90 of file SCT_DetectorManager.cxx.
|
overridevirtual |
Implements InDetDD::SiDetectorManager.
Definition at line 100 of file SCT_DetectorManager.cxx.
|
overridevirtual |
Implements InDetDD::SiDetectorManager.
Definition at line 110 of file SCT_DetectorManager.cxx.
|
overrideprivatevirtual |
Implements InDetDD::InDetDetectorManager.
Definition at line 235 of file SCT_DetectorManager.cxx.
|
inherited |
Definition at line 38 of file InDetDetectorManager.cxx.
|
privateinherited |
Retrieve level information.
Definition at line 87 of file InDetDetectorManager.cxx.
|
overridevirtual |
Definition at line 52 of file SCT_DetectorManager.cxx.
| const SCT_ModuleSideDesign * InDetDD::SCT_DetectorManager::getSCT_Design | ( | int | i | ) | const |
Access to module design, casts to SCT_ModuleSideDesign.
Definition at line 389 of file SCT_DetectorManager.cxx.
|
private |
Definition at line 176 of file SCT_DetectorManager.cxx.
|
overridevirtual |
Definition at line 57 of file SCT_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 383 of file SCT_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 |
Initialize the neighbours. This can only be done when all elements are built.
Implements InDetDD::SiDetectorManager.
Definition at line 125 of file SCT_DetectorManager.cxx.
|
virtualinherited |
Invalidate cache for all detector elements.
Implements InDetDD::InDetDetectorManager.
Definition at line 39 of file SiDetectorManager.cxx.
|
inlineoverridevirtual |
Methods to query which manager we have.
Implements InDetDD::SiDetectorManager.
Definition at line 117 of file SCT_DetectorManager.h.
|
inlineinherited |
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.
|
inherited |
Definition at line 140 of file SiDetectorManager.cxx.
|
inlineinherited |
Definition at line 129 of file SiDetectorManager.h.
|
inlineinherited |
|
privatedelete |
Prevent assign operator.
|
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 395 of file SCT_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 |
Comply with InDetDetectorManager interface (not implemented for SCT)
Implements InDetDD::InDetDetectorManager.
Definition at line 466 of file SCT_DetectorManager.cxx.
|
overridevirtual |
Comply with InDetDetectorManager interface (not implemented for SCT)
Implements InDetDD::InDetDetectorManager.
Definition at line 461 of file SCT_DetectorManager.cxx.
|
overrideprivatevirtual |
implements the main alignment update for delta transforms in different frames, it translates into the LocalDelta or GlobalDelta function of SiDetectorManager
Implements InDetDD::SiDetectorManager.
Definition at line 241 of file SCT_DetectorManager.cxx.
|
staticinherited |
Helper method to set delta transform from a global delta - Amg interface.
Definition at line 101 of file SiDetectorManager.cxx.
|
staticinherited |
Helper method to set delta transform from a local delta - Amg interface.
Definition at line 62 of file SiDetectorManager.cxx.
|
inherited |
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.
|
inherited |
|
virtualinherited |
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.
|
private |
Definition at line 179 of file SCT_DetectorManager.h.
|
inherited |
Definition at line 96 of file InDetDetectorManager.h.
|
privateinherited |
Definition at line 151 of file SiDetectorManager.h.
|
privateinherited |
Definition at line 150 of file SiDetectorManager.h.
|
protectedinherited |
Definition at line 99 of file InDetDetectorManager.h.
|
private |
Definition at line 192 of file SCT_DetectorManager.h.
|
private |
Definition at line 176 of file SCT_DetectorManager.h.
|
privateinherited |
Definition at line 182 of file InDetDetectorManager.h.
|
privateinherited |
Definition at line 184 of file InDetDetectorManager.h.
|
private |
Definition at line 178 of file SCT_DetectorManager.h.
|
private |
Definition at line 181 of file SCT_DetectorManager.h.
|
mutableprivateinherited |
|
private |
This variable switches the how the local alignment corrections are applied If true they will be calcualted on top of all of other corrections but in the default reference frame If false they will be calcualted on top of all of other corrections but in the globally aligned reference frame.
Definition at line 189 of file SCT_DetectorManager.h.
|
privateinherited |
Definition at line 181 of file InDetDetectorManager.h.
|
mutableprivateinherited |
|
private |
Definition at line 180 of file SCT_DetectorManager.h.
|
private |
Definition at line 182 of file SCT_DetectorManager.h.
|
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.
|
privateinherited |
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.
|
privateinherited |
Definition at line 148 of file SiDetectorManager.h.
|
privateinherited |
Definition at line 180 of file InDetDetectorManager.h.
|
private |
Definition at line 175 of file SCT_DetectorManager.h.
|
staticprivateinherited |
Definition at line 186 of file InDetDetectorManager.h.