Class Reference for E1039 Core & Analysis Software
EventHeader Class Reference

base class for EventHeaders More...

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

+ Inheritance diagram for EventHeader:
+ Collaboration diagram for EventHeader:

Public Member Functions

virtual ~EventHeader ()
 dtor 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 int get_EvtSequence () const
 get Event Number More...
 
virtual void set_EvtSequence (const int)
 set Event Number More...
 
virtual int get_EvtType () const
 get Event Type (Data,rejected,EOR,BOR,...) More...
 
virtual void set_EvtType (const int)
 set Event Type (Data,rejected,EOR,BOR,...) More...
 
virtual time_t get_TimeStamp () const
 get ATP TimeStamp (unix time, convert with ctime() More...
 
virtual void set_TimeStamp (const time_t)
 set TimeStamp More...
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor More...
 
virtual ~PHObject ()
 dtor More...
 
virtual PHObjectclone () const
 Virtual copy constructor. 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
 

Detailed Description

base class for EventHeaders

Definition at line 9 of file EventHeader.h.

Constructor & Destructor Documentation

◆ ~EventHeader()

virtual EventHeader::~EventHeader ( )
inlinevirtual

dtor

Definition at line 14 of file EventHeader.h.

Member Function Documentation

◆ get_EvtSequence()

virtual int EventHeader::get_EvtSequence ( ) const
inlinevirtual

get Event Number

Reimplemented in EventHeaderv1.

Definition at line 33 of file EventHeader.h.

◆ get_EvtType()

virtual int EventHeader::get_EvtType ( ) const
inlinevirtual

get Event Type (Data,rejected,EOR,BOR,...)

Reimplemented in EventHeaderv1.

Definition at line 38 of file EventHeader.h.

◆ get_RunNumber()

virtual int EventHeader::get_RunNumber ( ) const
inlinevirtual

get Run Number

Reimplemented in EventHeaderv1.

Definition at line 28 of file EventHeader.h.

◆ get_TimeStamp()

virtual time_t EventHeader::get_TimeStamp ( ) const
inlinevirtual

get ATP TimeStamp (unix time, convert with ctime()

Reimplemented in EventHeaderv1.

Definition at line 43 of file EventHeader.h.

◆ identify()

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in EventHeaderv1.

Definition at line 19 of file EventHeader.cc.

◆ isValid()

int EventHeader::isValid ( ) const
virtual

isValid returns non zero if object contains valid data

Reimplemented from PHObject.

Reimplemented in EventHeaderv1.

Definition at line 27 of file EventHeader.cc.

◆ Reset()

virtual void EventHeader::Reset ( )
virtual

Clear Event.

Reimplemented from PHObject.

Reimplemented in EventHeaderv1.

◆ set_EvtSequence()

virtual void EventHeader::set_EvtSequence ( const int  )
inlinevirtual

set Event Number

Reimplemented in EventHeaderv1.

Definition at line 35 of file EventHeader.h.

◆ set_EvtType()

virtual void EventHeader::set_EvtType ( const int  )
inlinevirtual

set Event Type (Data,rejected,EOR,BOR,...)

Reimplemented in EventHeaderv1.

Definition at line 40 of file EventHeader.h.

◆ set_RunNumber()

virtual void EventHeader::set_RunNumber ( const int  run)
inlinevirtual

set Run Number

Reimplemented in EventHeaderv1.

Definition at line 30 of file EventHeader.h.

◆ set_TimeStamp()

virtual void EventHeader::set_TimeStamp ( const  time_t)
inlinevirtual

set TimeStamp

Reimplemented in EventHeaderv1.

Definition at line 45 of file EventHeader.h.


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