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

#include <UParticle.h>

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

Public Member Functions

 UParticle ()
 
 UParticle (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)
 
 UParticle (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)
 
 UParticle (const UParticle &right)
 
 UParticle (const TParticle &right)
 
virtual ~UParticle ()
 
const UParticleoperator= (const UParticle &right)
 
const UParticleoperator= (const TParticle &right)
 
Bool_t operator== (const UParticle &right) const
 
void Print (Option_t *="") const
 
Int_t GetIndex () const
 
Int_t GetPdg () const
 
Int_t GetStatus () const
 
Int_t GetParent () const
 
Int_t GetParentDecay () const
 
Int_t GetMate () const
 
Int_t GetDecay () const
 
Int_t GetFirstChild () const
 
Int_t GetLastChild () const
 
Double_t Px () const
 
Double_t Py () const
 
Double_t Pz () const
 
Double_t E () const
 
TLorentzVector GetMomentum () const
 
void Momentum (TLorentzVector &mom) const
 
Double_t X () const
 
Double_t Y () const
 
Double_t Z () const
 
Double_t T () const
 
TLorentzVector GetPosition () const
 
void Position (TLorentzVector &pos) const
 
Double_t GetWeight () const
 
void SetIndex (Int_t index)
 
void SetPdg (Int_t pdg)
 
void SetStatus (Int_t status)
 
void SetParent (Int_t parent)
 
void SetParentDecay (Int_t parentDecay)
 
void SetMate (Int_t mate)
 
void SetDecay (Int_t decay)
 
void SetChild (Int_t child[2])
 
void SetFirstChild (Int_t child)
 
void SetLastChild (Int_t child)
 
void SetPx (Double_t px)
 
void SetPy (Double_t py)
 
void SetPz (Double_t pz)
 
void SetE (Double_t e)
 
void SetMomentum (Double_t px, Double_t py, Double_t pz, Double_t e)
 
void SetMomentum (TLorentzVector mom)
 
void SetX (Double_t x)
 
void SetY (Double_t y)
 
void SetZ (Double_t z)
 
void SetT (Double_t t)
 
void SetPosition (Double_t x, Double_t y, Double_t z, Double_t t)
 
void SetPosition (TLorentzVector pos)
 
void SetWeight (Double_t weight)
 
 ClassDef (UParticle, 1)
 

Private Attributes

Int_t fIndex
 
Int_t fPdg
 
Int_t fStatus
 
Int_t fParent
 
Int_t fParentDecay
 
Int_t fMate
 
Int_t fDecay
 
Int_t fChild [2]
 
Double32_t fPx
 
Double32_t fPy
 
Double32_t fPz
 
Double32_t fE
 
Double32_t fX
 
Double32_t fY
 
Double32_t fZ
 
Double32_t fT
 
Double32_t fWeight
 

Detailed Description

Definition at line 14 of file UParticle.h.

Constructor & Destructor Documentation

◆ UParticle() [1/5]

UParticle::UParticle ( )

Definition at line 22 of file UParticle.cxx.

References fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, and fZ.

Referenced by ClassDef(), operator=(), operator=(), operator==(), and UParticle().

◆ UParticle() [2/5]

UParticle::UParticle ( 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 49 of file UParticle.cxx.

References fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, x, and y.

◆ UParticle() [3/5]

UParticle::UParticle ( 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 77 of file UParticle.cxx.

References E(), fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, pos, Px(), Py(), Pz(), T(), X(), Y(), and Z().

◆ UParticle() [4/5]

UParticle::UParticle ( const UParticle & right)

Definition at line 104 of file UParticle.cxx.

References fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, and UParticle().

◆ UParticle() [5/5]

UParticle::UParticle ( const TParticle & right)

Definition at line 128 of file UParticle.cxx.

References fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, GetWeight(), Px(), Py(), Pz(), and T().

◆ ~UParticle()

UParticle::~UParticle ( )
virtual

Definition at line 154 of file UParticle.cxx.

Member Function Documentation

◆ ClassDef()

UParticle::ClassDef ( UParticle ,
1  )

References UParticle().

◆ E()

Double_t UParticle::E ( ) const
inline

Definition at line 61 of file UParticle.h.

References fE.

Referenced by CbmUnigenGenerator::ReadEvent(), UParticle(), and HalCbmUnigenEvent::Update().

◆ GetDecay()

Int_t UParticle::GetDecay ( ) const
inline

Definition at line 55 of file UParticle.h.

References fDecay.

Referenced by CbmSimTracksConverter::ProcessData().

◆ GetFirstChild()

Int_t UParticle::GetFirstChild ( ) const
inline

Definition at line 56 of file UParticle.h.

References fChild.

◆ GetIndex()

Int_t UParticle::GetIndex ( ) const
inline

Definition at line 49 of file UParticle.h.

References fIndex.

◆ GetLastChild()

Int_t UParticle::GetLastChild ( ) const
inline

Definition at line 57 of file UParticle.h.

References fChild.

◆ GetMate()

Int_t UParticle::GetMate ( ) const
inline

Definition at line 54 of file UParticle.h.

References fMate.

◆ GetMomentum()

TLorentzVector UParticle::GetMomentum ( ) const
inline

Definition at line 62 of file UParticle.h.

References fE, fPx, fPy, and fPz.

Referenced by CbmUnigenSource::Boost(), and HalCbmUnigenEventInterface::Boost().

◆ GetParent()

Int_t UParticle::GetParent ( ) const
inline

Definition at line 52 of file UParticle.h.

References fParent.

Referenced by CbmSimTracksConverter::ProcessData(), and HalCbmUnigenEvent::Update().

◆ GetParentDecay()

Int_t UParticle::GetParentDecay ( ) const
inline

Definition at line 53 of file UParticle.h.

References fParentDecay.

◆ GetPdg()

Int_t UParticle::GetPdg ( ) const
inline

Definition at line 50 of file UParticle.h.

References fPdg.

Referenced by CbmUnigenGenerator::ReadEvent(), and HalCbmUnigenEvent::Update().

◆ GetPosition()

TLorentzVector UParticle::GetPosition ( ) const
inline

Definition at line 68 of file UParticle.h.

References fT, fX, fY, and fZ.

Referenced by CbmUnigenSource::Boost(), HalCbmUnigenEventInterface::Boost(), and CbmSimTracksConverter::ProcessData().

◆ GetStatus()

Int_t UParticle::GetStatus ( ) const
inline

Definition at line 51 of file UParticle.h.

References fStatus.

Referenced by HalCbmUnigenEvent::Update().

◆ GetWeight()

Double_t UParticle::GetWeight ( ) const
inline

Definition at line 70 of file UParticle.h.

References fWeight.

Referenced by CbmUnigenGenerator::ReadEvent(), and UParticle().

◆ Momentum()

void UParticle::Momentum ( TLorentzVector & mom) const
inline

Definition at line 63 of file UParticle.h.

References fE, fPx, fPy, and fPz.

◆ operator=() [1/2]

const UParticle & UParticle::operator= ( const TParticle & right)

Definition at line 190 of file UParticle.cxx.

References fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, and UParticle().

◆ operator=() [2/2]

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

Definition at line 162 of file UParticle.cxx.

References fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, and UParticle().

◆ operator==()

Bool_t UParticle::operator== ( const UParticle & right) const

Definition at line 217 of file UParticle.cxx.

References fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, and UParticle().

◆ Position()

void UParticle::Position ( TLorentzVector & pos) const
inline

Definition at line 69 of file UParticle.h.

References fT, fX, fY, fZ, and pos.

◆ Print()

void UParticle::Print ( Option_t * = "") const

Definition at line 239 of file UParticle.cxx.

References fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, and fZ.

Referenced by UEvent::Print().

◆ Px()

Double_t UParticle::Px ( ) const
inline

Definition at line 58 of file UParticle.h.

References fPx.

Referenced by CbmUnigenGenerator::ReadEvent(), UParticle(), UParticle(), and HalCbmUnigenEvent::Update().

◆ Py()

Double_t UParticle::Py ( ) const
inline

Definition at line 59 of file UParticle.h.

References fPy.

Referenced by CbmUnigenGenerator::ReadEvent(), UParticle(), UParticle(), and HalCbmUnigenEvent::Update().

◆ Pz()

Double_t UParticle::Pz ( ) const
inline

Definition at line 60 of file UParticle.h.

References fPz.

Referenced by CbmUnigenGenerator::ReadEvent(), UParticle(), UParticle(), and HalCbmUnigenEvent::Update().

◆ SetChild()

void UParticle::SetChild ( Int_t child[2])
inline

Definition at line 78 of file UParticle.h.

References fChild.

◆ SetDecay()

void UParticle::SetDecay ( Int_t decay)
inline

Definition at line 77 of file UParticle.h.

References fDecay.

◆ SetE()

void UParticle::SetE ( Double_t e)
inline

Definition at line 88 of file UParticle.h.

References fE.

◆ SetFirstChild()

void UParticle::SetFirstChild ( Int_t child)
inline

Definition at line 83 of file UParticle.h.

References fChild.

◆ SetIndex()

void UParticle::SetIndex ( Int_t index)
inline

Definition at line 71 of file UParticle.h.

References fIndex.

◆ SetLastChild()

void UParticle::SetLastChild ( Int_t child)
inline

Definition at line 84 of file UParticle.h.

References fChild.

◆ SetMate()

void UParticle::SetMate ( Int_t mate)
inline

Definition at line 76 of file UParticle.h.

References fMate.

◆ SetMomentum() [1/2]

void UParticle::SetMomentum ( Double_t px,
Double_t py,
Double_t pz,
Double_t e )
inline

Definition at line 89 of file UParticle.h.

References fE, fPx, fPy, and fPz.

Referenced by CbmUnigenSource::Boost(), and HalCbmUnigenEventInterface::Boost().

◆ SetMomentum() [2/2]

void UParticle::SetMomentum ( TLorentzVector mom)
inline

Definition at line 96 of file UParticle.h.

References fE, fPx, fPy, and fPz.

◆ SetParent()

void UParticle::SetParent ( Int_t parent)
inline

Definition at line 74 of file UParticle.h.

References fParent.

◆ SetParentDecay()

void UParticle::SetParentDecay ( Int_t parentDecay)
inline

Definition at line 75 of file UParticle.h.

References fParentDecay.

◆ SetPdg()

void UParticle::SetPdg ( Int_t pdg)
inline

Definition at line 72 of file UParticle.h.

References fPdg.

◆ SetPosition() [1/2]

void UParticle::SetPosition ( Double_t x,
Double_t y,
Double_t z,
Double_t t )
inline

Definition at line 107 of file UParticle.h.

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

Referenced by CbmUnigenSource::Boost(), and HalCbmUnigenEventInterface::Boost().

◆ SetPosition() [2/2]

void UParticle::SetPosition ( TLorentzVector pos)
inline

Definition at line 114 of file UParticle.h.

References fT, fX, fY, fZ, and pos.

◆ SetPx()

void UParticle::SetPx ( Double_t px)
inline

Definition at line 85 of file UParticle.h.

References fPx.

◆ SetPy()

void UParticle::SetPy ( Double_t py)
inline

Definition at line 86 of file UParticle.h.

References fPy.

◆ SetPz()

void UParticle::SetPz ( Double_t pz)
inline

Definition at line 87 of file UParticle.h.

References fPz.

◆ SetStatus()

void UParticle::SetStatus ( Int_t status)
inline

Definition at line 73 of file UParticle.h.

References fStatus.

◆ SetT()

void UParticle::SetT ( Double_t t)
inline

Definition at line 106 of file UParticle.h.

References fT.

◆ SetWeight()

void UParticle::SetWeight ( Double_t weight)
inline

Definition at line 121 of file UParticle.h.

References fWeight.

◆ SetX()

void UParticle::SetX ( Double_t x)
inline

Definition at line 103 of file UParticle.h.

References fX, and x.

◆ SetY()

void UParticle::SetY ( Double_t y)
inline

Definition at line 104 of file UParticle.h.

References fY, and y.

◆ SetZ()

void UParticle::SetZ ( Double_t z)
inline

Definition at line 105 of file UParticle.h.

References fZ.

◆ T()

Double_t UParticle::T ( ) const
inline

Definition at line 67 of file UParticle.h.

References fT.

Referenced by UParticle(), UParticle(), and HalCbmUnigenEvent::Update().

◆ X()

Double_t UParticle::X ( ) const
inline

Definition at line 64 of file UParticle.h.

References fX.

Referenced by UParticle(), and HalCbmUnigenEvent::Update().

◆ Y()

Double_t UParticle::Y ( ) const
inline

Definition at line 65 of file UParticle.h.

References fY.

Referenced by UParticle(), and HalCbmUnigenEvent::Update().

◆ Z()

Double_t UParticle::Z ( ) const
inline

Definition at line 66 of file UParticle.h.

References fZ.

Referenced by UParticle(), and HalCbmUnigenEvent::Update().

Member Data Documentation

◆ fChild

◆ fDecay

Int_t UParticle::fDecay
private

◆ fE

Double32_t UParticle::fE
private

◆ fIndex

Int_t UParticle::fIndex
private

◆ fMate

Int_t UParticle::fMate
private

◆ fParent

Int_t UParticle::fParent
private

◆ fParentDecay

Int_t UParticle::fParentDecay
private

◆ fPdg

Int_t UParticle::fPdg
private

◆ fPx

Double32_t UParticle::fPx
private

◆ fPy

Double32_t UParticle::fPy
private

◆ fPz

Double32_t UParticle::fPz
private

◆ fStatus

Int_t UParticle::fStatus
private

◆ fT

Double32_t UParticle::fT
private

◆ fWeight

Double32_t UParticle::fWeight
private

◆ fX

Double32_t UParticle::fX
private

◆ fY

Double32_t UParticle::fY
private

◆ fZ

Double32_t UParticle::fZ
private

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