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

#include <PParticle.h>

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

Public Member Functions

 PParticle (Int_t id=0, Double_t T=0., Double_t w=1.)
 
virtual ~PParticle ()
 
Int_t ID () const
 
TLorentzVector Vect4 () const
 
void SetVertex (Double_t x, Double_t y, Double_t z, Double_t t)
 
Int_t GetParentIndex () const
 
Int_t GetDaughterIndex () const
 
TVector3 & GetVertex ()
 
TVector3 & getVertex ()
 
void SetParentId (Int_t pId)
 
void SetSourceId (Int_t sId)
 
void SetDaughterIndex (Int_t dInd)
 
void SetSiblingIndex (Int_t sInd)
 
void SetParentIndex (Int_t pInd)
 
void SetSibling (PParticle *p)
 
void ResetDaughters (void)
 

Protected Member Functions

void defaults (void)
 

Protected Attributes

Int_t pid
 
Int_t sourceId
 
Int_t parentId
 
Int_t parentIndex
 
Int_t decayModeIndex
 
Int_t destroyDecayModeIndex
 
Int_t daughterIndex
 
Int_t siblingIndex
 
Int_t spectator
 
Double_t decayTime
 flag that forces particle to be treated as spectator
 
Double_t wt
 
Double_t genwt
 
Double_t invgenwt
 generator weight
 
Double_t mult
 inverted generator weight
 
TVector3 fV
 multiplicity
 
Double_t fT
 
Bool_t active
 
Int_t index
 internal activity flag
 
PParticlepParticle
 index in particle array
 
PParticleqParticle1
 pointer to particle object
 
PParticleqParticle2
 
PParticlesParticle
 
PParticledaughters [MAX_DAUGHTERS+1]
 pointer to particle object
 
TString debug
 pointer to daughter array
 
PValuesvalues
 debug string
 
Int_t status
 pointer to value container
 
Bool_t make_new_qParticle
 status of parent particle in PChannel::Decay
 

Detailed Description

Definition at line 28 of file PParticle.h.

Constructor & Destructor Documentation

◆ PParticle()

PParticle::PParticle ( Int_t id = 0,
Double_t T = 0.,
Double_t w = 1. )

Definition at line 54 of file PParticle.cxx.

References defaults().

◆ ~PParticle()

virtual PParticle::~PParticle ( )
inlinevirtual

Definition at line 60 of file PParticle.h.

References qParticle1, qParticle2, and values.

Member Function Documentation

◆ defaults()

◆ GetDaughterIndex()

Int_t PParticle::GetDaughterIndex ( ) const
inline

Definition at line 78 of file PParticle.h.

References daughterIndex.

Referenced by CbmPlutoGenerator::ReadEvent().

◆ GetParentIndex()

Int_t PParticle::GetParentIndex ( ) const
inline

Definition at line 77 of file PParticle.h.

References parentIndex.

Referenced by CbmPlutoGenerator::ReadEvent().

◆ GetVertex()

TVector3 & PParticle::GetVertex ( )
inline

Definition at line 80 of file PParticle.h.

References fV.

◆ getVertex()

TVector3 & PParticle::getVertex ( )
inline

Definition at line 81 of file PParticle.h.

References fV.

Referenced by CbmPlutoGenerator::ReadEvent().

◆ ID()

Int_t PParticle::ID ( ) const
inline

Definition at line 67 of file PParticle.h.

References pid.

Referenced by CbmPlutoGenerator::ReadEvent().

◆ ResetDaughters()

void PParticle::ResetDaughters ( void )
inline

Definition at line 90 of file PParticle.h.

References daughters, and MAX_DAUGHTERS.

Referenced by defaults().

◆ SetDaughterIndex()

void PParticle::SetDaughterIndex ( Int_t dInd)
inline

Definition at line 85 of file PParticle.h.

References daughterIndex.

Referenced by defaults().

◆ SetParentId()

void PParticle::SetParentId ( Int_t pId)
inline

Definition at line 83 of file PParticle.h.

References parentId.

Referenced by defaults().

◆ SetParentIndex()

void PParticle::SetParentIndex ( Int_t pInd)
inline

Definition at line 87 of file PParticle.h.

References parentIndex.

Referenced by defaults().

◆ SetSibling()

void PParticle::SetSibling ( PParticle * p)
inline

Definition at line 88 of file PParticle.h.

References sParticle.

Referenced by defaults().

◆ SetSiblingIndex()

void PParticle::SetSiblingIndex ( Int_t sInd)
inline

Definition at line 86 of file PParticle.h.

References siblingIndex.

Referenced by defaults().

◆ SetSourceId()

void PParticle::SetSourceId ( Int_t sId)
inline

Definition at line 84 of file PParticle.h.

References sourceId.

Referenced by defaults().

◆ SetVertex()

void PParticle::SetVertex ( Double_t x,
Double_t y,
Double_t z,
Double_t t )
inline

Definition at line 71 of file PParticle.h.

References fT, fV, x, and y.

Referenced by defaults().

◆ Vect4()

TLorentzVector PParticle::Vect4 ( ) const
inline

Member Data Documentation

◆ active

Bool_t PParticle::active
protected

Definition at line 117 of file PParticle.h.

◆ daughterIndex

Int_t PParticle::daughterIndex
protected

Definition at line 105 of file PParticle.h.

Referenced by GetDaughterIndex(), and SetDaughterIndex().

◆ daughters

PParticle* PParticle::daughters[MAX_DAUGHTERS+1]
protected

pointer to particle object

Definition at line 123 of file PParticle.h.

Referenced by ResetDaughters().

◆ debug

TString PParticle::debug
protected

pointer to daughter array

Definition at line 124 of file PParticle.h.

Referenced by defaults().

◆ decayModeIndex

Int_t PParticle::decayModeIndex
protected

Definition at line 103 of file PParticle.h.

Referenced by defaults().

◆ decayTime

Double_t PParticle::decayTime
protected

flag that forces particle to be treated as spectator

Definition at line 109 of file PParticle.h.

Referenced by defaults().

◆ destroyDecayModeIndex

Int_t PParticle::destroyDecayModeIndex
protected

Definition at line 104 of file PParticle.h.

Referenced by defaults().

◆ fT

Double_t PParticle::fT
protected

Definition at line 116 of file PParticle.h.

Referenced by SetVertex().

◆ fV

TVector3 PParticle::fV
protected

multiplicity

Definition at line 115 of file PParticle.h.

Referenced by GetVertex(), getVertex(), and SetVertex().

◆ genwt

Double_t PParticle::genwt
protected

Definition at line 111 of file PParticle.h.

Referenced by defaults().

◆ index

Int_t PParticle::index
protected

internal activity flag

Definition at line 118 of file PParticle.h.

Referenced by defaults().

◆ invgenwt

Double_t PParticle::invgenwt
protected

generator weight

Definition at line 112 of file PParticle.h.

Referenced by defaults().

◆ make_new_qParticle

Bool_t PParticle::make_new_qParticle
protected

status of parent particle in PChannel::Decay

Definition at line 129 of file PParticle.h.

Referenced by defaults().

◆ mult

Double_t PParticle::mult
protected

inverted generator weight

Definition at line 113 of file PParticle.h.

Referenced by defaults().

◆ parentId

Int_t PParticle::parentId
protected

Definition at line 101 of file PParticle.h.

Referenced by SetParentId().

◆ parentIndex

Int_t PParticle::parentIndex
protected

Definition at line 102 of file PParticle.h.

Referenced by defaults(), GetParentIndex(), and SetParentIndex().

◆ pid

Int_t PParticle::pid
protected

Definition at line 99 of file PParticle.h.

Referenced by ID().

◆ pParticle

PParticle* PParticle::pParticle
protected

index in particle array

Definition at line 119 of file PParticle.h.

Referenced by defaults().

◆ qParticle1

PParticle* PParticle::qParticle1
protected

pointer to particle object

Definition at line 120 of file PParticle.h.

Referenced by defaults(), and ~PParticle().

◆ qParticle2

PParticle* PParticle::qParticle2
protected

Definition at line 121 of file PParticle.h.

Referenced by defaults(), and ~PParticle().

◆ siblingIndex

Int_t PParticle::siblingIndex
protected

Definition at line 106 of file PParticle.h.

Referenced by SetSiblingIndex().

◆ sourceId

Int_t PParticle::sourceId
protected

Definition at line 100 of file PParticle.h.

Referenced by SetSourceId().

◆ sParticle

PParticle* PParticle::sParticle
protected

Definition at line 122 of file PParticle.h.

Referenced by SetSibling().

◆ spectator

Int_t PParticle::spectator
protected

Definition at line 107 of file PParticle.h.

Referenced by defaults().

◆ status

Int_t PParticle::status
protected

pointer to value container

Definition at line 127 of file PParticle.h.

◆ values

PValues* PParticle::values
protected

debug string

Definition at line 126 of file PParticle.h.

Referenced by defaults(), and ~PParticle().

◆ wt

Double_t PParticle::wt
protected

Definition at line 110 of file PParticle.h.


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