2 #ifndef THEPEG_ProgressLog_H 3 #define THEPEG_ProgressLog_H 8 #include "ThePEG/Handlers/AnalysisHandler.h" 191 #include "ThePEG/Utilities/ClassTraits.h" 211 static string className() {
return "ThePEG::ProgressLog"; }
219 static string library() {
return "ProgressLog.so"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
ProgressLog()
The default constructor.
time_t time1
The clock the last time a status line was written out.
static double fclock()
Return the cpu clock in seconds.
string host
The host on which we are running.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
The ProgressLog class will not perform an actual analysis.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
static ClassDescription< ProgressLog > initProgressLog
The static object used to initialize the description of this class.
This is the main namespace within which all identifiers in ThePEG are declared.
The AnalysisHandler is the base class of all analysis objects which may be handled by the FullEventGe...
time_t time0
The clock when the run was started.
InitState state() const
Return the state of initialization of this object.
virtual ~ProgressLog()
The destructor.
ProgressLog & operator=(const ProgressLog &)
The assignment operator is private and must never be called.
virtual IBPtr clone() const
Make a simple clone of this object.
RCPtr is a reference counted (smart) pointer.
bool statusTime(long i, long n) const
Check if it is time to write out a status line.
pid_t pid
The pid of the current process.
double fcpu0
The cpu clock when the run was started.
The default concrete implementation of ClassTraitsBase.
double fcpu1
The cpu clock the last time a status line was written out.
static void Init()
The standard Init function used to initialize the interfaces.
int secstep
If larger than 0, a status line will be written every secstep second.
virtual void doinitrun()
Initialize this object.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
BaseClassTraits describes the base classes of the templated class.
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...