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

#include <ITkTruthClusterSplittingTool.h>

Inheritance diagram for ActsTrk::ITkTruthClusterSplittingTool:
Collaboration diagram for ActsTrk::ITkTruthClusterSplittingTool:

Public Types

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< PixelOnBoundStateCalibratorBase > create (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

virtual TruthClusterSplittingCalibratorOptions createOptions (const EventContext &ctx) const
const ActsTrk::MeasurementToTruthParticleAssociation * getAssociationMap (const EventContext &ctx) const
const IAthSelectionTool * getTruthSelectionTool () const
PixelClusterCalibratorOptionsBase createBaseOptions (const EventContext &) const
 create options needed by the calibrator base class.

Protected Attributes

SG::ReadHandleKey< ActsTrk::MeasurementToTruthParticleAssociation > m_associationMap_key
ToolHandle< IAthSelectionTool > m_truthSelectionTool
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
Gaudi::Property< bool > m_postCalibration
const PixelID * m_pixelID

Detailed Description

Definition at line 13 of file ITkTruthClusterSplittingTool.h.

Member Typedef Documentation

◆ BASE

◆ base_class

◆ 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::TruthClusterSplittingToolImpl< detail::RecoTrackStateContainer >::create ( const EventContext & ctx) const
inlineoverridevirtualinherited

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

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

Definition at line 76 of file TruthClusterSplittingToolImpl.h.

76 {
78 }
the tool to create the truth clustering calibrator.
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 156 of file PixelClusterCalibrationToolBase.h.

156 {
158 .m_lorentzAngleTool=&(*m_lorentzAngleTool),
159 .m_pixelID=m_pixelID,
160 };
161 }
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::TruthClusterSplittingToolImpl< detail::RecoTrackStateContainer >::createOnTrackCalibrator ( const EventContext & ctx) const
inlineoverridevirtualinherited

Definition at line 80 of file TruthClusterSplittingToolImpl.h.

80 {
82 this->createOptions(ctx));
83 }
virtual TruthClusterSplittingCalibratorOptions createOptions(const EventContext &ctx) const

◆ createOptions()

virtual TruthClusterSplittingCalibratorOptions ActsTrk::detail::TruthClusterSplittingToolImpl< detail::RecoTrackStateContainer >::createOptions ( const EventContext & ctx) const
inlineprotectedvirtualinherited

Definition at line 87 of file TruthClusterSplittingToolImpl.h.

87 {
89 .m_measToTruth=getAssociationMap(ctx),
90 .m_truthSelectionTool=getTruthSelectionTool()
91 };
92 return options;
93 }
const ActsTrk::MeasurementToTruthParticleAssociation * getAssociationMap(const EventContext &ctx) const

◆ getAssociationMap()

◆ getTruthSelectionTool()

◆ initialize()

virtual StatusCode ActsTrk::detail::TruthClusterSplittingToolImpl< detail::RecoTrackStateContainer >::initialize ( )
overridevirtualinherited

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

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

Member Data Documentation

◆ m_associationMap_key

Definition at line 96 of file TruthClusterSplittingToolImpl.h.

97{this,"AssociationMapOut","ITkPixelClustersToTruthParticles", "Association map between measurements and truth particles"};

◆ m_lorentzAngleTool

Definition at line 164 of file PixelClusterCalibrationToolBase.h.

164 {this, "PixelLorentzAngleTool", "",
165 "Tool to retreive Lorentz angle"
166 };

◆ m_pixelID

Definition at line 170 of file PixelClusterCalibrationToolBase.h.

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

◆ m_postCalibration

Definition at line 168 of file PixelClusterCalibrationToolBase.h.

168{this, "CalibrateAfterMeasurementSelection", true};

◆ m_truthSelectionTool

Definition at line 100 of file TruthClusterSplittingToolImpl.h.

100{this, "TruthSelectionTool","AthTruthSelectionTool", "Truth selection tool (for efficiencies and resolutions)"};

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