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 
51  // Print internal tool parameters and status
53  virtual MsgStream& dump(MsgStream& out) const override;
54  virtual std::ostream& dump(std::ostream& out) const override;
55 
56  protected:
57 
58  GNNTrackReaderTool() = delete;
61 
62  StringProperty m_inputTracksDir{this, "inputTracksDir", "."};
63  StringProperty m_csvPrefix{this, "csvPrefix", "track"};
64 
65  MsgStream& dumpevent (MsgStream& out) const;
66 
67  };
68 
69  MsgStream& operator << (MsgStream& ,const GNNTrackReaderTool&);
70  std::ostream& operator << (std::ostream&,const GNNTrackReaderTool&);
71 
72 }
73 
74 #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:63
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
InDet
DUMMY 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:62
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:195
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