Simple class to create & update MC job status files and env. vars. This is used to be able to keep track of an MC job status even when all output is suppressed or redirected to /dev/null. More...
#include <GMCJMonitor.h>
Public Member Functions | |
GMCJMonitor (Long_t runnu) | |
~GMCJMonitor () | |
void | SetRefreshRate (int rate) |
void | Update (int iev, const EventRecord *event) |
void | CustomizeFilename (string filename) |
Private Member Functions | |
void | Init (void) |
Private Attributes | |
Long_t | fRunNu |
run number More... | |
string | fStatusFile |
name of output status file More... | |
TStopwatch | fWatch |
double | fCpuTime |
total cpu time so far More... | |
int | fRefreshRate |
update output every so many events More... | |
Simple class to create & update MC job status files and env. vars. This is used to be able to keep track of an MC job status even when all output is suppressed or redirected to /dev/null.
July 13, 2005
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 31 of file GMCJMonitor.h.
GMCJMonitor::GMCJMonitor | ( | Long_t | runnu | ) |
Definition at line 32 of file GMCJMonitor.cxx.
GMCJMonitor::~GMCJMonitor | ( | ) |
Definition at line 38 of file GMCJMonitor.cxx.
void GMCJMonitor::CustomizeFilename | ( | string | filename | ) |
Definition at line 97 of file GMCJMonitor.cxx.
|
private |
Definition at line 76 of file GMCJMonitor.cxx.
void GMCJMonitor::SetRefreshRate | ( | int | rate | ) |
Definition at line 43 of file GMCJMonitor.cxx.
void GMCJMonitor::Update | ( | int | iev, |
const EventRecord * | event | ||
) |
Definition at line 48 of file GMCJMonitor.cxx.
|
private |
total cpu time so far
Definition at line 48 of file GMCJMonitor.h.
|
private |
update output every so many events
Definition at line 49 of file GMCJMonitor.h.
|
private |
run number
Definition at line 45 of file GMCJMonitor.h.
|
private |
name of output status file
Definition at line 46 of file GMCJMonitor.h.
|
private |
Definition at line 47 of file GMCJMonitor.h.