ATLAS Offline Software
TruthTrackCreation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // TruthTrackCreation.h, (c) ATLAS Detector software
8 
9 #ifndef TRKTRUTHTRACKALGS_TRUTHTRACKCREATION_H
10 #define TRKTRUTHTRACKALGS_TRUTHTRACKCREATION_H
11 
12 // Gaudi includes
14 
15 // GaudiHandle
16 #include "GaudiKernel/ToolHandle.h"
17 #include <string>
18 
21 
24 
25 class AtlasDetectorID;
26 
27 namespace Trk
28 {
29 
30  class IPRD_TruthTrajectoryBuilder;
31  class IPRD_TruthTrajectorySelector;
32  class ITruthTrackBuilder;
33  class ITrackSelectorTool;
34  class ITrackSummaryTool;
35 
48  {
49  public:
50 
52  TruthTrackCreation(const std::string& name, ISvcLocator* pSvcLocator);
55 
62 
63  private:
64 
65  SG::WriteHandleKey<TrackCollection> m_outputTrackCollectionName{this, "OutputTrackCollection", "TruthTracks", "Output Truth Track Collection"};
66  SG::WriteHandleKey<TrackCollection> m_skippedTrackCollectionName{this, "OutputSkippedTrackCollection", "SkippedTruthTracks", "Output Skipped Truth Track Collection"};
67 
68  ToolHandle<Trk::IPRD_TruthTrajectoryBuilder> m_prdTruthTrajectoryBuilder;
69  ToolHandle<Trk::ITruthTrackBuilder> m_truthTrackBuilder;
70 
71  ToolHandleArray<Trk::IPRD_TruthTrajectorySelector> m_prdTruthTrajectorySelectors;
72  ToolHandleArray<Trk::ITrackSelectorTool> m_trackSelectors;
73  ToolHandle<Trk::IPRDtoTrackMapTool> m_assoTool
74  {this, "AssociationTool", "InDet::InDetPRDtoTrackMapToolGangedPixels" };
75 
76  ToolHandle<Trk::IExtendedTrackSummaryTool> m_trackSummaryTool;
77 
78  };
79 } // end of namespace
80 
81 #endif
Trk::TruthTrackCreation::TruthTrackCreation
TruthTrackCreation(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition: TruthTrackCreation.cxx:22
Trk::TruthTrackCreation::m_outputTrackCollectionName
SG::WriteHandleKey< TrackCollection > m_outputTrackCollectionName
Definition: TruthTrackCreation.h:65
Trk::TruthTrackCreation
Algorithm to convert PRD multi truth maps into a track collection.
Definition: TruthTrackCreation.h:48
Trk::TruthTrackCreation::m_trackSummaryTool
ToolHandle< Trk::IExtendedTrackSummaryTool > m_trackSummaryTool
summary tool for completing the track
Definition: TruthTrackCreation.h:76
Trk::TruthTrackCreation::execute
StatusCode execute()
standard Athena-Algorithm method
Definition: TruthTrackCreation.cxx:92
Trk::TruthTrackCreation::m_skippedTrackCollectionName
SG::WriteHandleKey< TrackCollection > m_skippedTrackCollectionName
Definition: TruthTrackCreation.h:66
Trk::TruthTrackCreation::m_truthTrackBuilder
ToolHandle< Trk::ITruthTrackBuilder > m_truthTrackBuilder
truth tools
Definition: TruthTrackCreation.h:69
Trk::TruthTrackCreation::finalize
StatusCode finalize()
standard Athena-Algorithm method
Definition: TruthTrackCreation.cxx:84
AthAlgorithm.h
Trk::TruthTrackCreation::m_prdTruthTrajectoryBuilder
ToolHandle< Trk::IPRD_TruthTrajectoryBuilder > m_prdTruthTrajectoryBuilder
truth tools
Definition: TruthTrackCreation.h:68
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
Trk::TruthTrackCreation::initialize
StatusCode initialize()
standard Athena-Algorithm method
Definition: TruthTrackCreation.cxx:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
Trk::TruthTrackCreation::~TruthTrackCreation
~TruthTrackCreation()
Default Destructor.
AthAlgorithm
Definition: AthAlgorithm.h:47
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
IPRDtoTrackMapTool.h
Trk::TruthTrackCreation::m_prdTruthTrajectorySelectors
ToolHandleArray< Trk::IPRD_TruthTrajectorySelector > m_prdTruthTrajectorySelectors
PRD truth trajectory selectors.
Definition: TruthTrackCreation.h:71
IExtendedTrackSummaryTool.h
Trk::TruthTrackCreation::m_assoTool
ToolHandle< Trk::IPRDtoTrackMapTool > m_assoTool
Definition: TruthTrackCreation.h:74
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
Trk::TruthTrackCreation::m_trackSelectors
ToolHandleArray< Trk::ITrackSelectorTool > m_trackSelectors
track selectors for a posteriory track selection
Definition: TruthTrackCreation.h:72