ATLAS Offline Software
Loading...
Searching...
No Matches
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
25class AtlasDetectorID;
26
27namespace Trk
28{
29
35
46
48 {
49 public:
50
52 TruthTrackCreation(const std::string& name, ISvcLocator* pSvcLocator);
55
57 StatusCode initialize();
59 StatusCode execute();
61 StatusCode finalize();
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
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Property holding a SG store/key/clid from which a WriteHandle is made.
The interface for the truth PRD trajectory finder.
The interface for the truth PRD trajectory selector.
The abstract interface base class for track selector tools.
Interface for condensing Trk::Track properties and associated hits to a (non-fittable) foot print,...
The interface for the truth track finder.
ToolHandle< Trk::ITruthTrackBuilder > m_truthTrackBuilder
truth tools
SG::WriteHandleKey< TrackCollection > m_skippedTrackCollectionName
TruthTrackCreation(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
~TruthTrackCreation()
Default Destructor.
StatusCode initialize()
standard Athena-Algorithm method
SG::WriteHandleKey< TrackCollection > m_outputTrackCollectionName
StatusCode finalize()
standard Athena-Algorithm method
ToolHandle< Trk::IPRDtoTrackMapTool > m_assoTool
StatusCode execute()
standard Athena-Algorithm method
ToolHandle< Trk::IPRD_TruthTrajectoryBuilder > m_prdTruthTrajectoryBuilder
truth tools
ToolHandleArray< Trk::ITrackSelectorTool > m_trackSelectors
track selectors for a posteriory track selection
ToolHandle< Trk::IExtendedTrackSummaryTool > m_trackSummaryTool
summary tool for completing the track
ToolHandleArray< Trk::IPRD_TruthTrajectorySelector > m_prdTruthTrajectorySelectors
PRD truth trajectory selectors.
Ensure that the ATLAS eigen extensions are properly loaded.