Class Reference for E1039 Core & Analysis Software
RunHeader Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/framework/ffaobjects/RunHeader.h>

+ Inheritance diagram for RunHeader:
+ Collaboration diagram for RunHeader:

Public Member Functions

virtual ~RunHeader ()
 dtor More...
 
virtual RunHeaderclone () const
 Virtual copy constructor. More...
 
virtual void Reset ()
 Clear Event. More...
 
virtual void identify (std::ostream &os=std::cout) const
 
virtual int isValid () const
 isValid returns non zero if object contains valid data More...
 
virtual int get_RunNumber () const
 get Run Number More...
 
virtual void set_RunNumber (const int run)
 set Run Number More...
 
virtual double get_Bfield () const
 get BField (deprecated in v2) More...
 
virtual void set_Bfield (const double rval)
 set Bfield (deprecated in v2) More...
 
virtual time_t get_TimeStart () const
 get Start Time of run (in unix ticks, use ctime to convert to date string) More...
 
virtual void set_TimeStart (const time_t ival)
 set Start Time More...
 
virtual time_t get_TimeStop () const
 get Time of End Run (in unix ticks) More...
 
virtual void set_TimeStop (const time_t ival)
 set Time of End Run More...
 
virtual void NoWarning (const int i=1)
 switches off the pesky virtual warning messages More...
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor More...
 
virtual ~PHObject ()
 dtor More...
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
void SplitLevel (const int i)
 
int SplitLevel () const
 
void BufferSize (const int i)
 
int BufferSize () const
 

Protected Member Functions

void warning (const char *func) const
 

Detailed Description

Definition at line 10 of file RunHeader.h.

Constructor & Destructor Documentation

◆ ~RunHeader()

virtual RunHeader::~RunHeader ( )
inlinevirtual

dtor

Definition at line 15 of file RunHeader.h.

Member Function Documentation

◆ clone()

RunHeader * RunHeader::clone ( ) const
virtual

Virtual copy constructor.

Reimplemented from PHObject.

Definition at line 10 of file RunHeader.cc.

References NULL.

◆ get_Bfield()

double RunHeader::get_Bfield ( ) const
virtual

get BField (deprecated in v2)

Definition at line 52 of file RunHeader.cc.

◆ get_RunNumber()

int RunHeader::get_RunNumber ( ) const
virtual

get Run Number

Definition at line 38 of file RunHeader.cc.

Referenced by Fun4AllDstInputManager::fileopen().

+ Here is the caller graph for this function:

◆ get_TimeStart()

time_t RunHeader::get_TimeStart ( ) const
virtual

get Start Time of run (in unix ticks, use ctime to convert to date string)

Definition at line 66 of file RunHeader.cc.

◆ get_TimeStop()

time_t RunHeader::get_TimeStop ( ) const
virtual

get Time of End Run (in unix ticks)

Definition at line 80 of file RunHeader.cc.

◆ identify()

void RunHeader::identify ( std::ostream &  os = std::cout) const
virtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 24 of file RunHeader.cc.

◆ isValid()

int RunHeader::isValid ( ) const
virtual

isValid returns non zero if object contains valid data

Reimplemented from PHObject.

Definition at line 31 of file RunHeader.cc.

References PHWHERE.

◆ NoWarning()

void RunHeader::NoWarning ( const int  i = 1)
virtual

switches off the pesky virtual warning messages

Definition at line 95 of file RunHeader.cc.

References nowarning.

◆ Reset()

void RunHeader::Reset ( )
virtual

Clear Event.

Reimplemented from PHObject.

Definition at line 17 of file RunHeader.cc.

References PHWHERE.

◆ set_Bfield()

void RunHeader::set_Bfield ( const double  rval)
virtual

set Bfield (deprecated in v2)

Definition at line 59 of file RunHeader.cc.

◆ set_RunNumber()

void RunHeader::set_RunNumber ( const int  run)
virtual

set Run Number

Definition at line 45 of file RunHeader.cc.

◆ set_TimeStart()

void RunHeader::set_TimeStart ( const time_t  ival)
virtual

set Start Time

Definition at line 73 of file RunHeader.cc.

◆ set_TimeStop()

void RunHeader::set_TimeStop ( const time_t  ival)
virtual

set Time of End Run

Definition at line 87 of file RunHeader.cc.

◆ warning()

void RunHeader::warning ( const char *  func) const
protected

Definition at line 111 of file RunHeader.cc.

References nowarning.


The documentation for this class was generated from the following files: