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

MCEvent Class Reference

#include <MCEvent.h>

Inheritance diagram for MCEvent:

DataObject List of all members.

Public Methods

 MCEvent ( const char* name = "MCEvent", int sourceId=0)
 Constructors. More...

virtual ~MCEvent ()
 Destructor. More...

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

MCEvent& operator= (const MCEvent& copy)
 Clone operator. More...

int sourceId () const
 Retrieve. More...

void setSourceId (int s)
 set. 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

int m_sourceId

Friends

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


Detailed Description

Essential information of the Monte Carlo event It can be identified by "/Event/MC"

It contains:

Definition at line 37 of file MCEvent.h.


Constructor & Destructor Documentation

MCEvent::MCEvent ( const char * name = "MCEvent",
int sourceId = 0 ) [inline]
 

Constructors.

Definition at line 41 of file MCEvent.h.

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

Destructor.

Definition at line 44 of file MCEvent.h.


Member Function Documentation

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

Retrieve reference to class definition structure.

Definition at line 47 of file MCEvent.h.

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

Definition at line 48 of file MCEvent.h.

Referenced by clID().

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

Fill the output stream (ASCII).

Definition at line 107 of file MCEvent.h.

Referenced by operator<<().

MCEvent & MCEvent::operator= ( const MCEvent & copy ) [inline]
 

Clone operator.

Definition at line 51 of file MCEvent.h.

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

Serialize the object for reading.

Definition at line 99 of file MCEvent.h.

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

Serialize the object for writing.

Definition at line 91 of file MCEvent.h.

void MCEvent::setSourceId ( int s ) [inline]
 

set.

Definition at line 80 of file MCEvent.h.

int MCEvent::sourceId ( ) const [inline]
 

Retrieve.

Definition at line 56 of file MCEvent.h.


Friends And Related Function Documentation

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

Output operator(ASCII).

Definition at line 68 of file MCEvent.h.


Member Data Documentation

int MCEvent::m_sourceId [private]
 

Definition at line 76 of file MCEvent.h.


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