CbmRoot
Loading...
Searching...
No Matches
CbmMCEvent Class Reference

#include <CbmMCEvent.h>

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

Public Member Functions

 CbmMCEvent ()
 
 CbmMCEvent (uint32_t runId, int32_t iEvent, double x, double y, double z, double t, double b, double phi, int32_t nPrim)
 
 CbmMCEvent (uint32_t runId)
 
virtual ~CbmMCEvent ()
 
uint32_t GetRunID () const
 
int32_t GetEventID () const
 
double GetX () const
 
double GetY () const
 
double GetZ () const
 
double GetT () const
 
double GetB () const
 
double GetPhi () const
 
int32_t GetNPrim () const
 
bool IsSet () const
 
void GetVertex (TVector3 &vertex)
 
void SetEventID (int32_t eventId)
 
void SetTime (double t)
 
void SetB (double b)
 
void SetPhi (double phi)
 
void SetNPrim (int32_t nPrim)
 
void MarkSet (bool isSet)
 
void SetVertex (double x, double y, double z)
 
void SetVertex (const TVector3 &vertex)
 
void Reset ()
 

Private Member Functions

 ClassDef (CbmMCEvent, 1)
 

Private Attributes

uint32_t fRunId
 
uint32_t fEventId
 
Double32_t fX
 
Double32_t fY
 
Double32_t fZ
 
Double32_t fT
 
Double32_t fB
 
Double32_t fPhi
 
int32_t fNPrim
 
bool 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 24 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 17 of file CbmMCEvent.cxx.

◆ CbmMCEvent() [2/3]

CbmMCEvent::CbmMCEvent ( uint32_t runId,
int32_t iEvent,
double x,
double y,
double z,
double t,
double b,
double phi,
int32_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 55 of file CbmMCEvent.cxx.

◆ CbmMCEvent() [3/3]

CbmMCEvent::CbmMCEvent ( uint32_t runId)

Standard constructor with run identifier

Definition at line 36 of file CbmMCEvent.cxx.

◆ ~CbmMCEvent()

CbmMCEvent::~CbmMCEvent ( )
virtual

Destructor

Definition at line 75 of file CbmMCEvent.cxx.

Member Function Documentation

◆ ClassDef()

CbmMCEvent::ClassDef ( CbmMCEvent ,
1  )
private

◆ GetB()

double CbmMCEvent::GetB ( ) const
inline

Definition at line 60 of file CbmMCEvent.h.

References fB.

◆ GetEventID()

int32_t CbmMCEvent::GetEventID ( ) const
inline

Definition at line 55 of file CbmMCEvent.h.

References fEventId.

◆ GetNPrim()

int32_t CbmMCEvent::GetNPrim ( ) const
inline

Definition at line 62 of file CbmMCEvent.h.

References fNPrim.

◆ GetPhi()

double CbmMCEvent::GetPhi ( ) const
inline

Definition at line 61 of file CbmMCEvent.h.

References fPhi.

◆ GetRunID()

uint32_t CbmMCEvent::GetRunID ( ) const
inline

Accessors

Definition at line 54 of file CbmMCEvent.h.

References fRunId.

◆ GetT()

double CbmMCEvent::GetT ( ) const
inline

Definition at line 59 of file CbmMCEvent.h.

References fT.

◆ GetVertex()

void CbmMCEvent::GetVertex ( TVector3 & vertex)
inline

Definition at line 64 of file CbmMCEvent.h.

References fX, fY, and fZ.

◆ GetX()

double CbmMCEvent::GetX ( ) const
inline

Definition at line 56 of file CbmMCEvent.h.

References fX.

◆ GetY()

double CbmMCEvent::GetY ( ) const
inline

Definition at line 57 of file CbmMCEvent.h.

References fY.

◆ GetZ()

double CbmMCEvent::GetZ ( ) const
inline

Definition at line 58 of file CbmMCEvent.h.

References fZ.

◆ IsSet()

bool CbmMCEvent::IsSet ( ) const
inline

Definition at line 63 of file CbmMCEvent.h.

References fIsSet.

◆ MarkSet()

void CbmMCEvent::MarkSet ( bool isSet)
inline

Definition at line 73 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 b)
inline

Definition at line 70 of file CbmMCEvent.h.

References fB.

◆ SetEventID()

void CbmMCEvent::SetEventID ( int32_t eventId)
inline

Modifiers

Definition at line 68 of file CbmMCEvent.h.

References fEventId.

◆ SetNPrim()

void CbmMCEvent::SetNPrim ( int32_t nPrim)
inline

Definition at line 72 of file CbmMCEvent.h.

References fNPrim.

◆ SetPhi()

void CbmMCEvent::SetPhi ( double phi)
inline

Definition at line 71 of file CbmMCEvent.h.

References fPhi.

◆ SetTime()

void CbmMCEvent::SetTime ( double t)
inline

Definition at line 69 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 x,
double y,
double z )
inline

Definition at line 99 of file CbmMCEvent.h.

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

Member Data Documentation

◆ fB

Double32_t CbmMCEvent::fB
private

Definition at line 89 of file CbmMCEvent.h.

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

◆ fEventId

uint32_t CbmMCEvent::fEventId
private

Definition at line 84 of file CbmMCEvent.h.

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

◆ fIsSet

bool CbmMCEvent::fIsSet
private

Definition at line 92 of file CbmMCEvent.h.

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

◆ fNPrim

int32_t CbmMCEvent::fNPrim
private

Definition at line 91 of file CbmMCEvent.h.

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

◆ fPhi

Double32_t CbmMCEvent::fPhi
private

Definition at line 90 of file CbmMCEvent.h.

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

◆ fRunId

uint32_t CbmMCEvent::fRunId
private

Definition at line 83 of file CbmMCEvent.h.

Referenced by GetRunID().

◆ fT

Double32_t CbmMCEvent::fT
private

Definition at line 88 of file CbmMCEvent.h.

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

◆ fX

Double32_t CbmMCEvent::fX
private

Definition at line 85 of file CbmMCEvent.h.

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

◆ fY

Double32_t CbmMCEvent::fY
private

Definition at line 86 of file CbmMCEvent.h.

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

◆ fZ

Double32_t CbmMCEvent::fZ
private

Definition at line 87 of file CbmMCEvent.h.

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


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