16 m_helper = static_cast<const PixelID*>(m_elem->getIdHelper());
18 m_helper = static_cast<const SCT_ID*>(m_elem->getIdHelper());
20 throw std::invalid_argument(
"ActsInterop IdentityHelper can only bes ued fro SCT & Pixel det elements");
28 return std::get<const PixelID*>(
m_helper);
33 return std::get<const SCT_ID*>(
m_helper);
39 auto id =
m_elem->identify();
51 auto id =
m_elem->identify();
63 auto id =
m_elem->identify();
75 auto id =
m_elem->identify();
87 auto id =
m_elem->identify();
99 auto id =
m_elem->identify();
111 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.
const InDetDD::SiDetectorElement * m_elem
std::variant< const PixelID *, const SCT_ID * > m_helper
int eta_module_max() const
const SCT_ID * getSCTIDHelper() const
const PixelID * getPixelIDHelper() const
int phi_module_max() const
IdentityHelper(const InDetDD::SiDetectorElement *detElem)
Class to hold geometrical description of a silicon 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