ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGeometry
ActsGeometry
SurfaceOfMeasurementUtil.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
/* Dear emacs, this is -*-c++-*- */
5
#ifndef ACTSTRK_SURFACEOFMEASUREMENTHELPER_H
6
#define ACTSTRK_SURFACEOFMEASUREMENTHELPER_H
7
8
#include "Acts/Geometry/TrackingGeometry.hpp"
9
#include "
xAODMeasurementBase/UncalibratedMeasurement.h
"
10
#include "
DetectorElementToActsGeometryIdMap.h
"
11
12
namespace
ActsTrk
{
13
inline
Acts::GeometryIdentifier
getSurfaceGeometryIdOfMeasurement
(
14
const
DetectorElementToActsGeometryIdMap
&detector_element_to_geoid,
15
const
xAOD::UncalibratedMeasurement
&measurement)
16
{
17
DetectorElementToActsGeometryIdMap::const_iterator
18
geoid_iter = detector_element_to_geoid.find(
makeDetectorElementKey
(measurement.
type
(), measurement.
identifierHash
()) );
19
return
geoid_iter != detector_element_to_geoid.end()
20
?
DetectorElementToActsGeometryIdMap::getValue
( *geoid_iter)
21
: Acts::GeometryIdentifier{};
22
}
23
}
24
25
#endif
DetectorElementToActsGeometryIdMap.h
UncalibratedMeasurement.h
xAOD::UncalibratedMeasurement_v1::identifierHash
DetectorIDHashType identifierHash() const
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash).
xAOD::UncalibratedMeasurement_v1::type
virtual xAOD::UncalibMeasType type() const =0
Returns the type of the measurement type as a simple enumeration.
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
ActsTrk::getSurfaceGeometryIdOfMeasurement
Acts::GeometryIdentifier getSurfaceGeometryIdOfMeasurement(const DetectorElementToActsGeometryIdMap &detector_element_to_geoid, const xAOD::UncalibratedMeasurement &measurement)
Definition
SurfaceOfMeasurementUtil.h:13
ActsTrk::makeDetectorElementKey
DetectorElementKey makeDetectorElementKey(xAOD::UncalibMeasType meas_type, unsigned int identifier_hash)
Definition
DetectorElementToActsGeometryIdMap.h:16
xAOD::UncalibratedMeasurement
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.
Definition
UncalibratedMeasurementFwd.h:13
ActsTrk::DetectorElementToActsGeometryIdMap
Definition
DetectorElementToActsGeometryIdMap.h:24
ActsTrk::DetectorElementToActsGeometryIdMap::getValue
static const Acts::GeometryIdentifier & getValue(const value_type &element)
Definition
DetectorElementToActsGeometryIdMap.h:29
Generated on
for ATLAS Offline Software by
1.17.0