ATLAS Offline Software
GNNTrackReaderTool.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 GNNTrackReaderTool_H
6 #define GNNTrackReaderTool_H
7 
8 // System include(s).
9 #include <list>
10 #include <iostream>
11 #include <memory>
12 
14 #include "IGNNTrackReaderTool.h"
15 
16 class MsgStream;
17 
18 namespace InDet{
32  class GNNTrackReaderTool: public extends<AthAlgTool, IGNNTrackReaderTool>
33  {
34  public:
35  GNNTrackReaderTool(const std::string& type, const std::string& name, const IInterface* parent);
36 
38  // Main methods for local track finding asked by the ISiMLTrackFinder
40 
48  std::vector<std::vector<uint32_t> >& tracks) const override final;
49 
50  virtual void getTracks(
52  std::vector<std::vector<uint32_t>>& tracks,
53  std::vector<std::vector<uint32_t>>& seeds) const override final;
55  // Print internal tool parameters and status
57  virtual MsgStream& dump(MsgStream& out) const override;
58  virtual std::ostream& dump(std::ostream& out) const override;
59 
60  protected:
61 
62  GNNTrackReaderTool() = delete;
65 
66  StringProperty m_inputTracksDir{this, "inputTracksDir", "."};
67  StringProperty m_csvPrefix{this, "csvPrefix", "track"};
68 
69  MsgStream& dumpevent (MsgStream& out) const;
70 
71  };
72 
73  MsgStream& operator << (MsgStream& ,const GNNTrackReaderTool&);
74  std::ostream& operator << (std::ostream&,const GNNTrackReaderTool&);
75 
76 }
77 
78 #endif
InDet::GNNTrackReaderTool
InDet::GNNTrackReaderTool is a tool that reads track candidates of each event from a CSV file named a...
Definition: GNNTrackReaderTool.h:33
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackReaderTool &)
InDet::GNNTrackReaderTool::m_csvPrefix
StringProperty m_csvPrefix
Definition: GNNTrackReaderTool.h:67
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::GNNTrackReaderTool::m_inputTracksDir
StringProperty m_inputTracksDir
Definition: GNNTrackReaderTool.h:66
IGNNTrackReaderTool.h
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
xAOD::eventNumber
eventNumber
Definition: EventInfo_v1.cxx:124
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::GNNTrackReaderTool::operator=
GNNTrackReaderTool & operator=(const GNNTrackReaderTool &)=delete
DeMoAtlasDataLoss.runNumber
string runNumber
Definition: DeMoAtlasDataLoss.py:64
InDet::GNNTrackReaderTool::GNNTrackReaderTool
GNNTrackReaderTool()=delete
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
InDet::GNNTrackReaderTool::dump
virtual MsgStream & dump(MsgStream &out) const override
Definition: GNNTrackReaderTool.cxx:19
InDet::GNNTrackReaderTool::getTracks
virtual void getTracks(uint32_t runNumber, uint32_t eventNumber, std::vector< std::vector< uint32_t > > &tracks) const override final
Get track candidates from a CSV file named by runNumber and eventNumber.
Definition: GNNTrackReaderTool.cxx:41
InDet::GNNTrackReaderTool::dumpevent
MsgStream & dumpevent(MsgStream &out) const
Definition: GNNTrackReaderTool.cxx:30
InDet::GNNTrackReaderTool::GNNTrackReaderTool
GNNTrackReaderTool(const GNNTrackReaderTool &)=delete