![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Class containing all information about a particle specie. More...
#include <ThermalParticle.h>
Public Types | |
enum | ResonanceWidthShape { RelativisticBreitWigner , NonRelativisticBreitWigner } |
Relativistic vs non-relativistic Breit-Wigner shape. More... | |
enum | ResonanceWidthIntegration { ZeroWidth , BWTwoGamma , FullInterval , FullIntervalWeighted , eBW , eBWconstBR } |
Treatment of finite resonance widths. More... | |
typedef std::vector< ParticleDecayChannel > | ParticleDecaysVector |
Vector of all decay channels of a particle. | |
Public Member Functions | |
ThermalParticle (bool Stable=true, std::string Name="hadron", long long PDGID=0, double Deg=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., int Charm=0, double AbsC=0., int Quark=0) | |
Construct a new ThermalParticle object. | |
~ThermalParticle (void) | |
void | FillCoefficients () |
Fills coefficients for mass integration in the energy independent BW scheme. | |
void | FillCoefficientsDynamical () |
Fills coefficients for mass integration in the eBW scheme. | |
double | TotalWidtheBW (double M) const |
Total width (eBW scheme) at a given mass. | |
std::vector< double > | BranchingRatiosM (double M, bool eBW=true) const |
(Energy-dependent) branching ratios | |
double | ThermalMassDistribution (double M, double T, double Mu, double width) |
Mass distribution of a resonance in a thermal environment. | |
double | ThermalMassDistribution (double M, double T, double Mu) |
Mass distribution of a resonance in a thermal environment. | |
void | NormalizeBranchingRatios () |
Normalizes all branching ratios such that they sum up to 100%. | |
void | RestoreBranchingRatios () |
Restores all branching ratios to the original values. | |
double | Density (const ThermalModelParameters ¶ms, IdealGasFunctions::Quantity type=IdealGasFunctions::ParticleDensity, bool useWidth=0, double mu=0.) const |
Computes a specified ideal gas thermodynamic function. | |
double | DensityCluster (int n, const ThermalModelParameters ¶ms, IdealGasFunctions::Quantity type=IdealGasFunctions::ParticleDensity, bool useWidth=0, double mu=0.) const |
double | chi (int index, const ThermalModelParameters ¶ms, bool useWidth=0, double mu=0.) const |
Computes the ideal gas generalized susceptibility \( \chi_n \equiv \frac{\partial^n p/T^4}{\partial (mu/T)^n} \). | |
double | chiDimensionfull (int index, const ThermalModelParameters ¶ms, bool useWidth=0, double mu=0.) const |
Computes the ideal gas dimensionfull susceptibility \( \chi_n \equiv \frac{\partial^n p}{\partial mu^n} \). | |
double | ScaledVariance (const ThermalModelParameters ¶ms, bool useWidth=0, double mu=0.) const |
Computes the scaled variance of particle number fluctuations in the ideal gas. Computes the scaled variance (\chi_2 / \chi_1) of particle number fluctuations in the ideal gas. Takes into account chemical non-equilibrium fugacity factors and finite resonance widths. | |
double | Skewness (const ThermalModelParameters ¶ms, bool useWidth=0, double mu=0.) const |
Computes the normalized skewness of particle number fluctuations in the ideal gas. | |
double | Kurtosis (const ThermalModelParameters ¶ms, bool useWidth=0, double mu=0.) const |
Computes the normalized excess kurtosis of particle number fluctuations in the ideal gas. | |
double | FD (double k, double T, double mu, double m) const |
Fermi-Dirac distribution function. | |
double | GetAbsQ () const |
double | GetCharge (int index) const |
Get the quantum number numbered by the index. | |
double | GetAbsCharge (int index) const |
Get the absolute value of a quantum number. | |
bool | IsNeutral () const |
Whether particle is neutral one. | |
bool | IsStable () const |
Return particle stability flag. | |
void | SetStable (bool stable=true) |
Sets particle stability flag. | |
bool | IsAntiParticle () const |
Whether particle is an antiparticle, i.e. its PDG ID is < 0. | |
void | SetAntiParticle (bool antpar=true) |
Set manually whether particle is an antiparticle. | |
const std::string & | Name () const |
Particle's name. | |
void | SetName (const std::string &name) |
Set particle's name. | |
long long | PdgId () const |
Particle's Particle Data Group (PDG) ID number. | |
void | SetPdgId (long long PdgId) |
Set particle's particle's Particle Data Group (PDG) ID number. | |
double | Degeneracy () const |
Particle's internal degeneracy factor. | |
void | SetDegeneracy (double deg) |
Set particle's internal degeneracy factor. | |
int | Statistics () const |
Particle's statistics. | |
void | SetStatistics (int stat) |
Set particle's statistics. | |
void | UseStatistics (bool enable) |
Use quantum statistics. | |
double | Mass () const |
Particle's mass [GeV]. | |
void | SetMass (double mass) |
Set particle's mass [GeV]. | |
int | BaryonCharge () const |
Particle's baryon number. | |
void | SetBaryonCharge (int chg) |
Set particle's baryon number. | |
int | ElectricCharge () const |
Particle's electric charge. | |
void | SetElectricCharge (int chg) |
Set particle's electric charge. | |
int | Strangeness () const |
Particle's strangeness. | |
void | SetStrangenessCharge (int chg) |
Set particle's strangeness. | |
int | Charm () const |
Particle's charm. | |
void | SetCharm (int chg) |
Set particle's charm. | |
int | ConservedCharge (ConservedCharge::Name chg) const |
One of the four QCD conserved charges. | |
double | ArbitraryCharge () const |
Arbitrary (auxiliary) charge assigned to particle. | |
void | SetArbitraryCharge (double arbchg) |
Assigns arbitrary (auxiliary) charge to particle. | |
double | AbsoluteQuark () const |
Absolute light quark content |u,d|. | |
void | SetAbsoluteQuark (double abschg) |
Set absolute light quark content |u,d|. | |
double | AbsoluteStrangeness () const |
Absolute strange quark content |s|. | |
void | SetAbsoluteStrangeness (double abschg) |
Set absolute strange quark content |s|, light quark content then re-evaluted. | |
double | AbsoluteCharm () const |
Absolute charm quark content |s|. | |
void | SetAbsoluteCharm (double abschg) |
Set absolute charm quark content |s|, light quark content then re-evaluted. | |
bool | ZeroWidthEnforced () const |
Whether zero-width approximation is enforced for this particle species. | |
double | ResonanceWidth () const |
Particle's width at the pole mass (GeV) | |
void | SetResonanceWidth (double width) |
Sets the particle's width at the pole mass. | |
double | DecayThresholdMass () const |
The decays threshold mass. | |
void | SetDecayThresholdMass (double threshold) |
Set the decays threshold mass. | |
double | DecayThresholdMassDynamical () const |
void | SetDecayThresholdMassDynamical (double threshold) |
Set the threshold mass manually for use in the eBW scheme. | |
void | CalculateAndSetDynamicalThreshold () |
ResonanceWidthShape | GetResonanceWidthShape () const |
Resonance width profile in use. | |
void | SetResonanceWidthShape (ResonanceWidthShape shape) |
Set the resonance width profile to use. | |
ResonanceWidthIntegration | GetResonanceWidthIntegrationType () const |
Resonance width integration scheme used to treat finite resonance widths. | |
void | SetResonanceWidthIntegrationType (ResonanceWidthIntegration type) |
Set the ResonanceWidthIntegration scheme used to treat finite resonance widths. | |
double | MassDistribution (double m) const |
double | MassDistribution (double m, double width) const |
double | Weight () const |
Particle's weight. | |
void | SetWeight (double weight) |
Set particle's weight factor. | |
ParticleDecayType::DecayType | DecayType () const |
Decay type of the particle. | |
void | SetDecayType (ParticleDecayType::DecayType type) |
Set particle's Decay Type. | |
const ParticleDecaysVector & | Decays () const |
A vector of particle's decays. | |
ParticleDecaysVector & | Decays () |
Returns a non-const reference to Decays() | |
void | SetDecays (const ParticleDecaysVector &Decays) |
Set the Decays vector. | |
void | ClearDecays () |
Remove all decays. | |
const ParticleDecaysVector & | DecaysOriginal () const |
A backup copy of particle's decays. | |
ParticleDecaysVector & | DecaysOriginal () |
void | SetDecaysOriginal (const ParticleDecaysVector &DecaysOrig) |
void | ReadDecays (std::string filename="") |
Read decays from a file and assign them to the particle. | |
void | CalculateThermalBranchingRatios (const ThermalModelParameters ¶ms, bool useWidth=0, double mu=0.) |
Computes average decay branching ratios by integrating over the thermal mass distribution. | |
void | SetCalculationType (IdealGasFunctions::QStatsCalculationType type) |
Sets the CalculationType() method to evaluate quantum statistics. | |
IdealGasFunctions::QStatsCalculationType | CalculationType () const |
Method to evaluate quantum statistics. | |
int | ClusterExpansionOrder () const |
Number of terms in the cluster expansion method. | |
void | SetClusterExpansionOrder (int order) |
Set ClusterExpansionOrder() | |
std::vector< double > | BranchingRatioWeights (const std::vector< double > &ms) const |
const std::vector< double > & | Nch () const |
std::vector< double > & | Nch () |
const std::vector< double > & | DeltaNch () const |
std::vector< double > & | DeltaNch () |
ThermalParticle | GenerateAntiParticle () const |
Generates the anti-particle to the current particle specie. | |
bool | operator== (const ThermalParticle &rhs) const |
bool | operator!= (const ThermalParticle &rhs) const |
GeneralizedDensity * | GetGeneralizedDensity () const |
Getter/Setter for the generalized density object. | |
void | SetGeneralizedDensity (GeneralizedDensity *density_model) |
void | ClearGeneralizedDensity () |
Clear the generalized density. | |
void | SetMagneticField (double B=0.0, int lmax=1) |
Sets the value of magnetic field and the number of Landau levels to include. | |
void | ClearMagneticField () |
Clears the magnetic field. | |
Class containing all information about a particle specie.
Also contains implementation of calculation of various thermodynamic quantities in an ideal gas in the grand canonical ensemble.
Definition at line 63 of file ThermalParticle.h.
typedef std::vector<ParticleDecayChannel> thermalfist::ThermalParticle::ParticleDecaysVector |
Vector of all decay channels of a particle.
Definition at line 67 of file ThermalParticle.h.
Treatment of finite resonance widths.
Definition at line 82 of file ThermalParticle.h.
Relativistic vs non-relativistic Breit-Wigner shape.
Enumerator | |
---|---|
RelativisticBreitWigner | |
NonRelativisticBreitWigner |
Definition at line 73 of file ThermalParticle.h.
thermalfist::ThermalParticle::ThermalParticle | ( | bool | Stable = true, |
std::string | Name = "hadron", | ||
long long | PDGID = 0, | ||
double | Deg = 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., | ||
int | Charm = 0, | ||
double | AbsC = 0., | ||
int | Quark = 0 ) |
Construct a new ThermalParticle object.
Stable | Particle's stability flag |
Name | Particle's name |
PDGID | Particle's PDG ID |
Deg | Particle's internal degeneracy |
Stat | Statistics: 1 – Fermi-Dirac, -1 – Bose-Einstein, 0 - Maxwell-Boltzmann |
Mass | Particle's mass |
Strange | Particle's strangeness |
Baryon | Particle's baryon number |
Charge | Particle's electric charge |
AbsS | Particle's strange quark content |
Width | Particle's width |
Threshold | Particle's decays threshold |
Charm | Particle's charm |
AbsC | Particle's charm quark content |
Quark | Particle's light quark content |
Definition at line 26 of file ThermalParticle.cpp.
thermalfist::ThermalParticle::~ThermalParticle | ( | void | ) |
Definition at line 55 of file ThermalParticle.cpp.
|
inline |
Absolute charm quark content |s|.
Definition at line 448 of file ThermalParticle.h.
|
inline |
Absolute light quark content |u,d|.
Definition at line 436 of file ThermalParticle.h.
|
inline |
Absolute strange quark content |s|.
Definition at line 442 of file ThermalParticle.h.
|
inline |
Arbitrary (auxiliary) charge assigned to particle.
Definition at line 426 of file ThermalParticle.h.
|
inline |
Particle's baryon number.
Definition at line 396 of file ThermalParticle.h.
std::vector< double > thermalfist::ThermalParticle::BranchingRatiosM | ( | double | M, |
bool | eBW = true ) const |
(Energy-dependent) branching ratios
M | Energy [GeV] |
eBW | Whether branching ratios are energy-dependent or not |
Definition at line 521 of file ThermalParticle.cpp.
std::vector< double > thermalfist::ThermalParticle::BranchingRatioWeights | ( | const std::vector< double > & | ms | ) | const |
Definition at line 200 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::CalculateAndSetDynamicalThreshold | ( | ) |
Evaluate the threshold mass as the minimum threshold among all the decay channels
Definition at line 92 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::CalculateThermalBranchingRatios | ( | const ThermalModelParameters & | params, |
bool | useWidth = 0, | ||
double | mu = 0. ) |
Computes average decay branching ratios by integrating over the thermal mass distribution.
To be later used when evaluating feeddown contributions.
params | Structure containing the temperature value and the chemical factors. |
useWidth | Whether finite widths are taken into account. |
mu | Chemical potential. |
Definition at line 163 of file ThermalParticle.cpp.
|
inline |
Method to evaluate quantum statistics.
Cluster expansion or numerical integration using the quadratures.
Definition at line 634 of file ThermalParticle.h.
|
inline |
Particle's charm.
Definition at line 413 of file ThermalParticle.h.
double thermalfist::ThermalParticle::chi | ( | int | index, |
const ThermalModelParameters & | params, | ||
bool | useWidth = 0, | ||
double | mu = 0. ) const |
Computes the ideal gas generalized susceptibility \( \chi_n \equiv \frac{\partial^n p/T^4}{\partial (mu/T)^n} \).
Computes the generalized susceptibility \( \chi_n \equiv \frac{\partial^n p/T^4}{\partial (mu/T)^n} \) of the corresponding ideal gas. Takes into account chemical non-equilibrium fugacity factors and finite resonance widths.
index | Order of the susceptibility. |
params | Structure containing the temperature value and the chemical factors. |
useWidth | Whether finite widths are taken into account. |
mu | Chemical potential. |
Definition at line 771 of file ThermalParticle.cpp.
double thermalfist::ThermalParticle::chiDimensionfull | ( | int | index, |
const ThermalModelParameters & | params, | ||
bool | useWidth = 0, | ||
double | mu = 0. ) const |
Computes the ideal gas dimensionfull susceptibility \( \chi_n \equiv \frac{\partial^n p}{\partial mu^n} \).
Computes the dimensionfull susceptibility \( \chi_n \equiv \frac{\partial^n p}{\partial mu^n} \) of the corresponding ideal gas. Takes into account chemical non-equilibrium fugacity factors and finite resonance widths.
index | Order of the susceptibility. |
params | Structure containing the temperature value and the chemical factors. |
useWidth | Whether finite widths are taken into account. |
mu | Chemical potential. |
Definition at line 703 of file ThermalParticle.cpp.
|
inline |
Remove all decays.
Definition at line 594 of file ThermalParticle.h.
void thermalfist::ThermalParticle::ClearGeneralizedDensity | ( | ) |
Clear the generalized density.
Definition at line 780 of file ThermalParticle.cpp.
|
inline |
Clears the magnetic field.
Definition at line 681 of file ThermalParticle.h.
|
inline |
Number of terms in the cluster expansion method.
Definition at line 641 of file ThermalParticle.h.
int thermalfist::ThermalParticle::ConservedCharge | ( | ConservedCharge::Name | chg | ) | const |
One of the four QCD conserved charges.
Definition at line 566 of file ThermalParticle.cpp.
|
inline |
Returns a non-const reference to Decays()
Definition at line 582 of file ThermalParticle.h.
|
inline |
A vector of particle's decays.
A vector of ParticleDecay objects corresponding to all decay channels of the particle.
Definition at line 579 of file ThermalParticle.h.
|
inline |
Definition at line 599 of file ThermalParticle.h.
|
inline |
A backup copy of particle's decays.
Definition at line 598 of file ThermalParticle.h.
|
inline |
The decays threshold mass.
The threshold mass for calculation in the energy-independent Breit-Wigner scheme
Definition at line 478 of file ThermalParticle.h.
|
inline |
Returns threshold mass as the minimum threshold among all the decay channels. Used in the eBW scheme
Definition at line 495 of file ThermalParticle.h.
|
inline |
Decay type of the particle.
Definition at line 566 of file ThermalParticle.h.
|
inline |
Particle's internal degeneracy factor.
Definition at line 354 of file ThermalParticle.h.
|
inline |
Definition at line 652 of file ThermalParticle.h.
|
inline |
Definition at line 651 of file ThermalParticle.h.
double thermalfist::ThermalParticle::Density | ( | const ThermalModelParameters & | params, |
IdealGasFunctions::Quantity | type = IdealGasFunctions::ParticleDensity, | ||
bool | useWidth = 0, | ||
double | mu = 0. ) const |
Computes a specified ideal gas thermodynamic function.
Computes a specified ideal gas thermodynamic function. Takes into account chemical non-equilibrium fugacity factors and finite resonance widths.
params | Structure containing the temperature value and the chemical factors. |
type | The type of the thermodynamic function calculated. |
useWidth | Whether finite widths are taken into account. |
mu | Chemical potential. |
Definition at line 584 of file ThermalParticle.cpp.
double thermalfist::ThermalParticle::DensityCluster | ( | int | n, |
const ThermalModelParameters & | params, | ||
IdealGasFunctions::Quantity | type = IdealGasFunctions::ParticleDensity, | ||
bool | useWidth = 0, | ||
double | mu = 0. ) const |
Computes contribution of a single term in the cluster expansion to the quantity which is to be computed by the Density() method.
n | Number of the term. |
params | Structure containing the temperature value and the chemical factors. |
type | The type of the thermodynamic function calculated. |
useWidth | Whether finite widths are taken into account. |
mu | Chemical potential. |
Definition at line 643 of file ThermalParticle.cpp.
|
inline |
Particle's electric charge.
Definition at line 402 of file ThermalParticle.h.
double thermalfist::ThermalParticle::FD | ( | double | k, |
double | T, | ||
double | mu, | ||
double | m ) const |
Fermi-Dirac distribution function.
k | Momentum [GeV] |
T | Temperature [GeV] |
mu | Chemical potential [GeV] |
m | Mass [GeV] |
Definition at line 745 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::FillCoefficients | ( | ) |
Fills coefficients for mass integration in the energy independent BW scheme.
Definition at line 322 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::FillCoefficientsDynamical | ( | ) |
Fills coefficients for mass integration in the eBW scheme.
Definition at line 347 of file ThermalParticle.cpp.
ThermalParticle thermalfist::ThermalParticle::GenerateAntiParticle | ( | ) | const |
Generates the anti-particle to the current particle specie.
Note: Decay channels of anti-particle are NOT generated by this method and have to be set elsewhere.
Definition at line 231 of file ThermalParticle.cpp.
double thermalfist::ThermalParticle::GetAbsCharge | ( | int | index | ) | const |
Get the absolute value of a quantum number.
index | 0 – absolute baryon number, 1 – absolute electric charge, 2 – strange quark content, 3 – charm quark content |
Definition at line 763 of file ThermalParticle.cpp.
double thermalfist::ThermalParticle::GetAbsQ | ( | ) | const |
Computes the light quark content as follows: |u,d| = 3 * |B| - |s| - |c| where |B| is the absolute baryon number and |s| and |c| is the stange and charm quark contents, respectively.
Definition at line 750 of file ThermalParticle.cpp.
double thermalfist::ThermalParticle::GetCharge | ( | int | index | ) | const |
Get the quantum number numbered by the index.
index | 0 – baryon number, 1 – electric charge, 2 – strangeness, 3 – charm |
Definition at line 755 of file ThermalParticle.cpp.
|
inline |
Getter/Setter for the generalized density object.
Definition at line 669 of file ThermalParticle.h.
|
inline |
Resonance width integration scheme used to treat finite resonance widths.
Definition at line 526 of file ThermalParticle.h.
|
inline |
Resonance width profile in use.
Can be relativistic or non-relativistic Breit-Wigner
Definition at line 511 of file ThermalParticle.h.
|
inline |
Whether particle is an antiparticle, i.e. its PDG ID is < 0.
Definition at line 336 of file ThermalParticle.h.
bool thermalfist::ThermalParticle::IsNeutral | ( | ) | const |
Whether particle is neutral one.
Definition at line 579 of file ThermalParticle.cpp.
|
inline |
Return particle stability flag.
Definition at line 330 of file ThermalParticle.h.
double thermalfist::ThermalParticle::Kurtosis | ( | const ThermalModelParameters & | params, |
bool | useWidth = 0, | ||
double | mu = 0. ) const |
Computes the normalized excess kurtosis of particle number fluctuations in the ideal gas.
Computes the normalized excess kurtosis (\chi_4 / \chi_2) of particle number fluctuations in the ideal gas. Takes into account chemical non-equilibrium fugacity factors and finite resonance widths.
params | Structure containing the temperature value and the chemical factors. |
useWidth | Whether finite widths are taken into account. |
mu | Chemical potential. |
Definition at line 734 of file ThermalParticle.cpp.
|
inline |
double thermalfist::ThermalParticle::MassDistribution | ( | double | m | ) | const |
Resonance mass distribution: Relativistic or non-relativistic Breit-Wigner evaluated at the given mass m (GeV) and pole mass's width
m | Mass (GeV) |
Definition at line 117 of file ThermalParticle.cpp.
double thermalfist::ThermalParticle::MassDistribution | ( | double | m, |
double | width ) const |
Definition at line 122 of file ThermalParticle.cpp.
|
inline |
|
inline |
Definition at line 649 of file ThermalParticle.h.
|
inline |
Definition at line 648 of file ThermalParticle.h.
void thermalfist::ThermalParticle::NormalizeBranchingRatios | ( | ) |
Normalizes all branching ratios such that they sum up to 100%.
Definition at line 302 of file ThermalParticle.cpp.
|
inline |
Definition at line 666 of file ThermalParticle.h.
bool thermalfist::ThermalParticle::operator== | ( | const ThermalParticle & | rhs | ) | const |
Definition at line 259 of file ThermalParticle.cpp.
|
inline |
Particle's Particle Data Group (PDG) ID number.
Definition at line 348 of file ThermalParticle.h.
void thermalfist::ThermalParticle::ReadDecays | ( | std::string | filename = "" | ) |
Read decays from a file and assign them to the particle.
Definition at line 140 of file ThermalParticle.cpp.
|
inline |
Particle's width at the pole mass (GeV)
Definition at line 457 of file ThermalParticle.h.
void thermalfist::ThermalParticle::RestoreBranchingRatios | ( | ) |
Restores all branching ratios to the original values.
Definition at line 313 of file ThermalParticle.cpp.
double thermalfist::ThermalParticle::ScaledVariance | ( | const ThermalModelParameters & | params, |
bool | useWidth = 0, | ||
double | mu = 0. ) const |
Computes the scaled variance of particle number fluctuations in the ideal gas. Computes the scaled variance (\chi_2 / \chi_1) of particle number fluctuations in the ideal gas. Takes into account chemical non-equilibrium fugacity factors and finite resonance widths.
params | Structure containing the temperature value and the chemical factors. |
useWidth | Whether finite widths are taken into account. |
mu | Chemical potential. |
Definition at line 713 of file ThermalParticle.cpp.
|
inline |
Set absolute charm quark content |s|, light quark content then re-evaluted.
Definition at line 451 of file ThermalParticle.h.
|
inline |
Set absolute light quark content |u,d|.
Definition at line 439 of file ThermalParticle.h.
|
inline |
Set absolute strange quark content |s|, light quark content then re-evaluted.
Definition at line 445 of file ThermalParticle.h.
|
inline |
Set manually whether particle is an antiparticle.
Definition at line 339 of file ThermalParticle.h.
|
inline |
Assigns arbitrary (auxiliary) charge to particle.
Arbitrary | (auxiliary) charge |
Definition at line 433 of file ThermalParticle.h.
|
inline |
Set particle's baryon number.
Definition at line 399 of file ThermalParticle.h.
|
inline |
Sets the CalculationType() method to evaluate quantum statistics.
type | Method to evaluate quantum statistics. |
Definition at line 624 of file ThermalParticle.h.
|
inline |
Set particle's charm.
Definition at line 416 of file ThermalParticle.h.
|
inline |
Definition at line 644 of file ThermalParticle.h.
|
inline |
Set the Decays vector.
Sets all decays of the particle
Decays | ParticleDecay vector containing all particle decays |
Definition at line 591 of file ThermalParticle.h.
|
inline |
Definition at line 600 of file ThermalParticle.h.
void thermalfist::ThermalParticle::SetDecayThresholdMass | ( | double | threshold | ) |
Set the decays threshold mass.
If width is non-zero, the coefficients used for mass integration in the energy independent scheme are re-evaluated
threshold | Threshold mass (GeV) |
Definition at line 75 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::SetDecayThresholdMassDynamical | ( | double | threshold | ) |
Set the threshold mass manually for use in the eBW scheme.
Definition at line 84 of file ThermalParticle.cpp.
|
inline |
Set particle's Decay Type.
Definition at line 569 of file ThermalParticle.h.
|
inline |
Set particle's internal degeneracy factor.
Definition at line 357 of file ThermalParticle.h.
|
inline |
Set particle's electric charge.
Definition at line 405 of file ThermalParticle.h.
void thermalfist::ThermalParticle::SetGeneralizedDensity | ( | GeneralizedDensity * | density_model | ) |
Definition at line 787 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::SetMagneticField | ( | double | B = 0.0, |
int | lmax = 1 ) |
Sets the value of magnetic field and the number of Landau levels to include.
Definition at line 792 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::SetMass | ( | double | mass | ) |
Set particle's mass [GeV].
Definition at line 557 of file ThermalParticle.cpp.
|
inline |
Set particle's name.
Definition at line 345 of file ThermalParticle.h.
|
inline |
Set particle's particle's Particle Data Group (PDG) ID number.
Definition at line 351 of file ThermalParticle.h.
void thermalfist::ThermalParticle::SetResonanceWidth | ( | double | width | ) |
Sets the particle's width at the pole mass.
If width is non-zero, the coefficients used for mass integration are re-evaluated
width | Width (GeV) |
Definition at line 66 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::SetResonanceWidthIntegrationType | ( | ResonanceWidthIntegration | type | ) |
Set the ResonanceWidthIntegration scheme used to treat finite resonance widths.
type | ResonanceWidthIntegration scheme |
Definition at line 109 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::SetResonanceWidthShape | ( | ResonanceWidthShape | shape | ) |
Set the resonance width profile to use.
shape | Relativistic or non-relativistic Breit-Wigner |
Definition at line 101 of file ThermalParticle.cpp.
|
inline |
Sets particle stability flag.
Definition at line 333 of file ThermalParticle.h.
|
inline |
Set particle's statistics.
1 – Fermi-Dirac -1 – Bose-Einstein 0 - Maxwell-Boltzmann
stat | Statistics |
Definition at line 379 of file ThermalParticle.h.
|
inline |
Set particle's strangeness.
Definition at line 410 of file ThermalParticle.h.
|
inline |
Set particle's weight factor.
Definition at line 559 of file ThermalParticle.h.
double thermalfist::ThermalParticle::Skewness | ( | const ThermalModelParameters & | params, |
bool | useWidth = 0, | ||
double | mu = 0. ) const |
Computes the normalized skewness of particle number fluctuations in the ideal gas.
Computes the normalized skewness (\chi_3 / \chi_2) of particle number fluctuations in the ideal gas. Takes into account chemical non-equilibrium fugacity factors and finite resonance widths.
params | Structure containing the temperature value and the chemical factors. |
useWidth | Whether finite widths are taken into account. |
mu | Chemical potential. |
Definition at line 723 of file ThermalParticle.cpp.
|
inline |
Particle's statistics.
1 – Fermi-Dirac, -1 – Bose-Einstein, 0 - Maxwell-Boltzmann
Definition at line 368 of file ThermalParticle.h.
|
inline |
double thermalfist::ThermalParticle::ThermalMassDistribution | ( | double | M, |
double | T, | ||
double | Mu ) |
Mass distribution of a resonance in a thermal environment.
Mass distribution of a resonance in a thermal environment (not normalized!). Energy-dependent width is computed automatically.
M | Mass [GeV] |
T | Temperature [GeV] |
Mu | Chemical potential [GeV] |
Definition at line 547 of file ThermalParticle.cpp.
double thermalfist::ThermalParticle::ThermalMassDistribution | ( | double | M, |
double | T, | ||
double | Mu, | ||
double | width ) |
Mass distribution of a resonance in a thermal environment.
Mass distribution of a resonance in a thermal environment (not normalized!). Width is specified manually.
M | Mass [GeV] |
T | Temperature [GeV] |
Mu | Chemical potential [GeV] |
width | Resonance width [GeV] |
Definition at line 542 of file ThermalParticle.cpp.
double thermalfist::ThermalParticle::TotalWidtheBW | ( | double | M | ) | const |
Total width (eBW scheme) at a given mass.
Definition at line 497 of file ThermalParticle.cpp.
void thermalfist::ThermalParticle::UseStatistics | ( | bool | enable | ) |
Use quantum statistics.
enable | true – use quantum statistics false – use Maxwell-Boltzmann statistics |
Definition at line 552 of file ThermalParticle.cpp.
|
inline |
Particle's weight.
Multiplies the degeneracy factor, equal to one by default. Currently not used.
Definition at line 556 of file ThermalParticle.h.
bool thermalfist::ThermalParticle::ZeroWidthEnforced | ( | ) | const |
Whether zero-width approximation is enforced for this particle species.
Definition at line 59 of file ThermalParticle.cpp.