20 if (siElem->isPixel()) {
22 }
else if (siElem->isSCT()) {
28 throw std::invalid_argument(
29 "ActsInterop IdentityHelper constructed with "
30 "SolidStateDetectorElementBase... can only be used for Pixel, SCT and "
38 return std::get<const PixelID*>(
m_helper);
43 return std::get<const SCT_ID*>(
m_helper);
49 return std::get<const HGTD_ID*>(
m_helper);
55 auto id =
m_elem->identify();
72 auto id =
m_elem->identify();
89 auto id =
m_elem->identify();
106 auto id =
m_elem->identify();
123 auto id =
m_elem->identify();
140 auto id =
m_elem->identify();
157 auto id =
m_elem->identify();
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
This is an Identifier helper class for the HGTD subdetector.
int eta_module(const Identifier &id) const
int phi_module_max(const Identifier &id) const
int eta_module_max(const Identifier &id) const
int layer(const Identifier &id) const
int endcap(const Identifier &id) const
Values of different levels (failure returns 0).
int phi_module(const Identifier &id) const
IdentityHelper(const InDetDD::SolidStateDetectorElementBase *detElement)
const HGTD_ID * getHgtdIdHelper() const
const InDetDD::SolidStateDetectorElementBase * m_elem
int eta_module_max() const
const SCT_ID * getSCTIDHelper() const
const PixelID * getPixelIDHelper() const
int phi_module_max() const
std::variant< const PixelID *, const SCT_ID *, const HGTD_ID * > m_helper
Class to hold geometrical description of an HGTD detector element.
Class to hold geometrical description of a silicon detector element.
Class to hold geometrical description of a solid state detector element.
This is an Identifier helper class for the Pixel subdetector.
int layer_disk(const Identifier &id) const
int eta_module_max(const Identifier &id) const
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0).
int eta_module(const Identifier &id) const
int phi_module(const Identifier &id) const
int phi_module_max(const Identifier &id) const
This is an Identifier helper class for the SCT subdetector.
int phi_module_max(const Identifier &id) const
int layer_disk(const Identifier &id) const
int side(const Identifier &id) const
int phi_module(const Identifier &id) const
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0).
int eta_module_max(const Identifier &id) const
int eta_module(const Identifier &id) const