ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t > Class Template Reference

the tool to create the analogue clustering calibrator. More...

#include <AnalogueClusteringToolImpl.h>

Inheritance diagram for ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >:
Collaboration diagram for ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >:

Public Types

using BASE = PixelClusterCalibrationToolBase<traj_t>
using base_class = typename extends<AthAlgTool, ActsTrk::IPixelOnTrackCalibratorTool<traj_t>>::base_class

Public Member Functions

virtual StatusCode initialize () override
 initializes this base class (must be called by the derived class)
virtual std::unique_ptr< PixelOnBoundStateCalibratorBasecreate (const EventContext &ctx) const override
 convenience class to create an OnBoundState calibrator from an OnTrack calibrator.
virtual std::unique_ptr< PixelOnTrackCalibratorBase< traj_t > > createOnTrackCalibrator (const EventContext &ctx) const override final
virtual bool calibrateAfterMeasurementSelection () const override
 test whether the calibration should be applied after measurement selection (faster)

Protected Member Functions

PixelClusterCalibratorOptionsBase createBaseOptions (const EventContext &) const
 create options needed by the calibrator base class.

Protected Attributes

ToolHandle< ISiLorentzAngleToolm_lorentzAngleTool
Gaudi::Property< bool > m_postCalibration {this, "CalibrateAfterMeasurementSelection", true}
const PixelIDm_pixelID {}

Private Member Functions

const AnalogueClusteringCalibrator< calib_data_t, traj_t >::error_data_tgetErrorData (const EventContext &ctx) const
AnalogueClusteringCalibratorOptions< calib_data_t > createOptions (const EventContext &ctx) const

Private Attributes

SG::ReadCondHandleKey< calib_data_t > m_clusterErrorKey
Gaudi::Property< bool > m_correctCovariance {this, "PerformCovarianceCalibration", true}
Gaudi::Property< double > m_calibratedCovarianceLowerBound {this, "CalibratedCovarianceLowerBound", 0.}
Gaudi::Property< bool > m_useWeightedPos {this, "UseWeightedPosition", false}
Gaudi::Property< int > m_errorStrategy {this, "errorStrategy", 1, "Which error strategy to use for clusters on track: 0 - calibrated, 1 - cluster pitch, to be used only if broadClusters is used during clustering"}

Detailed Description

template<typename calib_data_t, typename traj_t>
class ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >

the tool to create the analogue clustering calibrator.

Definition at line 87 of file AnalogueClusteringToolImpl.h.

Member Typedef Documentation

◆ BASE

template<typename calib_data_t, typename traj_t>
using ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::BASE = PixelClusterCalibrationToolBase<traj_t>

Definition at line 90 of file AnalogueClusteringToolImpl.h.

◆ base_class

template<typename traj_t>
using ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >::base_class = typename extends<AthAlgTool, ActsTrk::IPixelOnTrackCalibratorTool<traj_t>>::base_class
inherited

Definition at line 136 of file PixelClusterCalibrationToolBase.h.

Member Function Documentation

◆ calibrateAfterMeasurementSelection()

template<typename traj_t>
virtual bool ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >::calibrateAfterMeasurementSelection ( ) const
overridevirtualinherited

test whether the calibration should be applied after measurement selection (faster)

◆ create()

template<typename calib_data_t, typename traj_t>
virtual std::unique_ptr< PixelOnBoundStateCalibratorBase > ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::create ( const EventContext & ctx) const
inlineoverridevirtual

convenience class to create an OnBoundState calibrator from an OnTrack calibrator.

Reimplemented from ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >.

Definition at line 95 of file AnalogueClusteringToolImpl.h.

95 {
97 }
the tool to create the analogue clustering calibrator.
virtual std::unique_ptr< PixelOnTrackCalibratorBase< traj_t > > createOnTrackCalibrator(const EventContext &ctx) const override final

◆ createBaseOptions()

template<typename traj_t>
PixelClusterCalibratorOptionsBase ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >::createBaseOptions ( const EventContext & ) const
inlineprotectedinherited

create options needed by the calibrator base class.

Definition at line 152 of file PixelClusterCalibrationToolBase.h.

152 {
154 .m_lorentzAngleTool=&(*m_lorentzAngleTool),
155 .m_pixelID=m_pixelID,
156 };
157 }
base class of a Pixel cluster calibration tool In addition to some common functionality provied by Pi...

◆ createOnTrackCalibrator()

template<typename calib_data_t, typename traj_t>
virtual std::unique_ptr< PixelOnTrackCalibratorBase< traj_t > > ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::createOnTrackCalibrator ( const EventContext & ctx) const
inlinefinaloverridevirtual

Definition at line 99 of file AnalogueClusteringToolImpl.h.

99 {
101 this->createOptions(ctx));
102 }
AnalogueClusteringCalibratorOptions< calib_data_t > createOptions(const EventContext &ctx) const
PixelClusterCalibratorOptionsBase createBaseOptions(const EventContext &) const
create options needed by the calibrator base class.

◆ createOptions()

template<typename calib_data_t, typename traj_t>
AnalogueClusteringCalibratorOptions< calib_data_t > ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::createOptions ( const EventContext & ctx) const
inlineprivate

Definition at line 107 of file AnalogueClusteringToolImpl.h.

107 {
108 // @TODO cannot use designators because there is a method which creates the options for the base class
110 .m_errorData=getErrorData(ctx),
112 .m_errorStrategy=m_errorStrategy,
113 .m_correctCovariance=m_correctCovariance,
114 .m_useWeightedPos=m_useWeightedPos};
115 return options;
116 }
const AnalogueClusteringCalibrator< calib_data_t, traj_t >::error_data_t * getErrorData(const EventContext &ctx) const

◆ getErrorData()

template<typename calib_data_t, typename traj_t>
const AnalogueClusteringCalibrator< calib_data_t, traj_t >::error_data_t * ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::getErrorData ( const EventContext & ctx) const
private

◆ initialize()

template<typename calib_data_t, typename traj_t>
virtual StatusCode ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::initialize ( )
overridevirtual

initializes this base class (must be called by the derived class)

Reimplemented from ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >.

Member Data Documentation

◆ m_calibratedCovarianceLowerBound

template<typename calib_data_t, typename traj_t>
Gaudi::Property<double> ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::m_calibratedCovarianceLowerBound {this, "CalibratedCovarianceLowerBound", 0.}
private

Definition at line 124 of file AnalogueClusteringToolImpl.h.

124{this, "CalibratedCovarianceLowerBound", 0.};

◆ m_clusterErrorKey

template<typename calib_data_t, typename traj_t>
SG::ReadCondHandleKey<calib_data_t> ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::m_clusterErrorKey
private
Initial value:
{this, "PixelOfflineCalibData", "ITkPixelOfflineCalibData",
"Calibration data for pixel clusters"
}

Definition at line 118 of file AnalogueClusteringToolImpl.h.

118 {this, "PixelOfflineCalibData", "ITkPixelOfflineCalibData",
119 "Calibration data for pixel clusters"
120 };

◆ m_correctCovariance

template<typename calib_data_t, typename traj_t>
Gaudi::Property<bool> ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::m_correctCovariance {this, "PerformCovarianceCalibration", true}
private

Definition at line 123 of file AnalogueClusteringToolImpl.h.

123{this, "PerformCovarianceCalibration", true};

◆ m_errorStrategy

template<typename calib_data_t, typename traj_t>
Gaudi::Property<int> ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::m_errorStrategy {this, "errorStrategy", 1, "Which error strategy to use for clusters on track: 0 - calibrated, 1 - cluster pitch, to be used only if broadClusters is used during clustering"}
private

Definition at line 127 of file AnalogueClusteringToolImpl.h.

127{this, "errorStrategy", 1, "Which error strategy to use for clusters on track: 0 - calibrated, 1 - cluster pitch, to be used only if broadClusters is used during clustering"};

◆ m_lorentzAngleTool

template<typename traj_t>
ToolHandle<ISiLorentzAngleTool> ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >::m_lorentzAngleTool
protectedinherited
Initial value:
{this, "PixelLorentzAngleTool", "",
"Tool to retreive Lorentz angle"
}

Definition at line 160 of file PixelClusterCalibrationToolBase.h.

160 {this, "PixelLorentzAngleTool", "",
161 "Tool to retreive Lorentz angle"
162 };

◆ m_pixelID

template<typename traj_t>
const PixelID* ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >::m_pixelID {}
protectedinherited

Definition at line 166 of file PixelClusterCalibrationToolBase.h.

166{}; // The helper object to interpret identifiers

◆ m_postCalibration

template<typename traj_t>
Gaudi::Property<bool> ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >::m_postCalibration {this, "CalibrateAfterMeasurementSelection", true}
protectedinherited

Definition at line 164 of file PixelClusterCalibrationToolBase.h.

164{this, "CalibrateAfterMeasurementSelection", true};

◆ m_useWeightedPos

template<typename calib_data_t, typename traj_t>
Gaudi::Property<bool> ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >::m_useWeightedPos {this, "UseWeightedPosition", false}
private

Definition at line 125 of file AnalogueClusteringToolImpl.h.

125{this, "UseWeightedPosition", false}; // if pixel cluster use weighted local position

The documentation for this class was generated from the following file: