ATLAS Offline Software
SiSPGNNTrackMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef SiSPGNNTrackMaker_H
6 #define SiSPGNNTrackMaker_H
7 
8 #include <string>
9 
11 #include "StoreGate/DataHandle.h"
12 
13 // data containers
16 
17 // Tool handles
21 #include "IGNNTrackReaderTool.h"
22 
23 namespace Trk {
24  class ITrackFitter;
25 }
26 
27 
28 namespace InDet {
39  public:
40  SiSPGNNTrackMaker(const std::string& name, ISvcLocator* pSvcLocator);
41  virtual StatusCode initialize() override;
42  virtual StatusCode execute(const EventContext& ctx) const override;
43 
45  virtual bool isClonable() const override { return true; };
47 
48  MsgStream& dump (MsgStream& out) const;
49  std::ostream& dump (std::ostream& out) const;
50 
51  protected:
55 
56  // input containers
58  this, "SpacePointsPixelName", "ITkPixelSpacePoints"};
60  this, "SpacePointsSCTName", "ITkStripSpacePoints"};
62 
63  // output container
65  this, "TracksLocation", "SiSPGNNTracks"};
66 
70 
71  ToolHandle<IGNNTrackFinder> m_gnnTrackFinder{
73  this, "GNNTrackFinderTool",
74  "InDet::SiGNNTrackFinderTool", "Track Finder"
75  };
76  ToolHandle<ISeedFitter> m_seedFitter{
77  this, "SeedFitterTool",
78  "InDet::SiSeedFitterTool", "Seed Fitter"
79  };
81  ToolHandle<Trk::ITrackFitter> m_trackFitter {
82  this, "TrackFitter",
83  "Trk::GlobalChi2Fitter/InDetTrackFitter", "Track Fitter"
84  };
85  ToolHandle<IGNNTrackReaderTool> m_gnnTrackReader{
86  this, "GNNTrackReaderTool",
87  "InDet::GNNTrackReaderTool", "Track Reader"
88  };
90 
91  MsgStream& dumptools(MsgStream& out) const;
92  MsgStream& dumpevent(MsgStream& out) const;
93  };
94 
95  MsgStream& operator << (MsgStream& ,const SiSPGNNTrackMaker&);
96  std::ostream& operator << (std::ostream&,const SiSPGNNTrackMaker&);
97 }
98 
99 #endif
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackReaderTool &)
ISeedFitter.h
InDet::SiSPGNNTrackMaker::m_gnnTrackFinder
ToolHandle< IGNNTrackFinder > m_gnnTrackFinder
GNN-based track finding tool that produces track candidates.
Definition: SiSPGNNTrackMaker.h:72
InDet::SiSPGNNTrackMaker::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition: SiSPGNNTrackMaker.h:45
InDet::SiSPGNNTrackMaker::m_SpacePointsPixelKey
SG::ReadHandleKey< SpacePointContainer > m_SpacePointsPixelKey
Definition: SiSPGNNTrackMaker.h:57
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::SiSPGNNTrackMaker::initialize
virtual StatusCode initialize() override
Definition: SiSPGNNTrackMaker.cxx:19
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::SiSPGNNTrackMaker::dump
MsgStream & dump(MsgStream &out) const
Definition: SiSPGNNTrackMaker.cxx:181
SG::ReadHandleKey< SpacePointContainer >
InDet::SiSPGNNTrackMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: SiSPGNNTrackMaker.cxx:47
DataHandle.h
InDet::SiSPGNNTrackMaker::m_outputTracksKey
SG::WriteHandleKey< TrackCollection > m_outputTracksKey
Definition: SiSPGNNTrackMaker.h:64
SpacePointContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
IGNNTrackReaderTool.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
IGNNTrackFinder.h
InDet::SiSPGNNTrackMaker::dumpevent
MsgStream & dumpevent(MsgStream &out) const
Definition: SiSPGNNTrackMaker.cxx:206
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
InDet::SiSPGNNTrackMaker::m_trackFitter
ToolHandle< Trk::ITrackFitter > m_trackFitter
Track Fitter.
Definition: SiSPGNNTrackMaker.h:81
AthReentrantAlgorithm.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
InDet::SiSPGNNTrackMaker::m_seedFitter
ToolHandle< ISeedFitter > m_seedFitter
Definition: SiSPGNNTrackMaker.h:76
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
InDet::SiSPGNNTrackMaker::SiSPGNNTrackMaker
SiSPGNNTrackMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SiSPGNNTrackMaker.cxx:12
InDet::SiSPGNNTrackMaker::dumptools
MsgStream & dumptools(MsgStream &out) const
Definition: SiSPGNNTrackMaker.cxx:192
InDet::SiSPGNNTrackMaker
InDet::SiSPGNNTrackMaker is an algorithm that uses the GNN-based track finding tool to reconstruct tr...
Definition: SiSPGNNTrackMaker.h:38
InDet::SiSPGNNTrackMaker::m_SpacePointsSCTKey
SG::ReadHandleKey< SpacePointContainer > m_SpacePointsSCTKey
Definition: SiSPGNNTrackMaker.h:59
ITrackFitter.h
InDet::SiSPGNNTrackMaker::m_gnnTrackReader
ToolHandle< IGNNTrackReaderTool > m_gnnTrackReader
Definition: SiSPGNNTrackMaker.h:85