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

the tool to create NN calibrator. More...

#include <NNClusterCalibratorToolImpl.h>

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

Public Types

using BASE = AnalogueClusteringToolImpl<calib_data_t, 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
virtual bool calibrateAfterMeasurementSelection () const override
 test whether the calibration should be applied after measurement selection (faster)

Protected Member Functions

const AnalogueClusteringCalibrator< calib_data_t, traj_t >::error_data_tgetErrorData (const EventContext &ctx) const
PixelClusterCalibratorOptionsBase createBaseOptions (const EventContext &) const
 create options needed by the calibrator base class.

Protected 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< 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"}
ToolHandle< ISiLorentzAngleToolm_lorentzAngleTool
Gaudi::Property< bool > m_postCalibration {this, "CalibrateAfterMeasurementSelection", true}
const PixelIDm_pixelID {}

Private Member Functions

NNClusterCalibratorOptions< calib_data_t, traj_t > createOptions (const EventContext &ctx) const
 Create a Options object This is needed to configure the per-event calibrator instances.

Private Attributes

Gaudi::Property< int > m_minClusterSizeForNN
SG::ReadCondHandleKey< OnnxNNCollectionm_readKeyONNX

Detailed Description

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

the tool to create NN calibrator.

Definition at line 105 of file NNClusterCalibratorToolImpl.h.

Member Typedef Documentation

◆ BASE

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

Definition at line 108 of file NNClusterCalibratorToolImpl.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 137 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::NNClusterCalibratorToolImpl< 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::AnalogueClusteringToolImpl< calib_data_t, traj_t >.

Definition at line 113 of file NNClusterCalibratorToolImpl.h.

114 {
116 }
virtual std::unique_ptr< PixelOnTrackCalibratorBase< traj_t > > createOnTrackCalibrator(const EventContext &ctx) const override

◆ 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 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()

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

Reimplemented from ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >.

Definition at line 125 of file NNClusterCalibratorToolImpl.h.

125 {
128 }
NNClusterCalibratorOptions< calib_data_t, traj_t > createOptions(const EventContext &ctx) const
Create a Options object This is needed to configure the per-event calibrator instances.
PixelClusterCalibratorOptionsBase createBaseOptions(const EventContext &) const
create options needed by the calibrator base class.

◆ createOptions()

template<typename calib_data_t, typename traj_t>
NNClusterCalibratorOptions< calib_data_t, traj_t > ActsTrk::detail::NNClusterCalibratorToolImpl< calib_data_t, traj_t >::createOptions ( const EventContext & ctx) const
private

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

Returns
NNClusterCalibratorOptions

◆ 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
protectedinherited

◆ initialize()

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

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

Reimplemented from ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, 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.}
protectedinherited

Definition at line 123 of file AnalogueClusteringToolImpl.h.

123{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
protectedinherited
Initial value:
{this, "PixelOfflineCalibData", "ITkPixelOfflineCalibData",
"Calibration data for pixel clusters"
}

Definition at line 117 of file AnalogueClusteringToolImpl.h.

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

◆ 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}
protectedinherited

Definition at line 122 of file AnalogueClusteringToolImpl.h.

122{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"}
protectedinherited

Definition at line 125 of file AnalogueClusteringToolImpl.h.

125{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 161 of file PixelClusterCalibrationToolBase.h.

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

◆ m_minClusterSizeForNN

template<typename calib_data_t, typename traj_t>
Gaudi::Property<int> ActsTrk::detail::NNClusterCalibratorToolImpl< calib_data_t, traj_t >::m_minClusterSizeForNN
private
Initial value:
{
this, "minClusterSizeForNN", 0,
"how big the cluster needs to be to apply NN to it"}

Definition at line 140 of file NNClusterCalibratorToolImpl.h.

140 {
141 this, "minClusterSizeForNN", 0,
142 "how big the cluster needs to be to apply NN to it"};

◆ m_pixelID

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

Definition at line 167 of file PixelClusterCalibrationToolBase.h.

167{}; // 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 165 of file PixelClusterCalibrationToolBase.h.

165{this, "CalibrateAfterMeasurementSelection", true};

◆ m_readKeyONNX

template<typename calib_data_t, typename traj_t>
SG::ReadCondHandleKey<OnnxNNCollection> ActsTrk::detail::NNClusterCalibratorToolImpl< calib_data_t, traj_t >::m_readKeyONNX
private
Initial value:
{
this, "NnCollectionONNXReadKey", "PixelClusterNNONNX",
"The conditions key for ONNX-based pixel cluster NNs"}

Definition at line 144 of file NNClusterCalibratorToolImpl.h.

144 {
145 this, "NnCollectionONNXReadKey", "PixelClusterNNONNX",
146 "The conditions key for ONNX-based pixel cluster NNs"};

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