 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef DETAILEDTRACKTRUTHBUILDER_H
8 #define DETAILEDTRACKTRUTHBUILDER_H
11 #include "GaudiKernel/ToolHandle.h"
13 #include "AthLinks/ElementLink.h"
28 using base_class::base_class;
35 const std::vector<const PRD_MultiTruthCollection*>& prdTruth,
36 const EventContext& ctx)
const override;
43 PublicToolHandle<Trk::ITruthTrajectoryBuilder>
m_truthTrajBuilder{
this,
"TruthTrajectoryTool",
"Trk::ElasticTruthTrajectoryBuilder"};
49 const std::vector<const PRD_MultiTruthCollection*>& orderedPRD_Truth,
51 const EventContext& ctx)
const;
A PRD is mapped onto all contributing particles.
SubDetHitStatistics::SubDetType findSubDetType(const Identifier &id) const
void makeTruthToRecMap(PRD_InverseTruth &result, const PRD_MultiTruthCollection &rec2truth) const
virtual StatusCode initialize() override
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
PublicToolHandle< Trk::ITruthTrajectoryBuilder > m_truthTrajBuilder
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void buildDetailedTrackTruth(DetailedTrackTruthCollection *output, const TrackCollection &tracks, const std::vector< const PRD_MultiTruthCollection * > &prdTruth, const EventContext &ctx) const override
See description for IDetailedTrackTruthBuilder::buildDetailedTrackTruth()
void addTrack(DetailedTrackTruthCollection *output, const ElementLink< DataVector< Trk::Track > > &track, const std::vector< const PRD_MultiTruthCollection * > &orderedPRD_Truth, const PRD_InverseTruth &inverseTruth, const EventContext &ctx) const
ElementLink implementation for ROOT usage.
Ensure that the ATLAS eigen extensions are properly loaded.
const AtlasDetectorID * m_idHelper
SubDetHitStatistics countPRDsOnTruth(const TruthTrajectory &traj, const PRD_InverseTruth &inverseTruth) const
InverseMultiMap< PRD_MultiTruthCollection > PRD_InverseTruth
This class provides an interface to generate or decode an identifier for the upper levels of the dete...