EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairEventHeader Class Reference

#include <EicRoot/blob/master/base/FairEventHeader.h>

+ Inheritance diagram for FairEventHeader:
+ Collaboration diagram for FairEventHeader:

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 ()
 

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 17 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 17 of file FairEventHeader.h

Constructor & Destructor Documentation

FairEventHeader::FairEventHeader ( )

Default constructor

Definition at line 11 of file FairEventHeader.cxx.

View newest version in sPHENIX GitHub at line 11 of file FairEventHeader.cxx

FairEventHeader::~FairEventHeader ( )
virtual

Destructor

Definition at line 20 of file FairEventHeader.cxx.

View newest version in sPHENIX GitHub at line 20 of file FairEventHeader.cxx

Member Function Documentation

Double_t FairEventHeader::GetEventTime ( )
inline

Get the MC time for this event

Definition at line 29 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 29 of file FairEventHeader.h

References fEventTime.

Referenced by FairRootManager::GetEventTime().

+ Here is the caller graph for this function:

Int_t FairEventHeader::GetInputFileId ( )
inline

Get the MC input file Id for this event

Definition at line 32 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 32 of file FairEventHeader.h

References fInputFileId.

Int_t FairEventHeader::GetMCEntryNumber ( )
inline

The entry number in the original MC chain

Definition at line 35 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 35 of file FairEventHeader.h

References fMCEntryNo.

Referenced by EicRunDigi::GetDetectorHits().

+ Here is the caller graph for this function:

UInt_t FairEventHeader::GetRunId ( )
inline

Get the run ID for this run

Definition at line 26 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 26 of file FairEventHeader.h

References fRunId.

Referenced by FairRootManager::GetRunIdInfo(), FairRunAna::Init(), FairRunAna::InitContainers(), FairRunAna::Run(), EicRunAna::RunCoreProcessNextEvent(), and FairRunAna::RunOneEvent().

+ Here is the caller graph for this function:

void FairEventHeader::Register ( )
virtual

Definition at line 23 of file FairEventHeader.cxx.

View newest version in sPHENIX GitHub at line 23 of file FairEventHeader.cxx

References FairRootManager::Instance(), and FairRootManager::Register().

Referenced by FairRunAna::Init(), and FairRunAna::InitContainers().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairEventHeader::SetEventTime ( Double_t  time)
inline

Set the MC time for this event

Parameters
time: time in ns

Definition at line 45 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 45 of file FairEventHeader.h

References fEventTime, and Acts::Test::time.

Referenced by FairRootManager::ReadEvent(), and FairRootManager::ReadMixedEvent().

+ Here is the caller graph for this function:

void FairEventHeader::SetInputFileId ( Int_t  id)
inline

Set the Signal file Id for this event

Definition at line 48 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 48 of file FairEventHeader.h

References fInputFileId.

Referenced by FairRootManager::ReadEvent(), and FairRootManager::ReadMixedEvent().

+ Here is the caller graph for this function:

void FairEventHeader::SetMCEntryNumber ( Int_t  id)
inline

The entry number in the original MC chain

Definition at line 51 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 51 of file FairEventHeader.h

References fMCEntryNo.

Referenced by FairRootManager::ReadEvent(), and FairRootManager::ReadMixedEvent().

+ Here is the caller graph for this function:

void FairEventHeader::SetRunId ( UInt_t  runid)
inline

Set the run ID for this run

Parameters
runid: unique run id

Definition at line 40 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 40 of file FairEventHeader.h

References fRunId.

Referenced by FairRunAna::Init(), and FairRunAna::InitContainers().

+ Here is the caller graph for this function:

Member Data Documentation

Double_t FairEventHeader::fEventTime
protected

Event Time

Definition at line 63 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 63 of file FairEventHeader.h

Referenced by GetEventTime(), and SetEventTime().

Int_t FairEventHeader::fInputFileId
protected

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

Definition at line 65 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 65 of file FairEventHeader.h

Referenced by GetInputFileId(), and SetInputFileId().

Int_t FairEventHeader::fMCEntryNo
protected

MC entry number from input chain

Definition at line 67 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 67 of file FairEventHeader.h

Referenced by GetMCEntryNumber(), and SetMCEntryNumber().

UInt_t FairEventHeader::fRunId
protected

Run Id

Definition at line 61 of file FairEventHeader.h.

View newest version in sPHENIX GitHub at line 61 of file FairEventHeader.h

Referenced by GetRunId(), and SetRunId().


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