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;
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
A struture to keep per-subdetector numbers of hits for truth matching.
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
ElementLink implementation for ROOT usage.
A PRD is mapped onto all contributing particles.
PublicToolHandle< Trk::ITruthTrajectoryBuilder > m_truthTrajBuilder
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()
InverseMultiMap< PRD_MultiTruthCollection > PRD_InverseTruth
SubDetHitStatistics::SubDetType findSubDetType(const Identifier &id) const
void makeTruthToRecMap(PRD_InverseTruth &result, const PRD_MultiTruthCollection &rec2truth) const
const AtlasDetectorID * m_idHelper
SubDetHitStatistics countPRDsOnTruth(const TruthTrajectory &traj, const PRD_InverseTruth &inverseTruth) const
virtual StatusCode initialize() override
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
An InverseMultiMap object built from a generic map or multimap allows for quick lookup of original (m...
A TruthTrajectory is a chain of charged MC particles connected through the mother-daughter relationsh...
Ensure that the ATLAS eigen extensions are properly loaded.