ATLAS Offline Software
Tracking
Acts
ActsTrackReconstruction
src
detail
TrkMeasurementCalibrator.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
src/detail/TrkMeasurementCalibrator.h
"
6
7
namespace
ActsTrk::detail
{
8
9
// internal class implementation
10
TrkMeasurementCalibrator::MeasurementAdapter::MeasurementAdapter
(
const
Trk::MeasurementBase
&measurement)
11
: m_measurement(&measurement)
12
{}
13
14
xAOD::UncalibMeasType
TrkMeasurementCalibrator::MeasurementAdapter::type
()
const
15
{
16
switch
(m_measurement->localParameters().dimension()) {
17
case
1:
return
xAOD::UncalibMeasType::StripClusterType
;
18
case
2:
return
xAOD::UncalibMeasType::PixelClusterType
;
19
case
3:
return
xAOD::UncalibMeasType::HGTDClusterType
;
20
default
:
return
xAOD::UncalibMeasType::Other
;
21
}
22
}
23
24
// class implementation
25
TrkMeasurementCalibrator::TrkMeasurementCalibrator
(
const
ActsTrk::IActsToTrkConverterTool
&converter_tool)
26
:
m_converterTool
(&converter_tool)
27
{}
28
29
}
// namespace ActsTrk::detail
ActsTrk::detail::TrkMeasurementCalibrator::m_converterTool
const ActsTrk::IActsToTrkConverterTool * m_converterTool
Definition:
TrkMeasurementCalibrator.h:52
xAOD::UncalibMeasType::HGTDClusterType
@ HGTDClusterType
xAOD::UncalibMeasType::StripClusterType
@ StripClusterType
ActsTrk::detail::TrkMeasurementCalibrator::MeasurementAdapter::MeasurementAdapter
MeasurementAdapter(const Trk::MeasurementBase &measurement)
Definition:
TrkMeasurementCalibrator.cxx:10
ActsTrk::IActsToTrkConverterTool
Definition:
IActsToTrkConverterTool.h:43
xAOD::Other
@ Other
ActsTrk::detail::TrkMeasurementCalibrator::MeasurementAdapter::type
xAOD::UncalibMeasType type() const
Definition:
TrkMeasurementCalibrator.cxx:14
ActsTrk::detail::TrkMeasurementCalibrator::TrkMeasurementCalibrator
TrkMeasurementCalibrator(const ActsTrk::IActsToTrkConverterTool &converter_tool)
Definition:
TrkMeasurementCalibrator.cxx:25
Trk::MeasurementBase
Definition:
MeasurementBase.h:58
TrkMeasurementCalibrator.h
xAOD::UncalibMeasType
UncalibMeasType
Define the type of the uncalibrated measurement.
Definition:
MeasurementDefs.h:24
ActsTrk::detail
Definition:
Decoration.h:15
xAOD::UncalibMeasType::PixelClusterType
@ PixelClusterType
Generated on Sun Dec 22 2024 21:21:29 for ATLAS Offline Software by
1.8.18