![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef TRACKINGSURFACEHELPER_H
5 #define TRACKINGSURFACEHELPER_H
10 #include "Acts/Surfaces/Surface.hpp"
37 assert( acts_surface);
49 if (!surface)
throw std::runtime_error(
"No associated surface for xAOD::UncalibratedMeasurement");
Simple helper class which allows to access the tracking surface associated to a certain (Si-)measurem...
DetectorIDHashType identifierHash() const
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash)
void setSiDetectorElements(xAOD::UncalibMeasType type, const InDetDD::SiDetectorElementCollection *det_element_collection)
Trk::Surface & surface()
Element Surface.
const Trk::Surface & associatedSurface(const xAOD::UncalibratedMeasurement &measurement) const
std::vector< const Acts::Surface * > & actsSurfaces(xAOD::UncalibMeasType type)
static constexpr unsigned int s_NMeasTypes
virtual xAOD::UncalibMeasType type() const =0
Returns the type of the measurement type as a simple enumeration.
const Acts::Surface & associatedActsSurface(const xAOD::UncalibratedMeasurement &measurement) const
UncalibMeasType
Define the type of the uncalibrated measurement.
std::array< std::vector< const Acts::Surface * >, s_NMeasTypes > m_actsSurfaces
std::array< const InDetDD::SiDetectorElementCollection *, s_NMeasTypes > m_siDetectorElements
TrackingSurfaceHelper(std::array< std::vector< const Acts::Surface * >, s_NMeasTypes > &&acts_surfaces)