23 StatusCode
sc = detStore->retrieve(
m_idHelper,
"HGTD_ID");
24 if (
sc.isFailure() ) {
81 ATH_MSG_ERROR (
"HGTD_DetectorManager: Error adding detector element.");
94 element->invalidate();
103 element->updateCache();
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
const HGTD_ID * m_idHelper
virtual unsigned int getNumTreeTops() const override
Access to raw geometry:
void addTreeTop(PVConstLink treeTop)
Add a Tree top:
const InDetDD::HGTD_DetectorElement * getDetectorElement(const Identifier &id) const
access to individual elements : via Identifier
const InDetDD::HGTD_DetectorElementCollection * getDetectorElementCollection() const
Get the collection of element that is held.
void invalidateAll()
Invalidate cache for all detector elements.
void updateAll() const
Update all caches.
~HGTD_DetectorManager()
Destructor.
std::vector< PVConstLink > m_volume
HGTD_DetectorManager(StoreGateSvc *detStore)
Constructor.
std::unique_ptr< const InDetDD::SiCommonItems > m_commonItems
void addDetectorElement(InDetDD::HGTD_DetectorElement *element)
Add elememts.
const HGTD_ID * getIdHelper() const
virtual PVConstLink getTreeTop(unsigned int i) const override
void setCommonItems(std::unique_ptr< const InDetDD::SiCommonItems > &&commonItems)
Set SiCommonItems.
InDetDD::HGTD_DetectorElementCollection m_elementCollection
This is an Identifier helper class for the HGTD subdetector.
This is a "hash" representation of an Identifier.
bool is_valid() const
Check if id is in a valid state.
Class to hold geometrical description of an HGTD detector element.
Helper class to concentrate common items, such as the pointer to the IdHelper, the lorentzAngle tool ...
virtual IdentifierHash identifyHash() const override final
identifier hash (inline)
The Athena Transient Store API.
DataVector< HGTD_DetectorElement > HGTD_DetectorElementCollection