20 switch (meas->
type()) {
23 case PixelClusterType:
24 case StripClusterType:
25 case HGTDClusterType:{
36 case MdtDriftCircleType:
45 return pMeas->surface().get();
53 throw std::domain_error(
"xAODUncalibMeasSurfAcc() - Cannot decode surface type");
static const xAOD::UncalibratedMeasurement * unpack(const Acts::SourceLink &sl)
Helper method to unpack an Acts source link to an uncalibrated measurement.
const Acts::Surface * get(const xAOD::UncalibratedMeasurement *meas) const
Operator.
const DetectorElementToActsGeometryIdMap * m_detectorElementToGeometryIdMap
const Acts::TrackingGeometry * m_actsTrackingGeometry
const Acts::Surface * operator()(const Acts::SourceLink &sourceLink) const
Operator called by the Acts API to fetch the surface.
xAODUncalibMeasSurfAcc()=default
Empty default constructor -> conversion will crash for ID measurements.
DetectorIDHashType identifierHash() const
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash)
virtual xAOD::UncalibMeasType type() const =0
Returns the type of the measurement type as a simple enumeration.
Athena definition of the Eigen plugin.
DetectorElementKey makeDetectorElementKey(xAOD::UncalibMeasType meas_type, unsigned int identifier_hash)
AuxiliaryMeasurement_v1 AuxiliaryMeasurement
UncalibMeasType
Define the type of the uncalibrated measurement.
const Acts::Surface & muonSurface(const UncalibratedMeasurement *meas)
Returns the associated Acts surface to the measurement.
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.
static const Acts::GeometryIdentifier & getValue(const value_type &element)