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

#include <FairRecoEventHeader.h>

Inheritance diagram for FairRecoEventHeader:

Public Member Functions

 FairRecoEventHeader ()
 
UInt_t GetRunId () const
 
Double_t GetEventTime () const
 
Double_t GetEventTimeError () const
 
Int_t GetIdentifier () const
 
void SetRunId (UInt_t runid)
 
void SetEventTime (Double_t time, Double_t terr)
 
void SetIdentifier (Int_t ident)
 
virtual bool operator< (const FairRecoEventHeader &tempObj) const
 
virtual bool operator> (const FairRecoEventHeader &tempObj) const
 
virtual bool operator== (const FairRecoEventHeader &tempObj) const
 
virtual ~FairRecoEventHeader ()
 

Protected Member Functions

 ClassDef (FairRecoEventHeader, 1)
 

Protected Attributes

UInt_t fRunId
 
Int_t fIdentifier
 
Double_t fEventTime
 
Double_t fEventTimeError
 

Detailed Description

Constructor & Destructor Documentation

FairRecoEventHeader::FairRecoEventHeader ( )

Default constructor

Definition at line 15 of file FairRecoEventHeader.cxx.

FairRecoEventHeader::~FairRecoEventHeader ( )
virtual

Destructor

Definition at line 22 of file FairRecoEventHeader.cxx.

Member Function Documentation

FairRecoEventHeader::ClassDef ( FairRecoEventHeader  ,
 
)
protected
Double_t FairRecoEventHeader::GetEventTime ( ) const
inline

Get the MC time for this event

Definition at line 34 of file FairRecoEventHeader.h.

Double_t FairRecoEventHeader::GetEventTimeError ( ) const
inline

Get the error of MC time for this event

Definition at line 37 of file FairRecoEventHeader.h.

Int_t FairRecoEventHeader::GetIdentifier ( ) const
inline

Get identifier

Definition at line 40 of file FairRecoEventHeader.h.

UInt_t FairRecoEventHeader::GetRunId ( ) const
inline

Get the run ID for this run

Definition at line 31 of file FairRecoEventHeader.h.

virtual bool FairRecoEventHeader::operator< ( const FairRecoEventHeader tempObj) const
inlinevirtual

Definition at line 62 of file FairRecoEventHeader.h.

virtual bool FairRecoEventHeader::operator== ( const FairRecoEventHeader tempObj) const
inlinevirtual

Definition at line 82 of file FairRecoEventHeader.h.

virtual bool FairRecoEventHeader::operator> ( const FairRecoEventHeader tempObj) const
inlinevirtual

Definition at line 72 of file FairRecoEventHeader.h.

void FairRecoEventHeader::SetEventTime ( Double_t  time,
Double_t  terr 
)
inline

Set the MC time for this event

Parameters
time: time in ns
terr: time error in ns

Definition at line 51 of file FairRecoEventHeader.h.

void FairRecoEventHeader::SetIdentifier ( Int_t  ident)
inline

Set the run ID for this run

Parameters
ident: identifier

Definition at line 60 of file FairRecoEventHeader.h.

void FairRecoEventHeader::SetRunId ( UInt_t  runid)
inline

Set the run ID for this run

Parameters
runid: unique run id

Definition at line 45 of file FairRecoEventHeader.h.

Member Data Documentation

Double_t FairRecoEventHeader::fEventTime
protected

Event Time

Definition at line 101 of file FairRecoEventHeader.h.

Double_t FairRecoEventHeader::fEventTimeError
protected

Event Time Error

Definition at line 103 of file FairRecoEventHeader.h.

Int_t FairRecoEventHeader::fIdentifier
protected

Identifier

Definition at line 99 of file FairRecoEventHeader.h.

UInt_t FairRecoEventHeader::fRunId
protected

Run Id

Definition at line 97 of file FairRecoEventHeader.h.


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