![]() |
eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
|
#include <File.h>
Public Member Functions | |
LogReader () | |
virtual | ~LogReader () |
virtual LogReader * | Create () const =0 |
virtual bool | Extract (const std::string &file)=0 |
virtual Int_t | Save () const =0 |
Base class for log file processors.
Reads a log file from a Monte Carlo generator and extracts information. Inherited classes for each generator type implement the Extract() method to gather the required information for that generator and the Save() method to store it to file.
|
inlinevirtual |
|
pure virtual |
Return a new LogReader instance.
Implemented in erhic::LogReaderGmcTrans, erhic::LogReaderMilou, erhic::LogReaderDjangoh, erhic::LogReaderPepsi, and erhic::LogReaderPythia.
|
pure virtual |
Extract data from the named log file.
Implemented in erhic::LogReaderGmcTrans, erhic::LogReaderMilou, erhic::LogReaderDjangoh, erhic::LogReaderPepsi, and erhic::LogReaderPythia.
|
pure virtual |
Saves the extracted data to the current file, if one is open and is writeable. Returns -1 if the data cannot be saved. To write the LogReader itself, use LogReader::Write().
Implemented in erhic::LogReaderGmcTrans, erhic::LogReaderMilou, erhic::LogReaderDjangoh, erhic::LogReaderPepsi, and erhic::LogReaderPythia.