CbmRoot
CbmMCEvent Class Reference

#include <CbmMCEvent.h>

Inheritance diagram for CbmMCEvent:
[legend]
Collaboration diagram for CbmMCEvent:
[legend]

Public Member Functions

 CbmMCEvent ()
 
 CbmMCEvent (UInt_t runId, Int_t iEvent, Double_t x, Double_t y, Double_t z, Double_t t, Double_t b, Double_t phi, Int_t nPrim)
 
 CbmMCEvent (UInt_t runId)
 
virtual ~CbmMCEvent ()
 
UInt_t GetRunID () const
 
Int_t GetEventID () const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetT () const
 
Double_t GetB () const
 
Double_t GetPhi () const
 
Int_t GetNPrim () const
 
Bool_t IsSet () const
 
void GetVertex (TVector3 &vertex)
 
void SetEventID (Int_t eventId)
 
void SetTime (Double_t t)
 
void SetB (Double_t b)
 
void SetPhi (Double_t phi)
 
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 ()
 

Private Member Functions

 ClassDef (CbmMCEvent, 1)
 

Private Attributes

UInt_t fRunId
 
UInt_t fEventId
 
Double32_t fX
 
Double32_t fY
 
Double32_t fZ
 
Double32_t fT
 
Double32_t fB
 
Double32_t fPhi
 
Int_t fNPrim
 
Bool_t fIsSet
 

Detailed Description

CbmMCEvent.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) 11.05.2009 New CBM class derived from FairMCEventHeader

Definition at line 18 of file CbmMCEvent.h.

Constructor & Destructor Documentation

◆ CbmMCEvent() [1/3]

CbmMCEvent::CbmMCEvent ( )

Default constructor

CbmMCEvent.cxx

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) 11.05.2009 New CBM class derived from FairMCEventHeader

Definition at line 13 of file CbmMCEvent.cxx.

◆ CbmMCEvent() [2/3]

CbmMCEvent::CbmMCEvent ( UInt_t  runId,
Int_t  iEvent,
Double_t  x,
Double_t  y,
Double_t  z,
Double_t  t,
Double_t  b,
Double_t  phi,
Int_t  nPrim 
)

Constructor with all members

Parameters
runIdrun identifier
iEventevent identifier
x,y,zvertex oordinates [cm]
tevent time [ns]
bimpact parameter [fm] (if relevant)
phievent plane angle [rad]
nPrimnumber of input tracks

Definition at line 49 of file CbmMCEvent.cxx.

◆ CbmMCEvent() [3/3]

CbmMCEvent::CbmMCEvent ( UInt_t  runId)

Standard constructor with run identifier

Definition at line 31 of file CbmMCEvent.cxx.

◆ ~CbmMCEvent()

CbmMCEvent::~CbmMCEvent ( )
virtual

Destructor

Definition at line 75 of file CbmMCEvent.cxx.

Member Function Documentation

◆ ClassDef()

CbmMCEvent::ClassDef ( CbmMCEvent  ,
 
)
private

◆ GetB()

Double_t CbmMCEvent::GetB ( ) const
inline

Definition at line 61 of file CbmMCEvent.h.

References fB.

◆ GetEventID()

Int_t CbmMCEvent::GetEventID ( ) const
inline

Definition at line 56 of file CbmMCEvent.h.

References fEventId.

◆ GetNPrim()

Int_t CbmMCEvent::GetNPrim ( ) const
inline

Definition at line 63 of file CbmMCEvent.h.

References fNPrim.

◆ GetPhi()

Double_t CbmMCEvent::GetPhi ( ) const
inline

Definition at line 62 of file CbmMCEvent.h.

References fPhi.

◆ GetRunID()

UInt_t CbmMCEvent::GetRunID ( ) const
inline

Accessors

Definition at line 55 of file CbmMCEvent.h.

References fRunId.

◆ GetT()

Double_t CbmMCEvent::GetT ( ) const
inline

Definition at line 60 of file CbmMCEvent.h.

References fT.

◆ GetVertex()

void CbmMCEvent::GetVertex ( TVector3 &  vertex)
inline

Definition at line 65 of file CbmMCEvent.h.

References fX, fY, and fZ.

◆ GetX()

Double_t CbmMCEvent::GetX ( ) const
inline

Definition at line 57 of file CbmMCEvent.h.

References fX.

◆ GetY()

Double_t CbmMCEvent::GetY ( ) const
inline

Definition at line 58 of file CbmMCEvent.h.

References fY.

◆ GetZ()

Double_t CbmMCEvent::GetZ ( ) const
inline

Definition at line 59 of file CbmMCEvent.h.

References fZ.

◆ IsSet()

Bool_t CbmMCEvent::IsSet ( ) const
inline

Definition at line 64 of file CbmMCEvent.h.

References fIsSet.

◆ MarkSet()

void CbmMCEvent::MarkSet ( Bool_t  isSet)
inline

Definition at line 74 of file CbmMCEvent.h.

References fIsSet.

◆ Reset()

void CbmMCEvent::Reset ( )

Reset all members

Definition at line 80 of file CbmMCEvent.cxx.

References fB, fEventId, fIsSet, fNPrim, fPhi, fT, fX, fY, and fZ.

◆ SetB()

void CbmMCEvent::SetB ( Double_t  b)
inline

Definition at line 71 of file CbmMCEvent.h.

References fB.

◆ SetEventID()

void CbmMCEvent::SetEventID ( Int_t  eventId)
inline

Modifiers

Definition at line 69 of file CbmMCEvent.h.

References fEventId.

◆ SetNPrim()

void CbmMCEvent::SetNPrim ( Int_t  nPrim)
inline

Definition at line 73 of file CbmMCEvent.h.

References fNPrim.

◆ SetPhi()

void CbmMCEvent::SetPhi ( Double_t  phi)
inline

Definition at line 72 of file CbmMCEvent.h.

References fPhi.

◆ SetTime()

void CbmMCEvent::SetTime ( Double_t  t)
inline

Definition at line 70 of file CbmMCEvent.h.

References fT.

◆ SetVertex() [1/2]

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

Definition at line 107 of file CbmMCEvent.h.

References fX, fY, and fZ.

◆ SetVertex() [2/2]

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

Definition at line 100 of file CbmMCEvent.h.

References fX, fY, fZ, x, and y.

Member Data Documentation

◆ fB

Double32_t CbmMCEvent::fB
private

Definition at line 90 of file CbmMCEvent.h.

Referenced by GetB(), Reset(), and SetB().

◆ fEventId

UInt_t CbmMCEvent::fEventId
private

Definition at line 85 of file CbmMCEvent.h.

Referenced by GetEventID(), Reset(), and SetEventID().

◆ fIsSet

Bool_t CbmMCEvent::fIsSet
private

Definition at line 93 of file CbmMCEvent.h.

Referenced by IsSet(), MarkSet(), and Reset().

◆ fNPrim

Int_t CbmMCEvent::fNPrim
private

Definition at line 92 of file CbmMCEvent.h.

Referenced by GetNPrim(), Reset(), and SetNPrim().

◆ fPhi

Double32_t CbmMCEvent::fPhi
private

Definition at line 91 of file CbmMCEvent.h.

Referenced by GetPhi(), Reset(), and SetPhi().

◆ fRunId

UInt_t CbmMCEvent::fRunId
private

Definition at line 84 of file CbmMCEvent.h.

Referenced by GetRunID().

◆ fT

Double32_t CbmMCEvent::fT
private

Definition at line 89 of file CbmMCEvent.h.

Referenced by GetT(), Reset(), and SetTime().

◆ fX

Double32_t CbmMCEvent::fX
private

Definition at line 86 of file CbmMCEvent.h.

Referenced by GetVertex(), GetX(), Reset(), and SetVertex().

◆ fY

Double32_t CbmMCEvent::fY
private

Definition at line 87 of file CbmMCEvent.h.

Referenced by GetVertex(), GetY(), Reset(), and SetVertex().

◆ fZ

Double32_t CbmMCEvent::fZ
private

Definition at line 88 of file CbmMCEvent.h.

Referenced by GetVertex(), GetZ(), Reset(), and SetVertex().


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