|
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"
35 const std::vector<const PRD_MultiTruthCollection*>& prdTruth,
36 const EventContext& ctx)
const;
43 PublicToolHandle<Trk::ITruthTrajectoryBuilder>
m_truthTrajBuilder{
this,
"TruthTrajectoryTool",
"Trk::ElasticTruthTrajectoryBuilder"};
49 const std::vector<const PRD_MultiTruthCollection*>& orderedPRD_Truth,
51 const EventContext& ctx)
const;
static void makeTruthToRecMap(PRD_InverseTruth &result, const PRD_MultiTruthCollection &rec2truth)
A PRD is mapped onto all contributing particles.
SubDetHitStatistics::SubDetType findSubDetType(const Identifier &id) const
DetailedTrackTruthBuilder(const std::string &type, const std::string &name, const IInterface *parent)
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.
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
virtual StatusCode initialize()
SubDetHitStatistics countPRDsOnTruth(const TruthTrajectory &traj, const PRD_InverseTruth &inverseTruth) const
InverseMultiMap< PRD_MultiTruthCollection > PRD_InverseTruth
virtual void buildDetailedTrackTruth(DetailedTrackTruthCollection *output, const TrackCollection &tracks, const std::vector< const PRD_MultiTruthCollection * > &prdTruth, const EventContext &ctx) const
See description for IDetailedTrackTruthBuilder::buildDetailedTrackTruth()
This class provides an interface to generate or decode an identifier for the upper levels of the dete...