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
17 
18 // Tool handles
22 #include "IGNNTrackReaderTool.h"
23 
24 namespace Trk {
25  class ITrackFitter;
26 }
27 
28 
29 namespace InDet {
40  public:
41  SiSPGNNTrackMaker(const std::string& name, ISvcLocator* pSvcLocator);
42  virtual StatusCode initialize() override;
43  virtual StatusCode execute(const EventContext& ctx) const override;
44 
46  virtual bool isClonable() const override { return true; };
48 
49  MsgStream& dump (MsgStream& out) const;
50  std::ostream& dump (std::ostream& out) const;
51 
52  protected:
56 
57  // input containers
59  this, "SpacePointsPixelName", "ITkPixelSpacePoints"};
61  this, "SpacePointsSCTName", "ITkStripSpacePoints"};
62  SG::ReadHandleKey<SpacePointOverlapCollection> m_SpacePointsOverlapKey{this, "SpacePointsOverlapName", "ITkOverlapSpacePoints"};
64 
65  // output container
67  this, "TracksLocation", "SiSPGNNTracks"};
68 
72 
73  ToolHandle<IGNNTrackFinder> m_gnnTrackFinder{
75  this, "GNNTrackFinderTool",
76  "InDet::SiGNNTrackFinderTool", "Track Finder"
77  };
78  ToolHandle<ISeedFitter> m_seedFitter{
79  this, "SeedFitterTool",
80  "InDet::SiSeedFitterTool", "Seed Fitter"
81  };
83  ToolHandle<Trk::ITrackFitter> m_trackFitter {
84  this, "TrackFitter",
85  "Trk::GlobalChi2Fitter/InDetTrackFitter", "Track Fitter"
86  };
87  ToolHandle<IGNNTrackReaderTool> m_gnnTrackReader{
88  this, "GNNTrackReaderTool",
89  "InDet::GNNTrackReaderTool", "Track Reader"
90  };
92 
93  MsgStream& dumptools(MsgStream& out) const;
94  MsgStream& dumpevent(MsgStream& out) const;
95  };
96 
97  MsgStream& operator << (MsgStream& ,const SiSPGNNTrackMaker&);
98  std::ostream& operator << (std::ostream&,const SiSPGNNTrackMaker&);
99 }
100 
101 #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:74
InDet::SiSPGNNTrackMaker::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition: SiSPGNNTrackMaker.h:46
InDet::SiSPGNNTrackMaker::m_SpacePointsPixelKey
SG::ReadHandleKey< SpacePointContainer > m_SpacePointsPixelKey
Definition: SiSPGNNTrackMaker.h:58
InDet
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:203
InDet::SiSPGNNTrackMaker::m_SpacePointsOverlapKey
SG::ReadHandleKey< SpacePointOverlapCollection > m_SpacePointsOverlapKey
Definition: SiSPGNNTrackMaker.h:62
SG::ReadHandleKey< SpacePointContainer >
InDet::SiSPGNNTrackMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: SiSPGNNTrackMaker.cxx:48
DataHandle.h
InDet::SiSPGNNTrackMaker::m_outputTracksKey
SG::WriteHandleKey< TrackCollection > m_outputTracksKey
Definition: SiSPGNNTrackMaker.h:66
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:228
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
SpacePointOverlapCollection.h
InDet::SiSPGNNTrackMaker::m_trackFitter
ToolHandle< Trk::ITrackFitter > m_trackFitter
Track Fitter.
Definition: SiSPGNNTrackMaker.h:83
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:78
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
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:214
InDet::SiSPGNNTrackMaker
InDet::SiSPGNNTrackMaker is an algorithm that uses the GNN-based track finding tool to reconstruct tr...
Definition: SiSPGNNTrackMaker.h:39
InDet::SiSPGNNTrackMaker::m_SpacePointsSCTKey
SG::ReadHandleKey< SpacePointContainer > m_SpacePointsSCTKey
Definition: SiSPGNNTrackMaker.h:60
ITrackFitter.h
InDet::SiSPGNNTrackMaker::m_gnnTrackReader
ToolHandle< IGNNTrackReaderTool > m_gnnTrackReader
Definition: SiSPGNNTrackMaker.h:87