![]() |
ATLAS Offline Software
|
InDet::GNNTrackReaderTool is a tool that reads track candidates of each event from a CSV file named as "track_runNumber_eventNumber.csv" or with a customized pre-fix. More...
#include <GNNTrackReaderTool.h>
Public Member Functions | |
| GNNTrackReaderTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| 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. | |
| virtual void | getTracks (uint32_t runNumber, uint32_t eventNumber, std::vector< std::vector< uint32_t > > &tracks, std::vector< std::vector< uint32_t > > &seeds) const override final |
| virtual MsgStream & | dump (MsgStream &out) const override |
| virtual std::ostream & | dump (std::ostream &out) const override |
Protected Member Functions | |
| GNNTrackReaderTool ()=delete | |
| GNNTrackReaderTool (const GNNTrackReaderTool &)=delete | |
| GNNTrackReaderTool & | operator= (const GNNTrackReaderTool &)=delete |
| MsgStream & | dumpevent (MsgStream &out) const |
Protected Attributes | |
| StringProperty | m_inputTracksDir {this, "inputTracksDir", "."} |
| StringProperty | m_csvPrefix {this, "csvPrefix", "track"} |
InDet::GNNTrackReaderTool is a tool that reads track candidates of each event from a CSV file named as "track_runNumber_eventNumber.csv" or with a customized pre-fix.
The directory, inputTracksDir, contains CSV files for all events. 1) If the inputTracksDir is not specified, the tool will read the CSV files from the current directory. 2) If the corresponding CSV file does not exist for a given event (runNumber, eventNumber), the tool will print an error message and return an empty list.
Definition at line 32 of file GNNTrackReaderTool.h.
| InDet::GNNTrackReaderTool::GNNTrackReaderTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 12 of file GNNTrackReaderTool.cxx.
|
protecteddelete |
|
protecteddelete |
|
overridevirtual |
Definition at line 19 of file GNNTrackReaderTool.cxx.
|
overridevirtual |
Definition at line 25 of file GNNTrackReaderTool.cxx.
|
protected |
Definition at line 30 of file GNNTrackReaderTool.cxx.
|
finaloverridevirtual |
Get track candidates from a CSV file named by runNumber and eventNumber.
| runNumber | run number of the event. |
| eventNumber | event number of the event. |
| tracks | a list of track candidates in terms of spacepoint indices as read from the CSV file. |
Definition at line 41 of file GNNTrackReaderTool.cxx.
|
finaloverridevirtual |
Definition at line 87 of file GNNTrackReaderTool.cxx.
|
protecteddelete |
|
protected |
Definition at line 67 of file GNNTrackReaderTool.h.
|
protected |
Definition at line 66 of file GNNTrackReaderTool.h.