FairRoot
|
#include <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 More... | |
Double_t | GetX () const |
event identifier More... | |
Double_t | GetY () const |
vertex x [cm] More... | |
Double_t | GetZ () const |
vertex y [cm] More... | |
Double_t | GetT () const |
vertex z [cm] More... | |
Double_t | GetB () const |
event time [ns] More... | |
Int_t | GetNPrim () const |
impact parameter [fm] More... | |
Bool_t | IsSet () const |
number of input tracks More... | |
Double_t | GetRotX () const |
Flag. More... | |
Double_t | GetRotY () const |
rot. around x-axis [rad] More... | |
Double_t | GetRotZ () const |
rot. around y-axis [rad] More... | |
void | GetVertex (TVector3 &vertex) |
rot. around z-axis [rad] More... | |
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 | SetRotX (Double_t rotx) |
void | SetRotY (Double_t roty) |
void | SetRotZ (Double_t rotz) |
void | Reset () |
virtual void | Register () |
Protected Member Functions | |
ClassDef (FairMCEventHeader, 2) | |
Rotation around z-axis (event plane) [rad]. More... | |
Protected Attributes | |
UInt_t | fRunId |
UInt_t | fEventId |
Run identifier. More... | |
Double32_t | fX |
Event identifier. More... | |
Double32_t | fY |
Primary vertex x [cm]. More... | |
Double32_t | fZ |
Primary vertex y [cm]. More... | |
Double32_t | fT |
Primary vertex z [cm]. More... | |
Double32_t | fB |
Event time [s]. More... | |
Int_t | fNPrim |
Impact parameter [fm] (if relevant) More... | |
Bool_t | fIsSet |
Number of input tracks. More... | |
Double32_t | fRotX |
Flag whether variables are filled. More... | |
Double32_t | fRotY |
Rotation around x-axis (beam tilt) [rad]. More... | |
Double32_t | fRotZ |
Rotation around y-axis (beam tilt) [rad]. More... | |
Definition at line 21 of file FairMCEventHeader.h.
FairMCEventHeader::FairMCEventHeader | ( | ) |
Default constructor
Definition at line 19 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.
FairMCEventHeader::FairMCEventHeader | ( | UInt_t | runId | ) |
Standard constructor with run identifier
Definition at line 35 of file FairMCEventHeader.cxx.
|
virtual |
Destructor
Definition at line 73 of file FairMCEventHeader.cxx.
|
protected |
Rotation around z-axis (event plane) [rad].
|
inline |
event time [ns]
Definition at line 50 of file FairMCEventHeader.h.
|
inline |
run identifier
Definition at line 45 of file FairMCEventHeader.h.
|
inline |
impact parameter [fm]
Definition at line 51 of file FairMCEventHeader.h.
|
inline |
Flag.
Definition at line 53 of file FairMCEventHeader.h.
|
inline |
rot. around x-axis [rad]
Definition at line 54 of file FairMCEventHeader.h.
|
inline |
rot. around y-axis [rad]
Definition at line 55 of file FairMCEventHeader.h.
|
inline |
Accessors
Definition at line 44 of file FairMCEventHeader.h.
|
inline |
vertex z [cm]
Definition at line 49 of file FairMCEventHeader.h.
|
inline |
rot. around z-axis [rad]
Definition at line 57 of file FairMCEventHeader.h.
|
inline |
event identifier
Definition at line 46 of file FairMCEventHeader.h.
|
inline |
vertex x [cm]
Definition at line 47 of file FairMCEventHeader.h.
|
inline |
vertex y [cm]
Definition at line 48 of file FairMCEventHeader.h.
|
inline |
number of input tracks
Definition at line 52 of file FairMCEventHeader.h.
|
inline |
Definition at line 65 of file FairMCEventHeader.h.
|
virtual |
Register the class as data branch to the output
Reimplemented in FairMCSplitEventHeader.
Definition at line 84 of file FairMCEventHeader.cxx.
void FairMCEventHeader::Reset | ( | ) |
Reset all members
Definition at line 75 of file FairMCEventHeader.cxx.
|
inline |
Definition at line 63 of file FairMCEventHeader.h.
|
inline |
Modifiers
Definition at line 60 of file FairMCEventHeader.h.
|
inline |
Definition at line 64 of file FairMCEventHeader.h.
|
inline |
Definition at line 68 of file FairMCEventHeader.h.
|
inline |
Definition at line 69 of file FairMCEventHeader.h.
|
inline |
Definition at line 70 of file FairMCEventHeader.h.
|
inline |
Definition at line 61 of file FairMCEventHeader.h.
|
inline |
Definition at line 62 of file FairMCEventHeader.h.
|
inline |
Definition at line 95 of file FairMCEventHeader.h.
|
inline |
Definition at line 102 of file FairMCEventHeader.h.
|
protected |
Event time [s].
Definition at line 85 of file FairMCEventHeader.h.
|
protected |
Run identifier.
Definition at line 80 of file FairMCEventHeader.h.
|
protected |
Number of input tracks.
Definition at line 87 of file FairMCEventHeader.h.
|
protected |
Impact parameter [fm] (if relevant)
Definition at line 86 of file FairMCEventHeader.h.
|
protected |
Flag whether variables are filled.
Definition at line 88 of file FairMCEventHeader.h.
|
protected |
Rotation around x-axis (beam tilt) [rad].
Definition at line 89 of file FairMCEventHeader.h.
|
protected |
Rotation around y-axis (beam tilt) [rad].
Definition at line 90 of file FairMCEventHeader.h.
|
protected |
Definition at line 79 of file FairMCEventHeader.h.
|
protected |
Primary vertex z [cm].
Definition at line 84 of file FairMCEventHeader.h.
|
protected |
Event identifier.
Definition at line 81 of file FairMCEventHeader.h.
|
protected |
Primary vertex x [cm].
Definition at line 82 of file FairMCEventHeader.h.
|
protected |
Primary vertex y [cm].
Definition at line 83 of file FairMCEventHeader.h.