8#include "GeoModelKernel/GeoVFullPhysVol.h"
19 const GeoVFullPhysVol *geophysvol,
27 if (!
m_idHash.is_valid())
throw std::runtime_error(
"HGTD_DetectorElement: Unable to set IdentifierHash");
55 if (identifier.is_valid()) {
70 std::vector<const Trk::Surface*> s;
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Ensure that the extensions for the Vector3D are properly loaded.
This is an Identifier helper class for the HGTD subdetector.
int eta_index(const Identifier &id) const
Identifier pixel_id(int endcap, int layer, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
int phi_index(const Identifier &id) const
Identifier identifierFromCellId(const SiCellId &cellId) const override final
Identifier from SiCellId (ie pixel eta_index,phi_index)
SiCellId cellIdFromIdentifier(const Identifier &identifier) const override final
SiCellId from Identifier.
const HGTD_ModuleDesign & design() const override final
access to the local description:
HGTD_DetectorElement(const Identifier &id, const HGTD_ModuleDesign *design, const GeoVFullPhysVol *geophysvol, const SiCommonItems *commonItems, const GeoAlignmentStore *geoAlignStore=nullptr)
Constructor:
virtual ~HGTD_DetectorElement()
Destructor:
virtual const std::vector< const Trk::Surface * > & surfaces() const
Returns the full list of surfaces associated to this detector element.
double get_rz() const override final
CxxUtils::CachedValue< std::vector< const Trk::Surface * > > m_surfaces
Class used to describe the design of a module (diode segmentation and readout scheme)
Identifier for the strip or pixel cell.
int phiIndex() const
Get phi index. Equivalent to strip().
bool isValid() const
Test if its in a valid state.
int etaIndex() const
Get eta index.
Helper class to concentrate common items, such as the pointer to the IdHelper, the lorentzAngle tool ...
virtual const Amg::Vector3D & center() const override final
Center in global coordinates.
SolidStateDetectorElementBase(const Identifier &id, const DetectorDesign *design, const GeoVFullPhysVol *geophysvol, const SiCommonItems *commonItems, const GeoAlignmentStore *geoAlignStore=nullptr)
Constructor with parameters.
IdentifierHash m_idHash
hash id of this detector element
const AtlasDetectorID * getIdHelper() const
Returns the id helper (inline)
Trk::Surface & surface()
Element Surface.
Identifier m_id
identifier of this detector element