![]() |
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 | |
LogReaderMilou () | |
virtual | ~LogReaderMilou () |
LogReaderMilou * | Create () const |
bool | Extract (const std::string &file) |
Int_t | Save () const |
Int_t | GetNEvents () const |
Double_t | GetCrossSection () const |
Double_t | GetCrossSectionError () const |
![]() | |
LogReader () | |
virtual | ~LogReader () |
Protected Attributes | |
TObjString | crossSection_ |
TObjString | crossSectionError_ |
| |
TObjString | nEvents_ |
| |
Processes PYTHIA log files.
Reads a log file and finds the total cross section and the number of generated events when Extract() is called. Writes those values as TObjStrings to the current directory when Save() is called, assuming that directory is writeable.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Return a new LogReaderMilou instance.
Implements erhic::LogReader.
|
virtual |
Extract data from the named log file.
Implements erhic::LogReader.
|
inline |
|
inline |
|
inline |
|
virtual |
Write the extracted information to the current file, if it is writeable. If you want to write the LogReaderMilou itself, use LogReaderMilou::Write().
Implements erhic::LogReader.