ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkTruthTracks
TrkTruthTrackTools
src
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
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "GaudiKernel/ToolHandle.h"
15
// Trk includes
16
#include "
TrkTruthTrackInterfaces/IPRD_TruthTrajectoryBuilder.h
"
17
#include "
TrkTruthTrackInterfaces/PRD_TruthTrajectory.h
"
18
#include "
TrkTruthData/PRD_MultiTruthCollection.h
"
19
#include "
TrkTruthTrackInterfaces/IPRD_TruthTrajectoryManipulator.h
"
20
#include "
TrkToolInterfaces/IPRD_Provider.h
"
21
22
class
AtlasDetectorID
;
23
24
#include "
AtlasHepMC/GenParticle_fwd.h
"
25
26
namespace
Trk
{
27
28
class
PrepRawData
;
29
42
43
class
PRD_TruthTrajectoryBuilder
:
public
AthAlgTool
,
virtual
public
IPRD_TruthTrajectoryBuilder
{
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
:
56
const
AtlasDetectorID
*
m_idHelper
;
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.h
GenParticle_fwd.h
IPRD_Provider.h
IPRD_TruthTrajectoryBuilder.h
IPRD_TruthTrajectoryManipulator.h
PRD_MultiTruthCollection.h
PRD_TruthTrajectory.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:53
Trk::IPRD_TruthTrajectoryBuilder
The interface for the truth PRD trajectory finder.
Definition
IPRD_TruthTrajectoryBuilder.h:28
Trk::PRD_TruthTrajectoryBuilder::m_prdMultiTruthCollectionNames
SG::ReadHandleKeyArray< PRD_MultiTruthCollection > m_prdMultiTruthCollectionNames
Definition
PRD_TruthTrajectoryBuilder.h:63
Trk::PRD_TruthTrajectoryBuilder::m_geantinos
Gaudi::Property< bool > m_geantinos
Definition
PRD_TruthTrajectoryBuilder.h:66
Trk::PRD_TruthTrajectoryBuilder::m_minPt
Gaudi::Property< double > m_minPt
Definition
PRD_TruthTrajectoryBuilder.h:65
Trk::PRD_TruthTrajectoryBuilder::m_idPrdProvider
ToolHandle< IPRD_Provider > m_idPrdProvider
Helper to detect type of sub-detector from PRD->identify().
Definition
PRD_TruthTrajectoryBuilder.h:58
Trk::PRD_TruthTrajectoryBuilder::PRD_TruthTrajectoryBuilder
PRD_TruthTrajectoryBuilder(const std::string &t, const std::string &n, const IInterface *p)
Constructor.
Definition
PRD_TruthTrajectoryBuilder.cxx:21
Trk::PRD_TruthTrajectoryBuilder::initialize
virtual StatusCode initialize() override
Definition
PRD_TruthTrajectoryBuilder.cxx:30
Trk::PRD_TruthTrajectoryBuilder::m_prdTruthTrajectoryManipulators
ToolHandleArray< IPRD_TruthTrajectoryManipulator > m_prdTruthTrajectoryManipulators
PRD truth tracjectory manipulators.
Definition
PRD_TruthTrajectoryBuilder.h:61
Trk::PRD_TruthTrajectoryBuilder::truthTrajectories
virtual std::map< HepMC::ConstGenParticlePtr, PRD_TruthTrajectory > truthTrajectories(const EventContext &ctx) const override
return a vector of PrepRawData trajectories - uses internal cache
Definition
PRD_TruthTrajectoryBuilder.cxx:60
Trk::PRD_TruthTrajectoryBuilder::m_idHelper
const AtlasDetectorID * m_idHelper
Definition
PRD_TruthTrajectoryBuilder.h:56
Trk::PRD_TruthTrajectoryBuilder::m_msPrdProvider
ToolHandle< IPRD_Provider > m_msPrdProvider
Identifier to PRD relation in the Muons System.
Definition
PRD_TruthTrajectoryBuilder.h:59
Trk::PrepRawData
Definition
PrepRawData.h:62
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0