Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Event Class Reference

#include <Event.h>

Inheritance diagram for Event:

DataObject List of all members.

Public Methods

 Event (const char* name = "Event")
 Constructors. More...

virtual ~Event ()
 Destructor. More...

virtual const CLID& clID () const
 Retrieve reference to class definition structure. More...

long event () const
 Retrieve event number. More...

void setEvent (long value)
 Update event number. More...

long run () const
 Retrieve run number. More...

void setRun (long value)
 Update run number. More...

const TimeStamptime () const
 Retrieve reference to event time stamp. More...

void setTime (const TimeStamp& value)
 Update reference to event time stamp. More...

virtual StreamBuffer& serialize ( StreamBuffer& s ) const
 Serialize the object for writing. More...

virtual StreamBuffer& serialize ( StreamBuffer& s )
 Serialize the object for reading. More...

virtual std::ostream& fillStream ( std::ostream& s ) const
 Fill the output stream (ASCII). More...


Static Public Methods

const CLID& classID ()

Private Attributes

long m_event
 Event number. More...

long m_run
 Run number. More...

TimeStamp m_time
 Time stamp. More...


Friends

std::ostream& operator<< ( std::ostream& s, const Event& obj )
 Output operator(ASCII). More...


Detailed Description

Essential information of the event. It can be identified by "/Event"

It contains:

Definition at line 43 of file Event.h.


Constructor & Destructor Documentation

Event::Event ( const char * name = "Event" ) [inline]
 

Constructors.

Definition at line 47 of file Event.h.

Event::~Event ( ) [inline, virtual]
 

Destructor.

Definition at line 50 of file Event.h.


Member Function Documentation

const CLID & Event::clID ( ) const [inline, virtual]
 

Retrieve reference to class definition structure.

Definition at line 53 of file Event.h.

const CLID & Event::classID ( ) [inline, static]
 

Definition at line 54 of file Event.h.

Referenced by clID().

long Event::event ( ) const [inline]
 

Retrieve event number.

Definition at line 57 of file Event.h.

std::ostream & Event::fillStream ( std::ostream & s ) const [inline, virtual]
 

Fill the output stream (ASCII).

Definition at line 121 of file Event.h.

Referenced by operator<<().

long Event::run ( ) const [inline]
 

Retrieve run number.

Definition at line 62 of file Event.h.

StreamBuffer & Event::serialize ( StreamBuffer & s ) [inline, virtual]
 

Serialize the object for reading.

Definition at line 110 of file Event.h.

StreamBuffer & Event::serialize ( StreamBuffer & s ) const [inline, virtual]
 

Serialize the object for writing.

Definition at line 99 of file Event.h.

void Event::setEvent ( long value ) [inline]
 

Update event number.

Definition at line 59 of file Event.h.

void Event::setRun ( long value ) [inline]
 

Update run number.

Definition at line 64 of file Event.h.

void Event::setTime ( const TimeStamp & value ) [inline]
 

Update reference to event time stamp.

Definition at line 69 of file Event.h.

const TimeStamp & Event::time ( ) const [inline]
 

Retrieve reference to event time stamp.

Definition at line 67 of file Event.h.


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream & s,
const Event & obj ) [friend]
 

Output operator(ASCII).

Definition at line 77 of file Event.h.


Member Data Documentation

long Event::m_event [private]
 

Event number.

Definition at line 85 of file Event.h.

long Event::m_run [private]
 

Run number.

Definition at line 87 of file Event.h.

TimeStamp Event::m_time [private]
 

Time stamp.

Definition at line 89 of file Event.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:52 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000