EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmMCEvent Class Reference

#include <EicRoot/blob/master/cbmdata/CbmMCEvent.h>

+ Inheritance diagram for CbmMCEvent:
+ Collaboration diagram for CbmMCEvent:

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 17 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 17 of file CbmMCEvent.h

Constructor & Destructor Documentation

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 14 of file CbmMCEvent.cxx.

View newest version in sPHENIX GitHub at line 14 of file CbmMCEvent.cxx

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 54 of file CbmMCEvent.cxx.

View newest version in sPHENIX GitHub at line 54 of file CbmMCEvent.cxx

CbmMCEvent::CbmMCEvent ( UInt_t  runId)

Standard constructor with run identifier

Definition at line 34 of file CbmMCEvent.cxx.

View newest version in sPHENIX GitHub at line 34 of file CbmMCEvent.cxx

CbmMCEvent::~CbmMCEvent ( )
virtual

Destructor

Definition at line 76 of file CbmMCEvent.cxx.

View newest version in sPHENIX GitHub at line 76 of file CbmMCEvent.cxx

Member Function Documentation

CbmMCEvent::ClassDef ( CbmMCEvent  ,
 
)
private
Double_t CbmMCEvent::GetB ( ) const
inline

Definition at line 56 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 56 of file CbmMCEvent.h

References fB.

Int_t CbmMCEvent::GetEventID ( ) const
inline

Definition at line 51 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 51 of file CbmMCEvent.h

References fEventId.

Int_t CbmMCEvent::GetNPrim ( ) const
inline

Definition at line 58 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 58 of file CbmMCEvent.h

References fNPrim.

Double_t CbmMCEvent::GetPhi ( ) const
inline

Definition at line 57 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 57 of file CbmMCEvent.h

References fPhi.

UInt_t CbmMCEvent::GetRunID ( ) const
inline

Accessors

Definition at line 50 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 50 of file CbmMCEvent.h

References fRunId.

Double_t CbmMCEvent::GetT ( ) const
inline

Definition at line 55 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 55 of file CbmMCEvent.h

References fT.

void CbmMCEvent::GetVertex ( TVector3 &  vertex)
inline

Definition at line 60 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 60 of file CbmMCEvent.h

References fX, fY, and fZ.

Double_t CbmMCEvent::GetX ( ) const
inline

Definition at line 52 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 52 of file CbmMCEvent.h

References fX.

Double_t CbmMCEvent::GetY ( ) const
inline

Definition at line 53 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 53 of file CbmMCEvent.h

References fY.

Double_t CbmMCEvent::GetZ ( ) const
inline

Definition at line 54 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 54 of file CbmMCEvent.h

References fZ.

Bool_t CbmMCEvent::IsSet ( ) const
inline

Definition at line 59 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 59 of file CbmMCEvent.h

References fIsSet.

void CbmMCEvent::MarkSet ( Bool_t  isSet)
inline

Definition at line 69 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 69 of file CbmMCEvent.h

References fIsSet.

void CbmMCEvent::Reset ( )

Reset all members

Definition at line 82 of file CbmMCEvent.cxx.

View newest version in sPHENIX GitHub at line 82 of file CbmMCEvent.cxx

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

void CbmMCEvent::SetB ( Double_t  b)
inline

Definition at line 66 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 66 of file CbmMCEvent.h

References fB.

void CbmMCEvent::SetEventID ( Int_t  eventId)
inline

Modifiers

Definition at line 64 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 64 of file CbmMCEvent.h

References fEventId.

void CbmMCEvent::SetNPrim ( Int_t  nPrim)
inline

Definition at line 68 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 68 of file CbmMCEvent.h

References fNPrim.

void CbmMCEvent::SetPhi ( Double_t  phi)
inline

Definition at line 67 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 67 of file CbmMCEvent.h

References fPhi, and phi.

void CbmMCEvent::SetTime ( Double_t  t)
inline

Definition at line 65 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 65 of file CbmMCEvent.h

References fT, and t.

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

Definition at line 98 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 98 of file CbmMCEvent.h

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

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

Definition at line 106 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 106 of file CbmMCEvent.h

References fX, fY, and fZ.

Member Data Documentation

Double32_t CbmMCEvent::fB
private

Definition at line 87 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 87 of file CbmMCEvent.h

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

UInt_t CbmMCEvent::fEventId
private

Definition at line 82 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 82 of file CbmMCEvent.h

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

Bool_t CbmMCEvent::fIsSet
private

Definition at line 90 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 90 of file CbmMCEvent.h

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

Int_t CbmMCEvent::fNPrim
private

Definition at line 89 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 89 of file CbmMCEvent.h

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

Double32_t CbmMCEvent::fPhi
private

Definition at line 88 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 88 of file CbmMCEvent.h

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

UInt_t CbmMCEvent::fRunId
private

Definition at line 81 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 81 of file CbmMCEvent.h

Referenced by GetRunID().

Double32_t CbmMCEvent::fT
private

Definition at line 86 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 86 of file CbmMCEvent.h

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

Double32_t CbmMCEvent::fX
private

Definition at line 83 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 83 of file CbmMCEvent.h

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

Double32_t CbmMCEvent::fY
private

Definition at line 84 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 84 of file CbmMCEvent.h

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

Double32_t CbmMCEvent::fZ
private

Definition at line 85 of file CbmMCEvent.h.

View newest version in sPHENIX GitHub at line 85 of file CbmMCEvent.h

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


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