24 using std::ostringstream;
29 using namespace genie;
60 status <<
"Current Event Number: " << iev << endl;
62 status <<
"Approximate total processing time: "
64 status <<
"Approximate processing time/event: "
67 if(!event) status <<
"NULL" << endl;
68 else status << *
event << endl;
79 ostringstream filename;
80 filename <<
"genie-mcjob-" <<
fRunNu <<
".status";
89 if( gSystem->Getenv(
"GMCJMONREFRESH") ) {
90 fRefreshRate = atoi( gSystem->Getenv(
"GMCJMONREFRESH") );
void Update(int iev, const EventRecord *event)
void CustomizeFilename(string filename)
void SetRefreshRate(int rate)
string fStatusFile
name of output status file
double fCpuTime
total cpu time so far
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
GMCJMonitor(Long_t runnu)
int fRefreshRate
update output every so many events