#include <MeasurementCalibrator.h>
Definition at line 34 of file MeasurementCalibrator.h.
◆ MeasurementParameterMap()
| ActsTrk::MeasurementParameterMap::MeasurementParameterMap |
( |
| ) |
|
|
inline |
Definition at line 48 of file MeasurementCalibrator.h.
48 {
49
50 std::vector<unsigned int> pixel_vol {16, 15, 9, 20, 19, 18, 10, 14, 13, 8};
51 for (unsigned int vol_id : pixel_vol) {
53 }
54 std::vector<unsigned int> strip_vol {23, 22, 24};
55 for (unsigned int vol_id : strip_vol) {
57 }
58 std::vector<unsigned int> hgtd_vol {2, 25};
59 for (unsigned int vol_id : hgtd_vol) {
61 }
62 }
void setMeasurementTypeForVolumeId(unsigned int volume_id, xAOD::UncalibMeasType type)
◆ measurementTypeFromVolumeId()
| xAOD::UncalibMeasType ActsTrk::MeasurementParameterMap::measurementTypeFromVolumeId |
( |
unsigned int | volume_id | ) |
const |
|
inline |
Definition at line 37 of file MeasurementCalibrator.h.
37 {
38 unsigned char shift = (volume_id%2) ? 4 : 0;
39 unsigned char idx = volume_id/2;
41 }
UncalibMeasType
Define the type of the uncalibrated measurement.
std::array< unsigned char, 128 > m_volumeIdToMeasurementType
◆ parameterMap()
template<std::size_t DIM>
| Acts::SubspaceIndices< DIM > ActsTrk::MeasurementParameterMap::parameterMap |
( |
const Acts::GeometryContext & | , |
|
|
const Acts::CalibrationContext & | , |
|
|
const Acts::Surface & | surface ) const |
|
inline |
Definition at line 65 of file MeasurementCalibrator.h.
67 {
68
69 if constexpr(DIM==3) {
72 }
73 else if constexpr(DIM==2) {
76 }
77 else if constexpr(DIM==1) {
79 auto boundType = surface.bounds().type();
80 const std::size_t projector_idx = boundType == Acts::SurfaceBounds::eAnnulus;
82 }
83 else {
84 throw std::runtime_error("Unsupported dimension");
85 }
86
87 }
static constexpr Acts::SubspaceIndices< 2 > s_pixelSubspaceIndices
static constexpr std::array< Acts::SubspaceIndices< 1 >, 2 > s_stripSubspaceIndices
static constexpr Acts::SubspaceIndices< 3 > s_hgtdSubspaceIndices
xAOD::UncalibMeasType measurementTypeFromVolumeId(unsigned int volume_id) const
◆ setMeasurementTypeForVolumeId()
| void ActsTrk::MeasurementParameterMap::setMeasurementTypeForVolumeId |
( |
unsigned int | volume_id, |
|
|
xAOD::UncalibMeasType | type ) |
|
inline |
Definition at line 42 of file MeasurementCalibrator.h.
42 {
44 unsigned char shift = (volume_id%2) ? 4 : 0;
45 unsigned char idx = volume_id/2;
47 }
◆ m_volumeIdToMeasurementType
| std::array<unsigned char, 128> ActsTrk::MeasurementParameterMap::m_volumeIdToMeasurementType {} |
◆ s_hgtdSubspaceIndices
| Acts::SubspaceIndices<3> ActsTrk::MeasurementParameterMap::s_hgtdSubspaceIndices |
|
staticconstexpr |
Initial value:= {
Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundTime
}
Definition at line 96 of file MeasurementCalibrator.h.
96 {
97 Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundTime
98 };
◆ s_pixelSubspaceIndices
| Acts::SubspaceIndices<2> ActsTrk::MeasurementParameterMap::s_pixelSubspaceIndices |
|
staticconstexpr |
Initial value:= {
Acts::eBoundLoc0, Acts::eBoundLoc1
}
Definition at line 93 of file MeasurementCalibrator.h.
93 {
94 Acts::eBoundLoc0, Acts::eBoundLoc1
95 };
◆ s_stripSubspaceIndices
| std::array<Acts::SubspaceIndices<1>, 2> ActsTrk::MeasurementParameterMap::s_stripSubspaceIndices |
|
staticconstexpr |
Initial value:= {
{{Acts::eBoundLoc0},
{Acts::eBoundLoc1}}
}
Definition at line 89 of file MeasurementCalibrator.h.
89 {
90 {{Acts::eBoundLoc0},
91 {Acts::eBoundLoc1}}
92 };
The documentation for this struct was generated from the following file: