EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairEventHeader.h>
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 |
Event Header Class
Definition at line 17 of file FairEventHeader.h.
View newest version in sPHENIX GitHub at line 17 of file FairEventHeader.h
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
|
virtual |
Destructor
Definition at line 20 of file FairEventHeader.cxx.
View newest version in sPHENIX GitHub at line 20 of file FairEventHeader.cxx
|
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().
|
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.
|
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().
|
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().
|
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().
|
inline |
Set the MC time for this event
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().
|
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().
|
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().
|
inline |
Set the run ID for this run
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().
|
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().
|
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().
|
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().
|
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().