Pluto v6.3.0
Loading...
Searching...
No Matches
PFireball Class Reference

#include <PFireball.h>

Inheritance diagram for PFireball:
PParticle

Public Member Functions

 PFireball (const char *particle, float AGeV, float t1, float t2=0.0, float f=1.0, float b=0.0, float a2=0.0, float a4=0.0, float w1=0.0, float w2=0.0, int sp=0)
void setTemperature (float t1, float t2, float f, int id=0)
void setSigma (double s)
void SetSigma (double s)
void SetRapidityDistribution (TF1 *f)
void setBlast (float b, int id=0)
void setAnisotropy (float a2, float a4, int id=0)
void setFlow (float a, float b)
Double_t AvApart (Double_t ap, Double_t at, Double_t bn, Double_t bx)
Double_t AvApart (Double_t ap, Double_t at)
void setRandomB (float ap, float at, float p=0., float bn=0., float bx=20.)
void setMeanN (float mN)
void setSpectator (int sp)
bool IsRandomB ()
bool IsRandomN ()
int getParticleId ()
float getT1 ()
float getT2 ()
float getFrac ()
float getBlast ()
float getA2 ()
float getA4 ()
float getV1 ()
float getV2 ()
int getSpectator ()
PF2 * getFuncE ()
PF2 * getFuncE1 ()
PF2 * getFuncE2 ()
PF2 * getFuncE3 ()
TF1 * getFuncA ()
TF1 * getFuncMt ()
void setHisto (TH2F *pH)
TH2F * getHisto ()
void SetNpx (Int_t my_npx)
void SetNpy (Int_t my_npy)
void SetEpsilon (Double_t e)
void RotateSamplingPlane (void)
void UseMesh (void)
void sampleECM (Double_t &E, Double_t &M, int didx)
void sampleECM1 (Double_t &E, Double_t &M, int didx)
void sampleECM2 (Double_t &E, Double_t &M, int didx)
void sampleECM3 (Double_t &E, Double_t &Theta)
double sampleThetaCM ()
double sampleMt ()
void samplePartCM (double &px, double &py, double &pz, double &E, int didx)
float sampleB () const
int sampleNProd ()
int sampleNProd (float b)
int getLastNProd ()
int IsFireball ()
PChannel * makeChannel (Int_t nMax, Float_t nAverage=0.)
void setTrueThermal (Bool_t flag=kTRUE)
void setMtScaling ()
float mtScale (double m)
virtual void Print (const Option_t *delme="") const
void printAverages () const
virtual ~PFireball ()
float mtIntegral (double mass, float temperature)
void SetW (double w=1.)
Public Member Functions inherited from PParticle
 PParticle (Int_t id=0, Double_t T=0., Double_t w=1.)
 PParticle (const char *, Double_t T=0., Double_t w=1.)
 PParticle (Int_t, Double_t, Double_t, Double_t, Double_t m=0., Double_t w=1.)
 PParticle (const char *, Double_t, Double_t, Double_t, Double_t m=0., Double_t w=1.)
 PParticle (Int_t, const TVector3 &, Double_t m=0., Double_t w=1.)
 PParticle (Int_t, Double_t *, Double_t w=1.)
 PParticle (Int_t, float *, Double_t w=1.)
 PParticle (const PParticle &)
 PParticle (const PParticle *)
virtual ~PParticle ()
Int_t Is (const char *id)
Int_t is (const char *id)
Int_t HasID (const Int_t id)
Int_t HasNotID (const Int_t id)
Int_t size ()
Int_t IsNucleon ()
Int_t IsDelta ()
Int_t IsPi ()
Int_t IsRho ()
Int_t ID () const
const char * Name ()
void SetSpectator (Int_t s)
Int_t IsSpectator ()
void SetID (const Int_t id)
Double_t W () const
void SetW (Double_t w=1.)
void SetMultiplicity (Double_t w=1.)
Double_t GetMultiplicity ()
Double_t GenW () const
void SetGenW (Double_t w=1.)
Double_t InvGenW () const
void SetInvGenW (Double_t w=1.)
virtual Double_t KE () const
void SetKE (Double_t T=0.)
void SetM (Double_t m=0.)
void SetMom (Double_t mom=0.)
void ResetE ()
Double_t Life (Double_t m=0., Int_t idx=-1)
TLorentzVector Vect4 () const
void SetVect4 (const TLorentzVector &v)
Int_t IsMeson () const
Int_t IsHadron () const
Int_t BaryonN () const
Int_t LeptonN () const
Int_t Charge () const
Int_t Key () const
void Reset (const Int_t id, const TLorentzVector &v, const Double_t w=1.)
virtual Int_t IsDilepton ()
virtual Int_t IsFileInput ()
void Reset (const Int_t id=0, const Double_t px=0., const Double_t py=0., const Double_t pz=0., const Double_t e=0., const Double_t w=1.)
void Reset (const PParticle &p)
PParticle * Clone (const char *delme=NULL) const
bool SetValue (Int_t id, Double_t val)
bool SetValue (Int_t id)
bool GetValue (Int_t id, Double_t *val)
Int_t GetDBInt (char *name)
Double_t GetDBDouble (char *name)
char GetDBString (char *name) const
void SetStatus (Int_t st)
Int_t GetStatus ()
Double_t InvariantT (Double_t m3, Double_t m4, Double_t cos_th_cm)
PParticle operator+ (const PParticle &b) const
void Scatter (PParticle *p1, PParticle *p2)
PParticle operator- (const PParticle &b) const
void Reconstruct (void)
PParticle & operator+= (const PParticle &)
PParticle & operator-= (const PParticle &)
PParticle & operator= (const PParticle &)
PParticle & operator*= (const TRotation &)
PParticle & operator*= (const TLorentzRotation &)
PParticle & Transform (const TRotation &)
PParticle & Transform (const TLorentzRotation &)
PParticle & AddTmp (const PParticle &p)
PParticle & SubTmp (const PParticle &p)
void Print (const Option_t *delme=NULL) const
void SetParentId (Int_t pId)
void SetSourceId (Int_t sId)
Int_t GetParentId () const
Int_t GetSourceId () const
Int_t getSourceId () const
void SetParentIndex (Int_t pInd)
Int_t GetParentIndex () const
void SetDecayModeIndex (Int_t pInd, Int_t i=0)
Int_t GetDecayModeIndex (Int_t opt=0) const
void SetDaughterIndex (Int_t dInd)
Int_t GetDaughterIndex () const
void SetSiblingIndex (Int_t sInd)
Int_t GetSiblingIndex () const
void SetIndex (Int_t Ind)
Int_t GetIndex () const
Bool_t IsActive () const
void SetActive ()
void SetInActive ()
void SetProperTime ()
void SetProperTime (Double_t t)
Double_t GetProperTime () const
void SetVertex (Double_t x, Double_t y, Double_t z, Double_t t)
void SetVertex (Double_t x, Double_t y, Double_t z)
void SetVertex (TVector3 &v, Double_t t)
TVector3 & GetVertex ()
TVector3 & getVertex ()
Double_t X () const
Double_t Y () const
Double_t Z () const
Double_t R () const
Double_t T () const
void SetT (Double_t time)
void SetInput (PParticle *p)
PParticle * GetInput ()
void SetParent (PParticle *p)
PParticle * GetParent ()
void SetSibling (PParticle *p)
PParticle * GetSibling ()
void ResetDaughters (void)
void SetDaughter (PParticle *d)
PParticle * GetDaughter (int i)
PParticle * GetScattering (Int_t i)
PParticle * GetBeam (void)
PParticle * GetTarget (void)
void addDebugString (char *s)
void clearDebugString ()
TString * GetDebugString ()
Int_t GetScatterClone (void)
void SetScatterClone (Int_t t)
Double_t Sample ()
 Helper for PReaction.

Protected Member Functions

void updateFunctions (int id=0)
void setToMidrapidity (float AGeV)
float Npar (float ap, float at, float b)
float NparSmeared (float ap, float at, float b) const
Protected Member Functions inherited from PParticle
void defaults (void)

Protected Attributes

int prodId
float T1
float T2
float frac
float blast
float power1
float power2
float A2
float A4
float v1
float v2
float Ap
float At
float prob
float bmin
float bmax
float meanN
int nProd
bool flag
float mt_fac
 if set, sample impact parameter first, then Poisson Npart
double sig
 mt scaling of mass distribution
TF1 * rapidity_function
 sigma of gaussian dNdy distribution
int spect
 Function of dNdy distribution.
PF2 * fE
 if set to 0 participant, if set to 1 target-like spectator,
TF1 * fE_1d
 energy sampling function (true Boltzmann) x BW(M)
PF2 * fE1
TF1 * fE1_1d
 energy sampling function with E*sqrt(p) x BW(M)
PF2 * fE2
TF1 * fE2_1d
 energy sampling function with E*p**3 x BW(M)
PF2 * fE3
TF1 * fA
 energy sampling function with p**n x W(Theta)
TF1 * fMt
 polar angle sampling function
TH2F * fHisto
 mt sampling function
bool trueThermal
 dN2/dEdTheta sampling histogram
Int_t npx
 thermal sampling flag
Int_t npy
PParticle ** part
 Granularity for all 2-dim histograms.
bool quasistable
 array of particle pointers
PChannelModel * model
 long-lived or stable particle flag
int didx_old
 Primary model for emitted particle prodId.
int sample_option
 cache for didx
int mesh_option
 option for a rotation in the E-M-plane
PFunction * pfE
 option to use the adaptive mesh
PAdaptiveMeshN * afE
 Envelope for thermal channel model E.
Float_t y0
 Mesh for thermal channel model E.
Protected Attributes inherited from PParticle
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
PParticle * pParticle
 index in particle array
PParticle * qParticle1
 pointer to particle object
PParticle * qParticle2
PParticle * sParticle
PParticle * daughters [MAX_DAUGHTERS+1]
 pointer to particle object
TString debug
 pointer to daughter array
PValues * values
 debug string
Int_t status
 pointer to value container
Bool_t make_new_qParticle
 status of parent particle in PChannel::Decay

Additional Inherited Members

Public Attributes inherited from PParticle
Double_t weight_divisor

Detailed Description

Definition at line 21 of file PFireball.h.

Constructor & Destructor Documentation

◆ PFireball()

PFireball::PFireball ( const char * particle,
float AGeV,
float t1,
float t2 = 0.0,
float f = 1.0,
float b = 0.0,
float a2 = 0.0,
float a4 = 0.0,
float w1 = 0.0,
float w2 = 0.0,
int sp = 0 )

◆ ~PFireball()

virtual PFireball::~PFireball ( )
inlinevirtual

Definition at line 245 of file PFireball.h.

Member Function Documentation

◆ AvApart() [1/2]

Double_t PFireball::AvApart ( Double_t ap,
Double_t at )
inline

Definition at line 116 of file PFireball.h.

◆ AvApart() [2/2]

Double_t PFireball::AvApart ( Double_t ap,
Double_t at,
Double_t bn,
Double_t bx )

◆ getA2()

float PFireball::getA2 ( )
inline

Definition at line 153 of file PFireball.h.

◆ getA4()

float PFireball::getA4 ( )
inline

Definition at line 154 of file PFireball.h.

◆ getBlast()

float PFireball::getBlast ( )
inline

Definition at line 152 of file PFireball.h.

◆ getFrac()

float PFireball::getFrac ( )
inline

Definition at line 151 of file PFireball.h.

◆ getFuncA()

TF1 * PFireball::getFuncA ( )
inline

Definition at line 162 of file PFireball.h.

◆ getFuncE()

PF2 * PFireball::getFuncE ( )
inline

Definition at line 158 of file PFireball.h.

◆ getFuncE1()

PF2 * PFireball::getFuncE1 ( )
inline

Definition at line 159 of file PFireball.h.

◆ getFuncE2()

PF2 * PFireball::getFuncE2 ( )
inline

Definition at line 160 of file PFireball.h.

◆ getFuncE3()

PF2 * PFireball::getFuncE3 ( )
inline

Definition at line 161 of file PFireball.h.

◆ getFuncMt()

TF1 * PFireball::getFuncMt ( )
inline

Definition at line 163 of file PFireball.h.

◆ getHisto()

TH2F * PFireball::getHisto ( )
inline

Definition at line 168 of file PFireball.h.

◆ getLastNProd()

int PFireball::getLastNProd ( )
inline

Definition at line 229 of file PFireball.h.

◆ getParticleId()

int PFireball::getParticleId ( )
inline

Definition at line 148 of file PFireball.h.

◆ getSpectator()

int PFireball::getSpectator ( )
inline

Definition at line 157 of file PFireball.h.

◆ getT1()

float PFireball::getT1 ( )
inline

Definition at line 149 of file PFireball.h.

◆ getT2()

float PFireball::getT2 ( )
inline

Definition at line 150 of file PFireball.h.

◆ getV1()

float PFireball::getV1 ( )
inline

Definition at line 155 of file PFireball.h.

◆ getV2()

float PFireball::getV2 ( )
inline

Definition at line 156 of file PFireball.h.

◆ IsFireball()

int PFireball::IsFireball ( )
inlinevirtual

Reimplemented from PParticle.

Definition at line 230 of file PFireball.h.

◆ IsRandomB()

bool PFireball::IsRandomB ( )
inline

Definition at line 145 of file PFireball.h.

◆ IsRandomN()

bool PFireball::IsRandomN ( )
inline

Definition at line 146 of file PFireball.h.

◆ makeChannel()

PChannel * PFireball::makeChannel ( Int_t nMax,
Float_t nAverage = 0. )

◆ mtIntegral()

float PFireball::mtIntegral ( double mass,
float temperature )

◆ mtScale()

float PFireball::mtScale ( double m)
inline

Definition at line 240 of file PFireball.h.

◆ Npar()

float PFireball::Npar ( float ap,
float at,
float b )
protected

◆ NparSmeared()

float PFireball::NparSmeared ( float ap,
float at,
float b ) const
protected

◆ Print()

virtual void PFireball::Print ( const Option_t * delme = "") const
virtual

◆ printAverages()

void PFireball::printAverages ( ) const

◆ RotateSamplingPlane()

void PFireball::RotateSamplingPlane ( void )
inline

Definition at line 174 of file PFireball.h.

◆ sampleB()

float PFireball::sampleB ( ) const

◆ sampleECM()

void PFireball::sampleECM ( Double_t & E,
Double_t & M,
int didx )

◆ sampleECM1()

void PFireball::sampleECM1 ( Double_t & E,
Double_t & M,
int didx )
inline

Definition at line 185 of file PFireball.h.

◆ sampleECM2()

void PFireball::sampleECM2 ( Double_t & E,
Double_t & M,
int didx )
inline

Definition at line 202 of file PFireball.h.

◆ sampleECM3()

void PFireball::sampleECM3 ( Double_t & E,
Double_t & Theta )
inline

Definition at line 219 of file PFireball.h.

◆ sampleMt()

double PFireball::sampleMt ( )
inline

Definition at line 224 of file PFireball.h.

◆ sampleNProd() [1/2]

int PFireball::sampleNProd ( )

◆ sampleNProd() [2/2]

int PFireball::sampleNProd ( float b)

◆ samplePartCM()

void PFireball::samplePartCM ( double & px,
double & py,
double & pz,
double & E,
int didx )

◆ sampleThetaCM()

double PFireball::sampleThetaCM ( )
inline

Definition at line 223 of file PFireball.h.

◆ setAnisotropy()

void PFireball::setAnisotropy ( float a2,
float a4,
int id = 0 )
inline

Definition at line 105 of file PFireball.h.

◆ setBlast()

void PFireball::setBlast ( float b,
int id = 0 )
inline

Definition at line 101 of file PFireball.h.

◆ SetEpsilon()

void PFireball::SetEpsilon ( Double_t e)

◆ setFlow()

void PFireball::setFlow ( float a,
float b )
inline

Definition at line 110 of file PFireball.h.

◆ setHisto()

void PFireball::setHisto ( TH2F * pH)
inline

Definition at line 164 of file PFireball.h.

◆ setMeanN()

void PFireball::setMeanN ( float mN)
inline

Definition at line 138 of file PFireball.h.

◆ setMtScaling()

void PFireball::setMtScaling ( )
inline

Definition at line 237 of file PFireball.h.

◆ SetNpx()

void PFireball::SetNpx ( Int_t my_npx)

◆ SetNpy()

void PFireball::SetNpy ( Int_t my_npy)

◆ setRandomB()

void PFireball::setRandomB ( float ap,
float at,
float p = 0.,
float bn = 0.,
float bx = 20. )
inline

Definition at line 120 of file PFireball.h.

◆ SetRapidityDistribution()

void PFireball::SetRapidityDistribution ( TF1 * f)
inline

Definition at line 97 of file PFireball.h.

◆ SetSigma()

void PFireball::SetSigma ( double s)
inline

Definition at line 94 of file PFireball.h.

◆ setSigma()

void PFireball::setSigma ( double s)
inline

Definition at line 91 of file PFireball.h.

◆ setSpectator()

void PFireball::setSpectator ( int sp)
inline

Definition at line 141 of file PFireball.h.

◆ setTemperature()

void PFireball::setTemperature ( float t1,
float t2,
float f,
int id = 0 )
inline

Definition at line 81 of file PFireball.h.

◆ setToMidrapidity()

void PFireball::setToMidrapidity ( float AGeV)
protected

◆ setTrueThermal()

void PFireball::setTrueThermal ( Bool_t flag = kTRUE)
inline

Definition at line 234 of file PFireball.h.

◆ SetW()

void PFireball::SetW ( double w = 1.)
inline

Definition at line 257 of file PFireball.h.

◆ updateFunctions()

void PFireball::updateFunctions ( int id = 0)
protected

◆ UseMesh()

void PFireball::UseMesh ( void )
inline

Definition at line 178 of file PFireball.h.

Member Data Documentation

◆ A2

float PFireball::A2
protected

Definition at line 32 of file PFireball.h.

◆ A4

float PFireball::A4
protected

Definition at line 33 of file PFireball.h.

◆ afE

PAdaptiveMeshN* PFireball::afE
protected

Envelope for thermal channel model E.

Definition at line 73 of file PFireball.h.

◆ Ap

float PFireball::Ap
protected

Definition at line 36 of file PFireball.h.

◆ At

float PFireball::At
protected

Definition at line 37 of file PFireball.h.

◆ blast

float PFireball::blast
protected

Definition at line 29 of file PFireball.h.

◆ bmax

float PFireball::bmax
protected

Definition at line 40 of file PFireball.h.

◆ bmin

float PFireball::bmin
protected

Definition at line 39 of file PFireball.h.

◆ didx_old

int PFireball::didx_old
protected

Primary model for emitted particle prodId.

Definition at line 68 of file PFireball.h.

◆ fA

TF1* PFireball::fA
protected

energy sampling function with p**n x W(Theta)

Definition at line 58 of file PFireball.h.

◆ fE

PF2* PFireball::fE
protected

if set to 0 participant, if set to 1 target-like spectator,

Definition at line 51 of file PFireball.h.

◆ fE1

PF2* PFireball::fE1
protected

Definition at line 53 of file PFireball.h.

◆ fE1_1d

TF1* PFireball::fE1_1d
protected

energy sampling function with E*sqrt(p) x BW(M)

Definition at line 54 of file PFireball.h.

◆ fE2

PF2* PFireball::fE2
protected

Definition at line 55 of file PFireball.h.

◆ fE2_1d

TF1* PFireball::fE2_1d
protected

energy sampling function with E*p**3 x BW(M)

Definition at line 56 of file PFireball.h.

◆ fE3

PF2* PFireball::fE3
protected

Definition at line 57 of file PFireball.h.

◆ fE_1d

TF1* PFireball::fE_1d
protected

energy sampling function (true Boltzmann) x BW(M)

Definition at line 52 of file PFireball.h.

◆ fHisto

TH2F* PFireball::fHisto
protected

mt sampling function

Definition at line 60 of file PFireball.h.

◆ flag

bool PFireball::flag
protected

Definition at line 43 of file PFireball.h.

◆ fMt

TF1* PFireball::fMt
protected

polar angle sampling function

Definition at line 59 of file PFireball.h.

◆ frac

float PFireball::frac
protected

Definition at line 28 of file PFireball.h.

◆ meanN

float PFireball::meanN
protected

Definition at line 41 of file PFireball.h.

◆ mesh_option

int PFireball::mesh_option
protected

option for a rotation in the E-M-plane

Definition at line 71 of file PFireball.h.

◆ model

PChannelModel* PFireball::model
protected

long-lived or stable particle flag

Definition at line 67 of file PFireball.h.

◆ mt_fac

float PFireball::mt_fac
protected

if set, sample impact parameter first, then Poisson Npart

Definition at line 44 of file PFireball.h.

◆ nProd

int PFireball::nProd
protected

Definition at line 42 of file PFireball.h.

◆ npx

Int_t PFireball::npx
protected

thermal sampling flag

Definition at line 62 of file PFireball.h.

◆ npy

Int_t PFireball::npy
protected

Definition at line 62 of file PFireball.h.

◆ part

PParticle** PFireball::part
protected

Granularity for all 2-dim histograms.

Definition at line 64 of file PFireball.h.

◆ pfE

PFunction* PFireball::pfE
protected

option to use the adaptive mesh

Definition at line 72 of file PFireball.h.

◆ power1

float PFireball::power1
protected

Definition at line 30 of file PFireball.h.

◆ power2

float PFireball::power2
protected

Definition at line 31 of file PFireball.h.

◆ prob

float PFireball::prob
protected

Definition at line 38 of file PFireball.h.

◆ prodId

int PFireball::prodId
protected

Definition at line 25 of file PFireball.h.

◆ quasistable

bool PFireball::quasistable
protected

array of particle pointers

Definition at line 65 of file PFireball.h.

◆ rapidity_function

TF1* PFireball::rapidity_function
protected

sigma of gaussian dNdy distribution

Definition at line 46 of file PFireball.h.

◆ sample_option

int PFireball::sample_option
protected

cache for didx

Definition at line 69 of file PFireball.h.

◆ sig

double PFireball::sig
protected

mt scaling of mass distribution

Definition at line 45 of file PFireball.h.

◆ spect

int PFireball::spect
protected

Function of dNdy distribution.

Definition at line 48 of file PFireball.h.

◆ T1

float PFireball::T1
protected

Definition at line 26 of file PFireball.h.

◆ T2

float PFireball::T2
protected

Definition at line 27 of file PFireball.h.

◆ trueThermal

bool PFireball::trueThermal
protected

dN2/dEdTheta sampling histogram

Definition at line 61 of file PFireball.h.

◆ v1

float PFireball::v1
protected

Definition at line 34 of file PFireball.h.

◆ v2

float PFireball::v2
protected

Definition at line 35 of file PFireball.h.

◆ y0

Float_t PFireball::y0
protected

Mesh for thermal channel model E.

Definition at line 75 of file PFireball.h.


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