ATLAS Offline Software
Loading...
Searching...
No Matches
PRD_TruthTrajectoryBuilder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6// PRD_TruthTrajectoryBuilder.h, (c) ATLAS Detector software
8
9#ifndef TRK_TRUTHTRACKTOOLS_PRD_TRUTHTRAJECTORYBUILDER_H
10#define TRK_TRUTHTRACKTOOLS_PRD_TRUTHTRAJECTORYBUILDER_H 1
11
12// Gaudi
14#include "GaudiKernel/ToolHandle.h"
15// Trk includes
21
22class AtlasDetectorID;
23
25
26namespace Trk {
27
28 class PrepRawData;
29
42
44
45 public:
46 //** Constructor with parameters */
47 PRD_TruthTrajectoryBuilder( const std::string& t, const std::string& n, const IInterface* p );
48
49 // Athena algtool's Hooks
50 virtual StatusCode initialize() override;
51
53 virtual std::map< HepMC::ConstGenParticlePtr, PRD_TruthTrajectory > truthTrajectories(const EventContext& ctx) const override;
54
55 private:
57
58 ToolHandle<IPRD_Provider> m_idPrdProvider{this, "InDetPRD_Provider", ""};
59 ToolHandle<IPRD_Provider> m_msPrdProvider{this, "MuonPRD_Provider", ""};
60
61 ToolHandleArray<IPRD_TruthTrajectoryManipulator> m_prdTruthTrajectoryManipulators{this, "PRD_TruthTrajectoryManipulators", {}};
62
63 SG::ReadHandleKeyArray<PRD_MultiTruthCollection> m_prdMultiTruthCollectionNames{this,"PRD_MultiTruthCollections",{"PixelClusterTruth","SCT_ClusterTruth","TRT_DriftCircleTruth"}, "PRD multi truth collection names this builder is working on"};
64
65 Gaudi::Property<double> m_minPt{this,"MinimumPt",400.,"minimum pT to be even considered"};
66 Gaudi::Property<bool> m_geantinos{this,"Geantinos",false,"Track geantinos or not"};
67
68 };
69
70} // end of namespace
71
72#endif // TRK_TRUTHTRACKTOOLS_PRD_TRUTHTRAJECTORYBUILDER_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
The interface for the truth PRD trajectory finder.
SG::ReadHandleKeyArray< PRD_MultiTruthCollection > m_prdMultiTruthCollectionNames
ToolHandle< IPRD_Provider > m_idPrdProvider
Helper to detect type of sub-detector from PRD->identify().
PRD_TruthTrajectoryBuilder(const std::string &t, const std::string &n, const IInterface *p)
Constructor.
virtual StatusCode initialize() override
ToolHandleArray< IPRD_TruthTrajectoryManipulator > m_prdTruthTrajectoryManipulators
PRD truth tracjectory manipulators.
virtual std::map< HepMC::ConstGenParticlePtr, PRD_TruthTrajectory > truthTrajectories(const EventContext &ctx) const override
return a vector of PrepRawData trajectories - uses internal cache
ToolHandle< IPRD_Provider > m_msPrdProvider
Identifier to PRD relation in the Muons System.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Ensure that the ATLAS eigen extensions are properly loaded.