|
ATLAS Offline Software
|
Go to the documentation of this file.
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");
70 std::vector<const Trk::Surface*>
s;
Ensure that the extensions for the Vector3D are properly loaded.
const T * ptr() const
Return a pointer to the cached value.
virtual ~HGTD_DetectorElement()
Destructor:
CxxUtils::CachedValue< std::vector< const Trk::Surface * > > m_surfaces
SiCellId cellIdFromIdentifier(const Identifier &identifier) const override final
SiCellId from Identifier.
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
IdentifierHash m_idHash
hash id of this detector element
bool isValid() const
Test to see if the value is valid.
virtual const Amg::Vector3D & center() const override final
Center in global coordinates.
bool isValid() const
Test if its in a valid state.
Trk::Surface & surface()
Element Surface.
int eta_index(const Identifier &id) const
int phiIndex() const
Get phi index. Equivalent to strip().
virtual const std::vector< const Trk::Surface * > & surfaces() const
Returns the full list of surfaces associated to this detector element.
const AtlasDetectorID * getIdHelper() const
Returns the id helper (inline)
int phi_index(const Identifier &id) const
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
int etaIndex() const
Get eta index.
bool is_valid() const
Check if id is in a valid state.
void set(const T &val) const
Set the value, assuming it is currently invalid.
Identifier pixel_id(int endcap, int layer, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
Identifier m_id
identifier of this detector element
HGTD_DetectorElement(const Identifier &id, const HGTD_ModuleDesign *design, const GeoVFullPhysVol *geophysvol, const SiCommonItems *commonItems, const GeoAlignmentStore *geoAlignStore=nullptr)
Constructor:
Identifier identifierFromCellId(const SiCellId &cellId) const override final
Identifier from SiCellId (ie pixel eta_index,phi_index)
double get_rz() const override final