FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairEventHeader Class Reference

#include <FairEventHeader.h>

Inheritance diagram for FairEventHeader:
PixelEventHeader

Public Member Functions

 FairEventHeader ()
 
UInt_t GetRunId ()
 
Double_t GetEventTime ()
 
Int_t GetInputFileId ()
 
Int_t GetMCEntryNumber ()
 
void SetRunId (UInt_t runid)
 
void SetEventTime (Double_t time)
 
void SetInputFileId (Int_t id)
 
void SetMCEntryNumber (Int_t id)
 
virtual ~FairEventHeader ()
 
virtual void Register (Bool_t Persistance=kTRUE)
 

Protected Member Functions

 ClassDef (FairEventHeader, 3)
 

Protected Attributes

UInt_t fRunId
 
Double_t fEventTime
 
Int_t fInputFileId
 
Int_t fMCEntryNo
 

Detailed Description

Event Header Class

Author
D.Bertini d.ber.nosp@m.tini.nosp@m.@gsi..nosp@m.de
M.Al-Turany m.al-.nosp@m.tura.nosp@m.ny@gs.nosp@m.i.de

Definition at line 24 of file FairEventHeader.h.

Constructor & Destructor Documentation

FairEventHeader::FairEventHeader ( )

Default constructor

Definition at line 17 of file FairEventHeader.cxx.

FairEventHeader::~FairEventHeader ( )
virtual

Destructor

Definition at line 24 of file FairEventHeader.cxx.

Member Function Documentation

FairEventHeader::ClassDef ( FairEventHeader  ,
 
)
protected
Double_t FairEventHeader::GetEventTime ( )
inline

Get the MC time for this event

Definition at line 34 of file FairEventHeader.h.

Int_t FairEventHeader::GetInputFileId ( )
inline

Get the MC input file Id for this event

Definition at line 37 of file FairEventHeader.h.

Int_t FairEventHeader::GetMCEntryNumber ( )
inline

The entry number in the original MC chain

Definition at line 40 of file FairEventHeader.h.

UInt_t FairEventHeader::GetRunId ( )
inline

Get the run ID for this run

Definition at line 31 of file FairEventHeader.h.

void FairEventHeader::Register ( Bool_t  Persistance = kTRUE)
virtual

Definition at line 26 of file FairEventHeader.cxx.

void FairEventHeader::SetEventTime ( Double_t  time)
inline

Set the MC time for this event

Parameters
time: time in ns

Definition at line 50 of file FairEventHeader.h.

void FairEventHeader::SetInputFileId ( Int_t  id)
inline

Set the Signal file Id for this event

Definition at line 53 of file FairEventHeader.h.

void FairEventHeader::SetMCEntryNumber ( Int_t  id)
inline

The entry number in the original MC chain

Definition at line 56 of file FairEventHeader.h.

void FairEventHeader::SetRunId ( UInt_t  runid)
inline

Set the run ID for this run

Parameters
runid: unique run id

Definition at line 45 of file FairEventHeader.h.

Member Data Documentation

Double_t FairEventHeader::fEventTime
protected

Event Time

Definition at line 68 of file FairEventHeader.h.

Int_t FairEventHeader::fInputFileId
protected

Input file identifier, the file description is in the File header

Definition at line 70 of file FairEventHeader.h.

Int_t FairEventHeader::fMCEntryNo
protected

MC entry number from input chain

Definition at line 72 of file FairEventHeader.h.

UInt_t FairEventHeader::fRunId
protected

Run Id

Definition at line 66 of file FairEventHeader.h.


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