ATLAS Offline Software
TrackFindingMeasurements.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSTRACKRECONSTRUCTION_TRACKFINDINGMEASUREMENTS_H
6 #define ACTSTRACKRECONSTRUCTION_TRACKFINDINGMEASUREMENTS_H
7 
10 
12 
13 namespace ActsTrk::detail {
14 
15  // === TrackFindingMeasurements ============================================
16  // Helper class to convert MeasurementContainer specializations to UncalibSourceLinkMultiset.
18  public:
19  TrackFindingMeasurements(std::size_t nMeasurementContainerMax);
25 
26  // NB. all addDetectorElements() must have been done before calling first addMeasurements().
27  void addMeasurements(std::size_t typeIndex,
28  const xAOD::UncalibratedMeasurementContainer &clusterContainer,
29  const DetectorElementToActsGeometryIdMap &detectorElementToGeoid);
30 
32 
33 
34  inline std::size_t measurementOffset(std::size_t typeIndex) const;
35  inline const std::vector<std::size_t>& measurementOffsets() const;
37  inline std::size_t nMeasurements() const;
38 
39  private:
40  std::vector<std::size_t> m_measurementOffsets{};
41  // ActsTrk::detail::MeasurementRangeList is an std::unordered_map;
43  std::size_t m_measurementsTotal{0ul};
44  };
45 
46 } // namespace ActsTrk::detail
47 
49 
50 #endif
ActsTrk::detail::TrackFindingMeasurements
Definition: TrackFindingMeasurements.h:17
ActsTrk::DetectorElementToActsGeometryIdMap
Definition: DetectorElementToActsGeometryIdMap.h:31
ActsTrk::detail::TrackFindingMeasurements::TrackFindingMeasurements
TrackFindingMeasurements(std::size_t nMeasurementContainerMax)
Definition: TrackFindingMeasurements.cxx:9
ActsTrk::detail::TrackFindingMeasurements::nMeasurements
std::size_t nMeasurements() const
AtlasUncalibSourceLinkAccessor.h
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
detail
Definition: extract_histogram_tag.cxx:14
ActsTrk::detail::GenMeasurementRangeList< AtlasMeasurementContainerList >
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
ActsTrk::detail::TrackFindingMeasurements::operator=
TrackFindingMeasurements & operator=(const TrackFindingMeasurements &)=default
ActsTrk::detail::TrackFindingMeasurements::TrackFindingMeasurements
TrackFindingMeasurements(const TrackFindingMeasurements &)=default
TrackFindingMeasurements.icc
vector
Definition: MultiHisto.h:13
ActsTrk::detail::TrackFindingMeasurements::measurementContainerOffsets
std::vector< std::pair< const xAOD::UncalibratedMeasurementContainer *, std::size_t > > measurementContainerOffsets() const
Definition: TrackFindingMeasurements.cxx:82
detail::ul
unsigned long ul
Definition: PrimitiveHelpers.h:45
ActsTrk::detail::TrackFindingMeasurements::m_measurementsTotal
std::size_t m_measurementsTotal
Definition: TrackFindingMeasurements.h:43
ActsTrk::detail::TrackFindingMeasurements::addMeasurements
void addMeasurements(std::size_t typeIndex, const xAOD::UncalibratedMeasurementContainer &clusterContainer, const DetectorElementToActsGeometryIdMap &detectorElementToGeoid)
Definition: TrackFindingMeasurements.cxx:14
ActsTrk::detail::TrackFindingMeasurements::TrackFindingMeasurements
TrackFindingMeasurements(TrackFindingMeasurements &&) noexcept=default
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
ActsTrk::detail::TrackFindingMeasurements::m_measurementRanges
ActsTrk::detail::MeasurementRangeList m_measurementRanges
Definition: TrackFindingMeasurements.h:42
ActsTrk::detail::TrackFindingMeasurements::measurementRanges
const ActsTrk::detail::MeasurementRangeList & measurementRanges() const
xAOD::UncalibratedMeasurementContainer
UncalibratedMeasurementContainer_v1 UncalibratedMeasurementContainer
Define the version of the uncalibrated measurement container.
Definition: UncalibratedMeasurementContainer.h:14
SurfaceOfMeasurementUtil.h
ActsTrk::detail::TrackFindingMeasurements::m_measurementOffsets
std::vector< std::size_t > m_measurementOffsets
Definition: TrackFindingMeasurements.h:40
ActsTrk::detail::TrackFindingMeasurements::measurementOffsets
const std::vector< std::size_t > & measurementOffsets() const
ActsTrk::detail::TrackFindingMeasurements::measurementOffset
std::size_t measurementOffset(std::size_t typeIndex) const
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:49
ActsTrk::detail
Definition: Decoration.h:14
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
DetectorElementToActsGeometryIdMap.h