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

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

#include <TruthClusterSplittingToolImpl.h>

Inheritance diagram for ActsTrk::detail::TruthClusterSplittingToolImpl< traj_t >:
Collaboration diagram for ActsTrk::detail::TruthClusterSplittingToolImpl< 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< PixelOnBoundStateCalibratorBase > create (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

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 {this,"AssociationMapOut","ITkPixelClustersToTruthParticles", "Association map between measurements and truth particles"}
ToolHandle< IAthSelectionTool > m_truthSelectionTool {this, "TruthSelectionTool","AthTruthSelectionTool", "Truth selection tool (for efficiencies and resolutions)"}
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
Gaudi::Property< bool > m_postCalibration {this, "CalibrateAfterMeasurementSelection", true}
const PixelID * m_pixelID {}

Detailed Description

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

the tool to create the truth clustering calibrator.

Determines whether a cluster is created by one or more truth particles. The definition of a "reconstructable" truth particles follows the IDPVM definition for efficiency plots (see config loaded Tracking/Acts/ActsConfig/python/ActsMeasurementCalibrationConfig.py:68)

Definition at line 68 of file TruthClusterSplittingToolImpl.h.

Member Typedef Documentation

◆ BASE

template<typename traj_t>
using ActsTrk::detail::TruthClusterSplittingToolImpl< traj_t >::BASE = PixelClusterCalibrationToolBase<traj_t>

Definition at line 71 of file TruthClusterSplittingToolImpl.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 140 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 traj_t>
virtual std::unique_ptr< PixelOnBoundStateCalibratorBase > ActsTrk::detail::TruthClusterSplittingToolImpl< 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 76 of file TruthClusterSplittingToolImpl.h.

76 {
78 }
the tool to create the truth clustering calibrator.
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 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()

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

Definition at line 80 of file TruthClusterSplittingToolImpl.h.

80 {
82 this->createOptions(ctx));
83 }
PixelClusterCalibratorOptionsBase createBaseOptions(const EventContext &) const
create options needed by the calibrator base class.
virtual TruthClusterSplittingCalibratorOptions createOptions(const EventContext &ctx) const

◆ createOptions()

template<typename traj_t>
virtual TruthClusterSplittingCalibratorOptions ActsTrk::detail::TruthClusterSplittingToolImpl< traj_t >::createOptions ( const EventContext & ctx) const
inlineprotectedvirtual

Definition at line 87 of file TruthClusterSplittingToolImpl.h.

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

◆ getAssociationMap()

template<typename traj_t>
const ActsTrk::MeasurementToTruthParticleAssociation * ActsTrk::detail::TruthClusterSplittingToolImpl< traj_t >::getAssociationMap ( const EventContext & ctx) const
protected

◆ getTruthSelectionTool()

template<typename traj_t>
const IAthSelectionTool * ActsTrk::detail::TruthClusterSplittingToolImpl< traj_t >::getTruthSelectionTool ( ) const
protected

◆ initialize()

template<typename traj_t>
virtual StatusCode ActsTrk::detail::TruthClusterSplittingToolImpl< 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_associationMap_key

template<typename traj_t>
SG::ReadHandleKey<ActsTrk::MeasurementToTruthParticleAssociation> ActsTrk::detail::TruthClusterSplittingToolImpl< traj_t >::m_associationMap_key {this,"AssociationMapOut","ITkPixelClustersToTruthParticles", "Association map between measurements and truth particles"}
protected

Definition at line 96 of file TruthClusterSplittingToolImpl.h.

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

◆ 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 164 of file PixelClusterCalibrationToolBase.h.

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

◆ m_pixelID

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

Definition at line 170 of file PixelClusterCalibrationToolBase.h.

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

168{this, "CalibrateAfterMeasurementSelection", true};

◆ m_truthSelectionTool

template<typename traj_t>
ToolHandle<IAthSelectionTool> ActsTrk::detail::TruthClusterSplittingToolImpl< traj_t >::m_truthSelectionTool {this, "TruthSelectionTool","AthTruthSelectionTool", "Truth selection tool (for efficiencies and resolutions)"}
protected

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: