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

base class of a Pixel cluster calibration tool In addition to some common functionality provied by PixelClusterCalibrationCommon this class implements the methods to connect the calibrator to the calibrator delegates, and the OnTrack and OnBoundState interfaces which will call a single calibrate method. More...

#include <PixelClusterCalibrationToolBase.h>

Inheritance diagram for ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >:
Collaboration diagram for ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >:

Public Types

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

Detailed Description

template<typename traj_t>
class ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >

base class of a Pixel cluster calibration tool In addition to some common functionality provied by PixelClusterCalibrationCommon this class implements the methods to connect the calibrator to the calibrator delegates, and the OnTrack and OnBoundState interfaces which will call a single calibrate method.

The derived class should overload calibrate(gctx,cctx,cluster,detElement,tan_incident_angles). The derived tool has still to implement the method createOnTrackCalibrator(ctx). If the derived class overloads initialize, initialize of this class must be called.

Definition at line 133 of file PixelClusterCalibrationToolBase.h.

Member Typedef Documentation

◆ base_class

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

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
overridevirtual

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

◆ create()

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

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

Reimplemented in ActsTrk::detail::AnalogueClusteringToolImpl< calib_data_t, traj_t >, and ActsTrk::detail::AnalogueClusteringToolImpl< ITk::PixelOfflineCalibData, detail::RecoTrackStateContainer >.

Definition at line 143 of file PixelClusterCalibrationToolBase.h.

143 {
144 return this->createOnTrackCalibrator(ctx);
145 }
base class of a Pixel cluster calibration tool In addition to some common functionality provied by Pi...

◆ createBaseOptions()

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

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 }

◆ initialize()

template<typename traj_t>
virtual StatusCode ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >::initialize ( )
overridevirtual

Member Data Documentation

◆ m_lorentzAngleTool

template<typename traj_t>
ToolHandle<ISiLorentzAngleTool> ActsTrk::detail::PixelClusterCalibrationToolBase< traj_t >::m_lorentzAngleTool
protected
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 {}
protected

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}
protected

Definition at line 164 of file PixelClusterCalibrationToolBase.h.

164{this, "CalibrateAfterMeasurementSelection", true};

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