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

#include <UEvent.h>

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

Public Member Functions

 UEvent ()
 
 UEvent (const UEvent &right)
 
UEventoperator= (const UEvent &right)
 
virtual ~UEvent ()
 
void Print (Option_t *option="") const
 
Int_t GetEventNr () const
 
Double_t GetB () const
 
Double_t GetPhi () const
 
Int_t GetNes () const
 
Int_t GetStepNr () const
 
Double_t GetStepT () const
 
Int_t GetNpa () const
 
TClonesArray * GetParticleList () const
 
void GetComment (TString &comment) const
 
UParticleGetParticle (Int_t index) const
 
void SetParameters (Int_t eventNr, Double_t b, Double_t phi, Int_t nes, Int_t stepNr, Double_t stepT, const char *comment="")
 
void SetEventNr (Int_t eventNr)
 
void SetB (Double_t b)
 
void SetPhi (Double_t phi)
 
void SetNes (Int_t nes)
 
void SetStepNr (Int_t stepNr)
 
void SetStepT (Double_t stepT)
 
void SetComment (const char *comment)
 
void AddParticle (Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay, Int_t child[2], Double_t px, Double_t py, Double_t pz, Double_t e, Double_t x, Double_t y, Double_t z, Double_t t, Double_t weight)
 
void AddParticle (Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay, Int_t child[2], TLorentzVector mom, TLorentzVector pos, Double_t weight)
 
void AddParticle (const UParticle &particle)
 
void Clear (Option_t *="")
 
void RemoveAt (Int_t i)
 
 ClassDef (UEvent, 2)
 

Private Attributes

Int_t fEventNr
 
Double_t fB
 
Double_t fPhi
 
Int_t fNes
 
Int_t fStepNr
 
Double_t fStepT
 
Int_t fNpa
 
TString fComment
 
TClonesArray * fParticles
 

Detailed Description

Definition at line 17 of file UEvent.h.

Constructor & Destructor Documentation

◆ UEvent() [1/2]

UEvent::UEvent ( )

Definition at line 24 of file UEvent.cxx.

◆ UEvent() [2/2]

UEvent::UEvent ( const UEvent & right)

Definition at line 41 of file UEvent.cxx.

References fNpa.

◆ ~UEvent()

UEvent::~UEvent ( )
virtual

Definition at line 63 of file UEvent.cxx.

References Clear(), and fParticles.

Member Function Documentation

◆ AddParticle() [1/3]

void UEvent::AddParticle ( const UParticle & particle)

Definition at line 137 of file UEvent.cxx.

References fNpa.

◆ AddParticle() [2/3]

void UEvent::AddParticle ( Int_t index,
Int_t pdg,
Int_t status,
Int_t parent,
Int_t parentDecay,
Int_t mate,
Int_t decay,
Int_t child[2],
Double_t px,
Double_t py,
Double_t pz,
Double_t e,
Double_t x,
Double_t y,
Double_t z,
Double_t t,
Double_t weight )

Definition at line 113 of file UEvent.cxx.

References fNpa, x, and y.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

◆ AddParticle() [3/3]

void UEvent::AddParticle ( Int_t index,
Int_t pdg,
Int_t status,
Int_t parent,
Int_t parentDecay,
Int_t mate,
Int_t decay,
Int_t child[2],
TLorentzVector mom,
TLorentzVector pos,
Double_t weight )

Definition at line 126 of file UEvent.cxx.

References fNpa, and pos.

◆ ClassDef()

UEvent::ClassDef ( UEvent ,
2  )

◆ Clear()

void UEvent::Clear ( Option_t * = "")

◆ GetB()

Double_t UEvent::GetB ( ) const
inline

◆ GetComment()

void UEvent::GetComment ( TString & comment) const
inline

Definition at line 44 of file UEvent.h.

References fComment.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

◆ GetEventNr()

Int_t UEvent::GetEventNr ( ) const
inline

Definition at line 36 of file UEvent.h.

References fEventNr.

Referenced by CbmUnigenGenerator::ReadEvent().

◆ GetNes()

Int_t UEvent::GetNes ( ) const
inline

Definition at line 39 of file UEvent.h.

References fNes.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

◆ GetNpa()

◆ GetParticle()

◆ GetParticleList()

TClonesArray * UEvent::GetParticleList ( ) const
inline

Definition at line 43 of file UEvent.h.

References fParticles.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

◆ GetPhi()

◆ GetStepNr()

Int_t UEvent::GetStepNr ( ) const
inline

Definition at line 40 of file UEvent.h.

References fStepNr.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

◆ GetStepT()

Double_t UEvent::GetStepT ( ) const
inline

Definition at line 41 of file UEvent.h.

References fStepT.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

◆ operator=()

UEvent & UEvent::operator= ( const UEvent & right)

Definition at line 144 of file UEvent.cxx.

References fB, fComment, fEventNr, fNes, fNpa, fParticles, fPhi, fStepNr, and fStepT.

◆ Print()

void UEvent::Print ( Option_t * option = "") const

Definition at line 73 of file UEvent.cxx.

References fB, fComment, fEventNr, fNes, fNpa, fParticles, fPhi, fStepNr, fStepT, and UParticle::Print().

◆ RemoveAt()

void UEvent::RemoveAt ( Int_t i)

Definition at line 193 of file UEvent.cxx.

References fParticles.

Referenced by HalCbmUnigenEventInterface::Compress().

◆ SetB()

void UEvent::SetB ( Double_t b)
inline

Definition at line 49 of file UEvent.h.

References fB.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress(), and HalCbmUnigenEventInterface::SetB().

◆ SetComment()

void UEvent::SetComment ( const char * comment)
inline

Definition at line 54 of file UEvent.h.

References fComment.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

◆ SetEventNr()

void UEvent::SetEventNr ( Int_t eventNr)
inline

Definition at line 48 of file UEvent.h.

References fEventNr.

◆ SetNes()

void UEvent::SetNes ( Int_t nes)
inline

Definition at line 51 of file UEvent.h.

References fNes.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

◆ SetParameters()

void UEvent::SetParameters ( Int_t eventNr,
Double_t b,
Double_t phi,
Int_t nes,
Int_t stepNr,
Double_t stepT,
const char * comment = "" )

Definition at line 167 of file UEvent.cxx.

References fB, fComment, fEventNr, fNes, fPhi, fStepNr, and fStepT.

◆ SetPhi()

void UEvent::SetPhi ( Double_t phi)
inline

Definition at line 50 of file UEvent.h.

References fPhi.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress(), and HalCbmUnigenEventInterface::SetPhi().

◆ SetStepNr()

void UEvent::SetStepNr ( Int_t stepNr)
inline

Definition at line 52 of file UEvent.h.

References fStepNr.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

◆ SetStepT()

void UEvent::SetStepT ( Double_t stepT)
inline

Definition at line 53 of file UEvent.h.

References fStepT.

Referenced by HalCbmUnigenEventInterface::CopyAndCompress().

Member Data Documentation

◆ fB

Double_t UEvent::fB
private

Definition at line 21 of file UEvent.h.

Referenced by GetB(), operator=(), Print(), SetB(), and SetParameters().

◆ fComment

TString UEvent::fComment
private

Definition at line 27 of file UEvent.h.

Referenced by GetComment(), operator=(), Print(), SetComment(), and SetParameters().

◆ fEventNr

Int_t UEvent::fEventNr
private

Definition at line 20 of file UEvent.h.

Referenced by GetEventNr(), operator=(), Print(), SetEventNr(), and SetParameters().

◆ fNes

Int_t UEvent::fNes
private

Definition at line 23 of file UEvent.h.

Referenced by GetNes(), operator=(), Print(), SetNes(), and SetParameters().

◆ fNpa

Int_t UEvent::fNpa
private

◆ fParticles

TClonesArray* UEvent::fParticles
private

Definition at line 28 of file UEvent.h.

Referenced by Clear(), GetParticle(), GetParticleList(), operator=(), Print(), RemoveAt(), and ~UEvent().

◆ fPhi

Double_t UEvent::fPhi
private

Definition at line 22 of file UEvent.h.

Referenced by GetPhi(), operator=(), Print(), SetParameters(), and SetPhi().

◆ fStepNr

Int_t UEvent::fStepNr
private

Definition at line 24 of file UEvent.h.

Referenced by GetStepNr(), operator=(), Print(), SetParameters(), and SetStepNr().

◆ fStepT

Double_t UEvent::fStepT
private

Definition at line 25 of file UEvent.h.

Referenced by GetStepT(), operator=(), Print(), SetParameters(), and SetStepT().


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