 |
ATLAS Offline Software
|
Go to the documentation of this file.
24 if (
sc.isFailure() ) {
81 ATH_MSG_ERROR (
"HGTD_DetectorManager: Error adding detector element.");
94 element->invalidate();
103 element->updateCache();
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
std::unique_ptr< const InDetDD::SiCommonItems > m_commonItems
void updateAll() const
Update all caches.
const HGTD_ID * m_idHelper
const InDetDD::HGTD_DetectorElementCollection * getDetectorElementCollection() const
Get the collection of element that is held.
virtual IdentifierHash identifyHash() const override final
identifier hash (inline)
Identifier wafer_id(int endcap, int layer, int phi_module, int eta_module) const
For a single crystal.
The Athena Transient Store API.
const InDetDD::HGTD_DetectorElement * getDetectorElement(const Identifier &id) const
access to individual elements : via Identifier
virtual unsigned int getNumTreeTops() const override
Access to raw geometry:
::StatusCode StatusCode
StatusCode definition for legacy code.
void addTreeTop(PVConstLink treeTop)
Add a Tree top:
~HGTD_DetectorManager()
Destructor.
Class to provide easy MsgStream access and capabilities.
void invalidateAll()
Invalidate cache for all detector elements.
std::vector< PVConstLink > m_volume
bool is_valid() const
Check if id is in a valid state.
size_type wafer_hash_max(void) const
virtual PVConstLink getTreeTop(unsigned int i) const override
HGTD_DetectorManager(StoreGateSvc *detStore)
Constructor.
void resize(size_type sz)
Resizes the collection to the specified number of elements.
void addDetectorElement(InDetDD::HGTD_DetectorElement *element)
Add elememts.
const HGTD_ID * getIdHelper() const
void setCommonItems(std::unique_ptr< const InDetDD::SiCommonItems > &&commonItems)
Set SiCommonItems.
InDetDD::HGTD_DetectorElementCollection m_elementCollection
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
DataVector< HGTD_DetectorElement > HGTD_DetectorElementCollection
size_type size() const noexcept
Returns the number of elements in the collection.