4#ifndef ACTSTRK_DETECTORELEMENTTOACTSGEOMETRYIDMAP_H
5#define ACTSTRK_DETECTORELEMENTTOACTSGEOMETRYIDMAP_H
7#include "Acts/Geometry/GeometryIdentifier.hpp"
8#include <unordered_map>
12 template <
typename T_EnumClass >
14 constexpr typename std::underlying_type<T_EnumClass>::type
to_underlying(T_EnumClass an_enum) {
15 return static_cast<typename std::underlying_type<T_EnumClass>::type
>(an_enum);
30 Acts::GeometryIdentifier>
33 static const Acts::GeometryIdentifier &
makeValue(
const Acts::GeometryIdentifier &
geo_id) {
37 return element.second;
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
unsigned int DetectorElementKey
constexpr unsigned int DETELEMENT_HASH_MASK
std::underlying_type_t< T > to_underlying(T val)
constexpr unsigned int DETELEMENT_TYPE_SHIFT
DetectorElementKey makeDetectorElementKey(xAOD::UncalibMeasType meas_type, unsigned int identifier_hash)
UncalibMeasType
Define the type of the uncalibrated measurement.
static const Acts::GeometryIdentifier & makeValue(const Acts::GeometryIdentifier &geo_id)
static const Acts::GeometryIdentifier & getValue(const value_type &element)