EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/erhic/File.h>
Public Member Functions | |
LogReaderGmcTrans () | |
virtual | ~LogReaderGmcTrans () |
LogReaderGmcTrans * | Create () const |
bool | Extract (const std::string &filename) |
Int_t | Save () const |
Int_t | GetNEvents () const |
Double_t | GetCrossSection () const |
Public Member Functions inherited from erhic::LogReader | |
LogReader () | |
virtual | ~LogReader () |
Protected Attributes | |
TObjString | mNEvents |
Number of generated events. | |
TObjString | mCrossSection |
Total cross section in microbarns. | |
Processes gmc_trans log files.
Reads a log file and finds the total cross section and the number of generated events.
Definition at line 306 of file File.h.
View newest version in sPHENIX GitHub at line 306 of file File.h
erhic::LogReaderGmcTrans::LogReaderGmcTrans | ( | ) |
|
virtual |
|
virtual |
Return a new LogReaderGmcTrans instance.
Implements erhic::LogReader.
Definition at line 298 of file File.cxx.
View newest version in sPHENIX GitHub at line 298 of file File.cxx
References LogReaderGmcTrans().
|
virtual |
Search the named file. Store the total cross section and number of generated events if they can be found.
Implements erhic::LogReader.
Definition at line 302 of file File.cxx.
View newest version in sPHENIX GitHub at line 302 of file File.cxx
References eicpy.qaplots::file, getline, in, mCrossSection, and mNEvents.
Double_t erhic::LogReaderGmcTrans::GetCrossSection | ( | ) | const |
Int_t erhic::LogReaderGmcTrans::GetNEvents | ( | ) | const |
|
virtual |
Write the stored cross section and number of events to the active ROOT directory. Returns the total number of bytes written, or a value <= 0 in the case of an error.
Implements erhic::LogReader.
Definition at line 341 of file File.cxx.
View newest version in sPHENIX GitHub at line 341 of file File.cxx
References mCrossSection, and mNEvents.
|
protected |
|
protected |