CbmRoot
ThermalParticle Class Reference

#include <ThermalParticle.h>

Collaboration diagram for ThermalParticle:
[legend]

Public Member Functions

double GetVo ()
 
 ThermalParticle (bool Stable_=true, std::string Name="hadron", int PDGID=0, int SpinDeg=1, int Stat=0, double Mass=0., int Strange=0, int Baryon=0, int Charge=0, double AbsS=0., double Width=0., double Threshold=0., std::string DecayName="pi0", int Charm=0, double AbsC=0., double radius=0.5)
 
 ~ThermalParticle (void)
 
void ReadDecays (std::string filename="")
 
void SetDecays (const std::vector< ParticleDecay > &Decays)
 
void useStatistics (bool enable)
 
void NormalizeBranchingRatios ()
 
void RestoreBranchingRatios ()
 
bool IsMajorana () const
 
double CalculateParticleDensity (double T, double muB, double muS, double muQ, double gammaS, double mass=-1., double dMu=0.) const
 
double CalculatePressure (double T, double muB, double muS, double muQ, double gammaS, double mass=-1., double dMu=0.) const
 
double CalculateEnergyDensity (double T, double muB, double muS, double muQ, double gammaS, double mass=-1., double dMu=0.) const
 
double CalculateEntropyDensity (double T, double muB, double muS, double muQ, double gammaS, double mass=-1., double dMu=0.) const
 
double CalculateParticleDensityLaguerre (double T, double muB, double muS, double muQ, double gammaS, double mass=-1., double dMu=0.) const
 
double CalculateDensity (double T, double muB, double muS, double muQ, double gammaS, int type=0, bool useWidth=0, double dMu=0.) const
 

Public Attributes

bool fStable
 
std::string fName
 
int fPDGID
 
int fSpinDegeneracy
 
int fStatistics
 
double fMass
 
int fS
 
int fB
 
int fC
 
int fCharm
 
double fAbsS
 
double fAbsC
 
double fWidth
 
double fThreshold
 
double fRadius
 
std::string fDecayName
 
std::vector< ParticleDecayfDecays
 
std::vector< ParticleDecayfDecaysOrig
 
std::vector< std::pair< double, int > > ResonanceBR
 

Static Public Attributes

static const double GeVtoifm = 1. / 0.197
 

Detailed Description

Definition at line 15 of file ThermalParticle.h.

Constructor & Destructor Documentation

◆ ThermalParticle()

ThermalParticle::ThermalParticle ( bool  Stable_ = true,
std::string  Name = "hadron",
int  PDGID = 0,
int  SpinDeg = 1,
int  Stat = 0,
double  Mass = 0.,
int  Strange = 0,
int  Baryon = 0,
int  Charge = 0,
double  AbsS = 0.,
double  Width = 0.,
double  Threshold = 0.,
std::string  DecayName = "pi0",
int  Charm = 0,
double  AbsC = 0.,
double  radius = 0.5 
)
inline

Definition at line 38 of file ThermalParticle.h.

References ResonanceBR.

◆ ~ThermalParticle()

ThermalParticle::~ThermalParticle ( void  )

Definition at line 18 of file ThermalParticle.cxx.

Member Function Documentation

◆ CalculateDensity()

double ThermalParticle::CalculateDensity ( double  T,
double  muB,
double  muS,
double  muQ,
double  gammaS,
int  type = 0,
bool  useWidth = 0,
double  dMu = 0. 
) const

◆ CalculateEnergyDensity()

double ThermalParticle::CalculateEnergyDensity ( double  T,
double  muB,
double  muS,
double  muQ,
double  gammaS,
double  mass = -1.,
double  dMu = 0. 
) const

◆ CalculateEntropyDensity()

double ThermalParticle::CalculateEntropyDensity ( double  T,
double  muB,
double  muS,
double  muQ,
double  gammaS,
double  mass = -1.,
double  dMu = 0. 
) const

◆ CalculateParticleDensity()

double ThermalParticle::CalculateParticleDensity ( double  T,
double  muB,
double  muS,
double  muQ,
double  gammaS,
double  mass = -1.,
double  dMu = 0. 
) const

◆ CalculateParticleDensityLaguerre()

double ThermalParticle::CalculateParticleDensityLaguerre ( double  T,
double  muB,
double  muS,
double  muQ,
double  gammaS,
double  mass = -1.,
double  dMu = 0. 
) const

◆ CalculatePressure()

double ThermalParticle::CalculatePressure ( double  T,
double  muB,
double  muS,
double  muQ,
double  gammaS,
double  mass = -1.,
double  dMu = 0. 
) const

◆ GetVo()

double ThermalParticle::GetVo ( )
inline

Definition at line 33 of file ThermalParticle.h.

References fRadius, and PI.

◆ IsMajorana()

bool ThermalParticle::IsMajorana ( ) const
inline

Definition at line 92 of file ThermalParticle.h.

References fB, fC, fCharm, fName, and fS.

◆ NormalizeBranchingRatios()

void ThermalParticle::NormalizeBranchingRatios ( )

Definition at line 41 of file ThermalParticle.cxx.

References i.

◆ ReadDecays()

void ThermalParticle::ReadDecays ( std::string  filename = "")

Definition at line 20 of file ThermalParticle.cxx.

References ParticleDecay::fBratio, and ParticleDecay::fDaughters.

◆ RestoreBranchingRatios()

void ThermalParticle::RestoreBranchingRatios ( )
inline

Definition at line 91 of file ThermalParticle.h.

References fDecays, and fDecaysOrig.

◆ SetDecays()

void ThermalParticle::SetDecays ( const std::vector< ParticleDecay > &  Decays)
inline

Definition at line 78 of file ThermalParticle.h.

References fDecays.

◆ useStatistics()

void ThermalParticle::useStatistics ( bool  enable)
inline

Definition at line 79 of file ThermalParticle.h.

References fB, and fStatistics.

Member Data Documentation

◆ fAbsC

double ThermalParticle::fAbsC

Definition at line 29 of file ThermalParticle.h.

◆ fAbsS

double ThermalParticle::fAbsS

Definition at line 28 of file ThermalParticle.h.

◆ fB

int ThermalParticle::fB

Definition at line 25 of file ThermalParticle.h.

Referenced by IsMajorana(), and useStatistics().

◆ fC

int ThermalParticle::fC

Definition at line 26 of file ThermalParticle.h.

Referenced by IsMajorana().

◆ fCharm

int ThermalParticle::fCharm

Definition at line 27 of file ThermalParticle.h.

Referenced by IsMajorana().

◆ fDecayName

std::string ThermalParticle::fDecayName

Definition at line 34 of file ThermalParticle.h.

◆ fDecays

std::vector<ParticleDecay> ThermalParticle::fDecays

Definition at line 35 of file ThermalParticle.h.

Referenced by RestoreBranchingRatios(), and SetDecays().

◆ fDecaysOrig

std::vector<ParticleDecay> ThermalParticle::fDecaysOrig

Definition at line 36 of file ThermalParticle.h.

Referenced by RestoreBranchingRatios().

◆ fMass

double ThermalParticle::fMass

Definition at line 23 of file ThermalParticle.h.

Referenced by ThermalParticleSystemNameSpace::cmpParticleMass().

◆ fName

std::string ThermalParticle::fName

Definition at line 19 of file ThermalParticle.h.

Referenced by IsMajorana().

◆ fPDGID

int ThermalParticle::fPDGID

Definition at line 20 of file ThermalParticle.h.

◆ fRadius

double ThermalParticle::fRadius

Definition at line 32 of file ThermalParticle.h.

Referenced by GetVo().

◆ fS

int ThermalParticle::fS

Definition at line 24 of file ThermalParticle.h.

Referenced by IsMajorana().

◆ fSpinDegeneracy

int ThermalParticle::fSpinDegeneracy

Definition at line 21 of file ThermalParticle.h.

◆ fStable

bool ThermalParticle::fStable

Definition at line 18 of file ThermalParticle.h.

◆ fStatistics

int ThermalParticle::fStatistics

Definition at line 22 of file ThermalParticle.h.

Referenced by useStatistics().

◆ fThreshold

double ThermalParticle::fThreshold

Definition at line 31 of file ThermalParticle.h.

◆ fWidth

double ThermalParticle::fWidth

Definition at line 30 of file ThermalParticle.h.

◆ GeVtoifm

const double ThermalParticle::GeVtoifm = 1. / 0.197
static

Definition at line 17 of file ThermalParticle.h.

◆ ResonanceBR

std::vector<std::pair<double, int> > ThermalParticle::ResonanceBR

Definition at line 37 of file ThermalParticle.h.

Referenced by ThermalParticle().


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