ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::ITkNNClusterCalibratorTool Class Reference

#include <ITkNNClusterCalibratorTool.h>

Inheritance diagram for ActsTrk::ITkNNClusterCalibratorTool:
Collaboration diagram for ActsTrk::ITkNNClusterCalibratorTool:

Public Types

using calib_data_t = ITk::PixelOfflineCalibData
using traj_t = detail::RecoTrackStateContainer
using BASE
using 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< detail::RecoTrackStateContainer > > createOnTrackCalibrator (const EventContext &ctx) const override
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

SG::ReadCondHandleKey< ITk::PixelOfflineCalibDatam_clusterErrorKey
Gaudi::Property< bool > m_correctCovariance
Gaudi::Property< double > m_calibratedCovarianceLowerBound
Gaudi::Property< bool > m_useWeightedPos
Gaudi::Property< int > m_errorStrategy
ToolHandle< ISiLorentzAngleToolm_lorentzAngleTool
Gaudi::Property< bool > m_postCalibration
const PixelIDm_pixelID

Private Member Functions

const NNClusterCalibrator< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >::error_data_t * getErrorData (const EventContext &ctx) const
NNClusterCalibratorOptions createOptions (const EventContext &) const
 Create a Options object This is needed to configure the per-event calibrator instances.

Private Attributes

Gaudi::Property< int > m_minClusterSizeForNN

Detailed Description

Definition at line 17 of file ITkNNClusterCalibratorTool.h.

Member Typedef Documentation

◆ BASE

◆ base_class

◆ calib_data_t

◆ traj_t

Member Function Documentation

◆ calibrateAfterMeasurementSelection()

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

◆ create()

virtual std::unique_ptr< PixelOnBoundStateCalibratorBase > ActsTrk::detail::NNClusterCalibratorToolImpl< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >::create ( const EventContext & ctx) const
inlineoverridevirtualinherited

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

Reimplemented from ActsTrk::detail::AnalogueClusteringToolImpl< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >.

Definition at line 84 of file NNClusterCalibratorToolImpl.h.

85 {
87 }
virtual std::unique_ptr< PixelOnTrackCalibratorBase< detail::RecoTrackStateContainer > > createOnTrackCalibrator(const EventContext &ctx) const override

◆ createBaseOptions()

PixelClusterCalibratorOptionsBase ActsTrk::detail::PixelClusterCalibrationToolBase< detail::RecoTrackStateContainer >::createBaseOptions ( const EventContext & ) const
inlineprotectedinherited

create options needed by the calibrator base class.

Definition at line 153 of file PixelClusterCalibrationToolBase.h.

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

◆ createOnTrackCalibrator()

virtual std::unique_ptr< PixelOnTrackCalibratorBase< detail::RecoTrackStateContainer > > ActsTrk::detail::NNClusterCalibratorToolImpl< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >::createOnTrackCalibrator ( const EventContext & ctx) const
inlineoverridevirtualinherited

Reimplemented from ActsTrk::detail::AnalogueClusteringToolImpl< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >.

Definition at line 96 of file NNClusterCalibratorToolImpl.h.

96 {
100 }
AnalogueClusteringCalibratorOptions< calib_data_t > createOptions(const EventContext &ctx) const
PixelClusterCalibratorOptionsBase createBaseOptions(const EventContext &) const
create options needed by the calibrator base class.

◆ createOptions()

NNClusterCalibratorOptions ActsTrk::detail::NNClusterCalibratorToolImpl< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >::createOptions ( const EventContext & ) const
inlineprivateinherited

Create a Options object This is needed to configure the per-event calibrator instances.

Returns
NNClusterCalibratorOptions

Definition at line 111 of file NNClusterCalibratorToolImpl.h.

111 {
112 return {
113 .m_minClusterSizeForNN = m_minClusterSizeForNN
114 };
115 }

◆ getErrorData()

◆ initialize()

virtual StatusCode ActsTrk::detail::NNClusterCalibratorToolImpl< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >::initialize ( )
overridevirtualinherited

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

Reimplemented from ActsTrk::detail::AnalogueClusteringToolImpl< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >.

Member Data Documentation

◆ m_calibratedCovarianceLowerBound

Definition at line 125 of file AnalogueClusteringToolImpl.h.

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

◆ m_clusterErrorKey

Definition at line 119 of file AnalogueClusteringToolImpl.h.

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

◆ m_correctCovariance

Definition at line 124 of file AnalogueClusteringToolImpl.h.

124{this, "PerformCovarianceCalibration", true};

◆ m_errorStrategy

Definition at line 128 of file AnalogueClusteringToolImpl.h.

128{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

Definition at line 161 of file PixelClusterCalibrationToolBase.h.

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

◆ m_minClusterSizeForNN

Gaudi::Property<int> ActsTrk::detail::NNClusterCalibratorToolImpl< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >::m_minClusterSizeForNN
privateinherited

Definition at line 117 of file NNClusterCalibratorToolImpl.h.

117{this, "minClusterSizeForNN", 3, "how big the cluster needs to be to apply NN to it"};

◆ m_pixelID

Definition at line 167 of file PixelClusterCalibrationToolBase.h.

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

◆ m_postCalibration

Definition at line 165 of file PixelClusterCalibrationToolBase.h.

165{this, "CalibrateAfterMeasurementSelection", true};

◆ m_useWeightedPos

Definition at line 126 of file AnalogueClusteringToolImpl.h.

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

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