![]() |
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::iterator | getDetectorElementBegin ()=0 |
| virtual SiDetectorElementCollection::const_iterator | getDetectorElementEnd () const=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. | |
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. | |
Private Member Functions | |
| SiDetectorManager (const SiDetectorManager &right) | |
| const SiDetectorManager & | operator= (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. | |
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 |
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.
|
private |
|
virtualdefault |
|
pure virtual |
Add alignable transforms.
No access to these, they will be changed by manager:
| 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.
| 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
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
access to whole collectiom
|
pure virtual |
|
pure virtual |
|
pure virtual |
Initialize the neighbours.
This can only be done when all elements are built
|
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.
|
inline |
Definition at line 100 of file SiDetectorManager.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 |
|
privatepure virtual |
This method is called by the InDetDetectorManager.
|
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.
| const std::string & InDetDD::SiDetectorManager::tag | ( | ) | const |
|
virtual |
Update all caches.
Implements InDetDD::InDetDetectorManager.
Definition at line 51 of file SiDetectorManager.cxx.
|
private |
Definition at line 151 of file SiDetectorManager.h.
|
private |
Definition at line 150 of file SiDetectorManager.h.
|
private |
Definition at line 149 of file SiDetectorManager.h.
|
private |
Definition at line 148 of file SiDetectorManager.h.