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

#include <FairMCEventHeader.h>

Inheritance diagram for FairMCEventHeader:
FairMCSplitEventHeader

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...
 

Detailed Description

FairMCEventHeader.h

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e Data class (level MC) containing information about the input event. 15.05.2008 change the event time to ns (M. Al-Turany)

Definition at line 21 of file FairMCEventHeader.h.

Constructor & Destructor Documentation

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

Parameters
iEventevent identifier
x,y,zvertex oordinates [cm]
tevent time [ns]
bimpact parameter [fm] (if relevant)
nPrimnumber 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.

FairMCEventHeader::~FairMCEventHeader ( )
virtual

Destructor

Definition at line 73 of file FairMCEventHeader.cxx.

Member Function Documentation

FairMCEventHeader::ClassDef ( FairMCEventHeader  ,
 
)
protected

Rotation around z-axis (event plane) [rad].

Double_t FairMCEventHeader::GetB ( ) const
inline

event time [ns]

Definition at line 50 of file FairMCEventHeader.h.

UInt_t FairMCEventHeader::GetEventID ( ) const
inline

run identifier

Definition at line 45 of file FairMCEventHeader.h.

Int_t FairMCEventHeader::GetNPrim ( ) const
inline

impact parameter [fm]

Definition at line 51 of file FairMCEventHeader.h.

Double_t FairMCEventHeader::GetRotX ( ) const
inline

Flag.

Definition at line 53 of file FairMCEventHeader.h.

Double_t FairMCEventHeader::GetRotY ( ) const
inline

rot. around x-axis [rad]

Definition at line 54 of file FairMCEventHeader.h.

Double_t FairMCEventHeader::GetRotZ ( ) const
inline

rot. around y-axis [rad]

Definition at line 55 of file FairMCEventHeader.h.

UInt_t FairMCEventHeader::GetRunID ( ) const
inline

Accessors

Definition at line 44 of file FairMCEventHeader.h.

Double_t FairMCEventHeader::GetT ( ) const
inline

vertex z [cm]

Definition at line 49 of file FairMCEventHeader.h.

void FairMCEventHeader::GetVertex ( TVector3 &  vertex)
inline

rot. around z-axis [rad]

Definition at line 57 of file FairMCEventHeader.h.

Double_t FairMCEventHeader::GetX ( ) const
inline

event identifier

Definition at line 46 of file FairMCEventHeader.h.

Double_t FairMCEventHeader::GetY ( ) const
inline

vertex x [cm]

Definition at line 47 of file FairMCEventHeader.h.

Double_t FairMCEventHeader::GetZ ( ) const
inline

vertex y [cm]

Definition at line 48 of file FairMCEventHeader.h.

Bool_t FairMCEventHeader::IsSet ( ) const
inline

number of input tracks

Definition at line 52 of file FairMCEventHeader.h.

void FairMCEventHeader::MarkSet ( Bool_t  isSet)
inline

Definition at line 65 of file FairMCEventHeader.h.

void FairMCEventHeader::Register ( )
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.

void FairMCEventHeader::SetB ( Double_t  b)
inline

Definition at line 63 of file FairMCEventHeader.h.

void FairMCEventHeader::SetEventID ( UInt_t  eventId)
inline

Modifiers

Definition at line 60 of file FairMCEventHeader.h.

void FairMCEventHeader::SetNPrim ( Int_t  nPrim)
inline

Definition at line 64 of file FairMCEventHeader.h.

void FairMCEventHeader::SetRotX ( Double_t  rotx)
inline

Definition at line 68 of file FairMCEventHeader.h.

void FairMCEventHeader::SetRotY ( Double_t  roty)
inline

Definition at line 69 of file FairMCEventHeader.h.

void FairMCEventHeader::SetRotZ ( Double_t  rotz)
inline

Definition at line 70 of file FairMCEventHeader.h.

void FairMCEventHeader::SetRunID ( UInt_t  runId)
inline

Definition at line 61 of file FairMCEventHeader.h.

void FairMCEventHeader::SetTime ( Double_t  t)
inline

Definition at line 62 of file FairMCEventHeader.h.

void FairMCEventHeader::SetVertex ( Double_t  x,
Double_t  y,
Double_t  z 
)
inline

Definition at line 95 of file FairMCEventHeader.h.

void FairMCEventHeader::SetVertex ( const TVector3 &  vertex)
inline

Definition at line 102 of file FairMCEventHeader.h.

Member Data Documentation

Double32_t FairMCEventHeader::fB
protected

Event time [s].

Definition at line 85 of file FairMCEventHeader.h.

UInt_t FairMCEventHeader::fEventId
protected

Run identifier.

Definition at line 80 of file FairMCEventHeader.h.

Bool_t FairMCEventHeader::fIsSet
protected

Number of input tracks.

Definition at line 87 of file FairMCEventHeader.h.

Int_t FairMCEventHeader::fNPrim
protected

Impact parameter [fm] (if relevant)

Definition at line 86 of file FairMCEventHeader.h.

Double32_t FairMCEventHeader::fRotX
protected

Flag whether variables are filled.

Definition at line 88 of file FairMCEventHeader.h.

Double32_t FairMCEventHeader::fRotY
protected

Rotation around x-axis (beam tilt) [rad].

Definition at line 89 of file FairMCEventHeader.h.

Double32_t FairMCEventHeader::fRotZ
protected

Rotation around y-axis (beam tilt) [rad].

Definition at line 90 of file FairMCEventHeader.h.

UInt_t FairMCEventHeader::fRunId
protected

Definition at line 79 of file FairMCEventHeader.h.

Double32_t FairMCEventHeader::fT
protected

Primary vertex z [cm].

Definition at line 84 of file FairMCEventHeader.h.

Double32_t FairMCEventHeader::fX
protected

Event identifier.

Definition at line 81 of file FairMCEventHeader.h.

Double32_t FairMCEventHeader::fY
protected

Primary vertex x [cm].

Definition at line 82 of file FairMCEventHeader.h.

Double32_t FairMCEventHeader::fZ
protected

Primary vertex y [cm].

Definition at line 83 of file FairMCEventHeader.h.


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