20 {
21 unsigned int typeIndex32 = static_cast<unsigned int>(typeIndex);
27 if (measurementIndex)
29
31
32
33
35 }
37
39 MeasurementRange *currentRange = nullptr;
40
41 std::size_t n_elements = clusterContainer.
size();
42 unsigned int sl_idx = 0;
43 Acts::GeometryIdentifier measurementSurfaceId{};
44 for (; sl_idx < n_elements; ++sl_idx) {
45 const auto *measurement = clusterContainer[sl_idx];
47 if (idHash != lastIdHash) {
48 if (currentRange) {
49 currentRange->updateEnd(typeIndex, sl_idx);
50 }
51 lastIdHash = idHash;
52
54
56 }
57 if (measurementIndex) {
58
59
60
61 std::size_t
idx = measurementIndex->index(*measurement);
64 }
65 }
66
67 if (currentRange) {
68 currentRange->updateEnd(typeIndex, sl_idx);
69 }
70
72 }
std::vector< MeasurementSurfaceIndex > m_surfaceIndices
MeasurementRangeList m_measurementRanges
std::size_t m_measurementsTotal
static MeasurementRange * addMeasurementToRange(MeasurementRangeList_t &measurementRanges, unsigned int typeIndex, unsigned int sl_idx, unsigned int sl_idx_end, const xAOD::UncalibratedMeasurement *measurement, Acts::GeometryIdentifier measurementSurfaceId)
size_type size() const noexcept
Returns the number of elements in the collection.
Acts::GeometryIdentifier getSurfaceGeometryIdOfMeasurement(const DetectorElementToActsGeometryIdMap &detector_element_to_geoid, const xAOD::UncalibratedMeasurement &measurement)
unsigned int DetectorIDHashType
@ detector ID element hash