EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairMCEventHeader.h>
Public Member Functions | |
FairMCEventHeader () | |
FairMCEventHeader (Int_t iEvent, Double_t x, Double_t y, Double_t z, Double_t t, Double_t b, Int_t nPrim) | |
FairMCEventHeader (UInt_t runId) | |
virtual | ~FairMCEventHeader () |
UInt_t | GetRunID () const |
UInt_t | GetEventID () const |
run identifier | |
Double_t | GetX () const |
event identifier | |
Double_t | GetY () const |
vertex x [cm] | |
Double_t | GetZ () const |
vertex y [cm] | |
Double_t | GetT () const |
vertex z [cm] | |
Double_t | GetB () const |
event time [ns] | |
Int_t | GetNPrim () const |
impact parameter [fm] | |
Bool_t | IsSet () const |
number of input tracks | |
void | GetVertex (TVector3 &vertex) |
Flag. | |
void | SetEventID (UInt_t eventId) |
void | SetRunID (UInt_t runId) |
void | SetTime (Double_t t) |
void | SetB (Double_t b) |
void | SetNPrim (Int_t nPrim) |
void | MarkSet (Bool_t isSet) |
void | SetVertex (Double_t x, Double_t y, Double_t z) |
void | SetVertex (const TVector3 &vertex) |
void | Reset () |
virtual void | Register () |
Protected Member Functions | |
ClassDef (FairMCEventHeader, 1) | |
Flag whether variables are filled. | |
Protected Attributes | |
UInt_t | fRunId |
UInt_t | fEventId |
Run identifier. | |
Double32_t | fX |
Event identifier. | |
Double32_t | fY |
Primary vertex x [cm]. | |
Double32_t | fZ |
Primary vertex y [cm]. | |
Double32_t | fT |
Primary vertex z [cm]. | |
Double32_t | fB |
Event time [s]. | |
Int_t | fNPrim |
Impact parameter [fm] (if relevant) | |
Bool_t | fIsSet |
Number of input tracks. | |
Definition at line 16 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 16 of file FairMCEventHeader.h
FairMCEventHeader::FairMCEventHeader | ( | ) |
Default constructor
Definition at line 13 of file FairMCEventHeader.cxx.
View newest version in sPHENIX GitHub at line 13 of file FairMCEventHeader.cxx
FairMCEventHeader::FairMCEventHeader | ( | Int_t | iEvent, |
Double_t | x, | ||
Double_t | y, | ||
Double_t | z, | ||
Double_t | t, | ||
Double_t | b, | ||
Int_t | nPrim | ||
) |
Constructor with all members
iEvent | event identifier |
x,y,z | vertex oordinates [cm] |
t | event time [ns] |
b | impact parameter [fm] (if relevant) |
nPrim | number of input tracks |
Definition at line 51 of file FairMCEventHeader.cxx.
View newest version in sPHENIX GitHub at line 51 of file FairMCEventHeader.cxx
FairMCEventHeader::FairMCEventHeader | ( | UInt_t | runId | ) |
Standard constructor with run identifier
Definition at line 32 of file FairMCEventHeader.cxx.
View newest version in sPHENIX GitHub at line 32 of file FairMCEventHeader.cxx
|
virtual |
Destructor
Definition at line 72 of file FairMCEventHeader.cxx.
View newest version in sPHENIX GitHub at line 72 of file FairMCEventHeader.cxx
|
protected |
Flag whether variables are filled.
|
inline |
event time [ns]
Definition at line 52 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 52 of file FairMCEventHeader.h
References fB.
|
inline |
run identifier
Definition at line 47 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 47 of file FairMCEventHeader.h
References fEventId.
Referenced by FairPrimaryGenerator::GenerateEvent(), and PndStack::UpdateTrackIndex().
|
inline |
impact parameter [fm]
Definition at line 53 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 53 of file FairMCEventHeader.h
References fNPrim.
|
inline |
Accessors
Definition at line 46 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 46 of file FairMCEventHeader.h
References fRunId.
Referenced by PndGeoHandling::GetRunId(), FairRunAna::Init(), FairRunAna::InitContainers(), FairRunAna::Run(), and EicRunAna::RunCoreProcessNextEvent().
|
inline |
vertex z [cm]
Definition at line 51 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 51 of file FairMCEventHeader.h
References fT.
Referenced by FairRootManager::GetEventTime().
|
inline |
Flag.
Definition at line 56 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 56 of file FairMCEventHeader.h
|
inline |
event identifier
Definition at line 48 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 48 of file FairMCEventHeader.h
References fX.
|
inline |
vertex x [cm]
Definition at line 49 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 49 of file FairMCEventHeader.h
References fY.
|
inline |
vertex y [cm]
Definition at line 50 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 50 of file FairMCEventHeader.h
References fZ.
|
inline |
number of input tracks
Definition at line 54 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 54 of file FairMCEventHeader.h
References fIsSet.
|
inline |
Definition at line 65 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 65 of file FairMCEventHeader.h
References fIsSet.
|
virtual |
Register the class as data branch to the output
Reimplemented in CbmMCEventHeader.
Definition at line 89 of file FairMCEventHeader.cxx.
View newest version in sPHENIX GitHub at line 89 of file FairMCEventHeader.cxx
References FairRootManager::Instance(), and FairRootManager::Register().
Referenced by FairMCApplication::InitGeometry().
void FairMCEventHeader::Reset | ( | ) |
Reset all members
Definition at line 80 of file FairMCEventHeader.cxx.
View newest version in sPHENIX GitHub at line 80 of file FairMCEventHeader.cxx
References fB, fEventId, fIsSet, fNPrim, fT, fX, fY, and fZ.
Referenced by FairPrimaryGenerator::GenerateEvent(), and CbmMCEventHeader::Reset().
|
inline |
Definition at line 63 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 63 of file FairMCEventHeader.h
References fB.
|
inline |
Modifiers
Definition at line 60 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 60 of file FairMCEventHeader.h
References fEventId.
Referenced by FairPrimaryGenerator::GenerateEvent().
|
inline |
Definition at line 64 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 64 of file FairMCEventHeader.h
References fNPrim.
Referenced by FairPrimaryGenerator::GenerateEvent().
|
inline |
Definition at line 61 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 61 of file FairMCEventHeader.h
References fRunId.
Referenced by FairMCApplication::InitGeometry().
|
inline |
Definition at line 62 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 62 of file FairMCEventHeader.h
Referenced by FairPrimaryGenerator::GenerateEvent().
|
inline |
Definition at line 95 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 95 of file FairMCEventHeader.h
References fX, fY, fZ, x, y, and z.
Referenced by FairPrimaryGenerator::GenerateEvent().
|
inline |
Definition at line 104 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 104 of file FairMCEventHeader.h
|
protected |
Event time [s].
Definition at line 85 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 85 of file FairMCEventHeader.h
|
protected |
Run identifier.
Definition at line 80 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 80 of file FairMCEventHeader.h
Referenced by GetEventID(), Reset(), and SetEventID().
|
protected |
Number of input tracks.
Definition at line 87 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 87 of file FairMCEventHeader.h
|
protected |
Impact parameter [fm] (if relevant)
Definition at line 86 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 86 of file FairMCEventHeader.h
Referenced by GetNPrim(), Reset(), and SetNPrim().
|
protected |
Definition at line 79 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 79 of file FairMCEventHeader.h
Referenced by GetRunID(), and SetRunID().
|
protected |
Primary vertex z [cm].
Definition at line 84 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 84 of file FairMCEventHeader.h
|
protected |
Event identifier.
Definition at line 81 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 81 of file FairMCEventHeader.h
Referenced by GetVertex(), GetX(), Reset(), and SetVertex().
|
protected |
Primary vertex x [cm].
Definition at line 82 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 82 of file FairMCEventHeader.h
Referenced by GetVertex(), GetY(), Reset(), and SetVertex().
|
protected |
Primary vertex y [cm].
Definition at line 83 of file FairMCEventHeader.h.
View newest version in sPHENIX GitHub at line 83 of file FairMCEventHeader.h
Referenced by GetVertex(), GetZ(), Reset(), and SetVertex().