Thermal-FIST
1.3
Package for hadron resonance gas model applications
|
Class containing the particle list. More...
#include <ThermalParticleSystem.h>
Public Types | |
enum | SortModeType { SortByMass = 0, SortByMassAndPDG = 1, SortByBaryonAndMassAndPDG = 2 } |
Mode list to sort particles species. More... | |
typedef std::pair< double, int > | SingleDecayContribution |
typedef std::vector< SingleDecayContribution > | DecayContributionsToParticle |
A vector of SingleDecayContribution where each element corresponds to a certain resonance species. More... | |
typedef std::vector< DecayContributionsToParticle > | DecayContributionsToAllParticles |
typedef std::pair< std::vector< double >, int > | SingleDecayCumulantsContribution |
typedef std::vector< SingleDecayCumulantsContribution > | DecayCumulantsContributionsToParticle |
A vector of SingleDecayCumulantsContribution where each element corresponds to a certain resonance species. More... | |
typedef std::vector< DecayCumulantsContributionsToParticle > | DecayCumulantsContributionsToAllParticles |
typedef std::pair< std::vector< double >, int > | SingleDecayProbabilityDistribution |
typedef std::vector< SingleDecayProbabilityDistribution > | DecayProbabilityDistributionsToParticle |
A vector of SingleDecayProbabilityDistribution where each element corresponds to a certain resonance species. More... | |
typedef std::vector< DecayProbabilityDistributionsToParticle > | DecayProbabilityDistributionsToAllParticles |
typedef std::vector< std::pair< double, std::vector< int > > > | ResonanceFinalStatesDistribution |
Public Member Functions | |
ThermalParticleSystem (const std::string &InputFile="", bool GenAntiP=true, double mcut=-1.) | |
Construct a new ThermalParticleSystem object. More... | |
ThermalParticleSystem (const std::string &InputFile, const std::string &DecayFile, bool GenAntiP=true, double mcut=-1.) | |
Construct a new ThermalParticleSystem object. More... | |
ThermalParticleSystem (const std::vector< std::string > &ListFiles, const std::vector< std::string > &DecayFiles=std::vector< std::string >(0), const std::set< std::string > &flags=std::set< std::string >(), double mcut=-1.) | |
Construct a new ThermalParticleSystem object. More... | |
~ThermalParticleSystem (void) | |
Destroy the ThermalParticleSystem object. More... | |
ThermalParticle::ParticleDecaysVector | GetDecaysFromAntiParticle (const ThermalParticle::ParticleDecaysVector &Decays) |
Generates the decay channels for an antiparticle based on the provided decay channels of a particle. More... | |
void | ProcessDecays () |
Computes the decay contributions of decaying resonances to all particle yields. More... | |
void | FillDecayProperties () |
Computes and fills decay channels of all particles with extra information. More... | |
void | FillDecayThresholds () |
Computes mass thresholds of all decay channels of all particles. Obsolete. More... | |
void | FillResonanceDecays () |
Computes the decay contributions of decaying resonances to all particle yields. More... | |
void | FillResonanceDecaysByFeeddown () |
Same as FillResonanceDecays() but separately for weak, electromagnetic, and strong decay feeddowns. More... | |
const std::vector< DecayContributionsToAllParticles > & | DecayContributionsByFeeddown () const |
const DecayCumulantsContributionsToAllParticles & | DecayCumulants () const |
Cumulants of particle number distributions of from decays. More... | |
const std::vector< ResonanceFinalStatesDistribution > & | ResonanceFinalStatesDistributions () const |
Final state particle number distributions for resonance decays. More... | |
void | LoadList (const std::vector< std::string > &ListFiles, const std::vector< std::string > &DecayFiles=std::vector< std::string >(0), const std::set< std::string > &flags=std::set< std::string >(), double mcut=1.e9) |
Loads the particle list from file. More... | |
void | LoadList (const std::string &InputFile, const std::string &DecayFile, bool GenerateAntiParticles=true, double mcut=1.e9) |
Loads the particle list from file. More... | |
void | LoadList (const std::string &InputFile="", bool GenerateAntiParticles=true, double mcut=-1.) |
Loads the particle list from file. More... | |
void | AddParticlesToListFromFile (const std::string &InputFile="", const std::set< std::string > &flags=std::set< std::string >(), double mcut=-1.) |
void | LoadTable (const std::string &InputFile="", bool GenerateAntiParticles=true, double mcut=-1.) |
Same as LoadList() More... | |
void | SetTableFromVector (const std::vector< ThermalParticle > &part_in, bool GenerateAntiParticles=true) |
Sets the particle list from a provided vector of ThermalParticle objects. More... | |
void | WriteTableToFile (const std::string &OutputFile="", bool WriteAntiParticles=false) |
Writes the particle list to file. More... | |
void | LoadDecays (const std::vector< std::string > &DecayFiles, const std::set< std::string > &flags=std::set< std::string >()) |
Load the decay channels for all particles from a file. More... | |
void | LoadDecays (const std::string &DecaysFile="", bool GenerateAntiParticles=true) |
Load the decay channels for all particles from a file. More... | |
void | WriteDecaysToFile (const std::string &OutputFile="", bool WriteAntiParticles=false) |
Writes the decay channels to a file. More... | |
void | NormalizeBranchingRatios () |
Normalize branching ratios for all particles such that they add up to 100%. More... | |
void | RestoreBranchingRatios () |
Restore the original values of all the branching ratios. More... | |
void | SetClusterExpansionOrder (int order) |
Set the number of terms in the cluster expansion method. More... | |
std::string | GetNameFromPDG (long long pdgid) |
Get the name of particle species with the specified PDG ID. More... | |
bool | hasBaryons () const |
bool | hasCharged () const |
bool | hasStrange () const |
bool | hasCharmed () const |
int | ComponentsNumber () const |
Number of different particle species in the list. More... | |
const std::vector< ThermalParticle > & | Particles () const |
Returns the vector of all particle species. More... | |
ThermalParticle & | ParticleByPDG (long long pdgid) |
ThermalParticle object corresponding to particle species with a provided PDG ID. More... | |
int | PdgToId (long long pdgid) |
Transforms PDG ID to a 0-based particle id number. More... | |
long long | IdToPdg (int id) const |
Transforms 0-based particle id number to a PDG ID. More... | |
void | AddParticle (const ThermalParticle &part) |
Adds a new particle specie to the list. More... | |
void | RemoveParticleAt (int ind) |
Removes particle specie with specified 0-based particle id number from the list. More... | |
bool | CheckDecayChargesConservation (int ind) const |
bool | CheckDecayChannelsAreSpecified () const |
std::vector< int > | CheckDecayChargesConservationVector (int ind) const |
bool | operator== (const ThermalParticleSystem &rhs) const |
bool | operator!= (const ThermalParticleSystem &rhs) const |
void | FillPdgMap () |
void | SetSortMode (SortModeType type) |
SortModeType | SortMode () const |
Current mode to sort particle species. More... | |
void | FinalizeList () |
void | SetCalculationType (IdealGasFunctions::QStatsCalculationType type) |
Sets the CalculationType() method to evaluate quantum statistics. More... | |
IdealGasFunctions::QStatsCalculationType | QStatsCalculationType () const |
void | SetResonanceWidthShape (ThermalParticle::ResonanceWidthShape shape) |
Set (or get) the ThermalParticle::ResonanceWidthShape for all particles. More... | |
ThermalParticle::ResonanceWidthShape | ResonanceWidthShape () const |
void | SetResonanceWidthIntegrationType (ThermalParticle::ResonanceWidthIntegration type) |
Set (or get) the ThermalParticle::ResonanceWidthIntegration scheme for all particles. More... | |
ThermalParticle::ResonanceWidthIntegration | ResonanceWidthIntegrationType () const |
const ThermalParticle & | Particle (int id) const |
ThermalParticle object corresponding to particle species with a provided 0-based index. More... | |
ThermalParticle & | Particle (int id) |
Static Public Member Functions | |
static ParticleDecayType::DecayType | DecayTypeByParticleType (const ThermalParticle &part) |
Determines the decay type of a given particle specie. More... | |
Static Public Attributes | |
static const std::string | flag_no_antiparticles = "no_antiparticles" |
static const std::string | flag_nostrangeness = "no_strangeness" |
static const std::string | flag_nocharm = "no_charm" |
static const std::string | flag_nonuclei = "no_nuclei" |
static const std::string | flag_noexcitednuclei = "no_excitednuclei" |
Class containing the particle list.
Class containing the information about the particle list. The list is represented by a vector of ThermalParticle objects and is usually read from a file.
Definition at line 29 of file ThermalParticleSystem.h.
typedef std::vector<DecayContributionsToParticle> thermalfist::ThermalParticleSystem::DecayContributionsToAllParticles |
A vector of DecayContributionsToParticle where each element corresponds to a certain particle species resulting from decay.
Definition at line 150 of file ThermalParticleSystem.h.
typedef std::vector<SingleDecayContribution> thermalfist::ThermalParticleSystem::DecayContributionsToParticle |
A vector of SingleDecayContribution where each element corresponds to a certain resonance species.
Definition at line 146 of file ThermalParticleSystem.h.
typedef std::vector<DecayCumulantsContributionsToParticle> thermalfist::ThermalParticleSystem::DecayCumulantsContributionsToAllParticles |
A vector of DecayCumulantsContributionsToParticle where each element corresponds to a certain particle species resulting from decay.
Definition at line 162 of file ThermalParticleSystem.h.
typedef std::vector<SingleDecayCumulantsContribution> thermalfist::ThermalParticleSystem::DecayCumulantsContributionsToParticle |
A vector of SingleDecayCumulantsContribution where each element corresponds to a certain resonance species.
Definition at line 158 of file ThermalParticleSystem.h.
typedef std::vector<DecayProbabilityDistributionsToParticle> thermalfist::ThermalParticleSystem::DecayProbabilityDistributionsToAllParticles |
A vector of DecayProbabilityDistributionsToParticle where each element corresponds to a certain particle species resulting from decay.
Definition at line 176 of file ThermalParticleSystem.h.
typedef std::vector<SingleDecayProbabilityDistribution> thermalfist::ThermalParticleSystem::DecayProbabilityDistributionsToParticle |
A vector of SingleDecayProbabilityDistribution where each element corresponds to a certain resonance species.
Definition at line 172 of file ThermalParticleSystem.h.
typedef std::vector< std::pair<double, std::vector<int> > > thermalfist::ThermalParticleSystem::ResonanceFinalStatesDistribution |
A vector of final state particle number distributions for the final state (after decays) of each particle species. One element per each particle species in the list. Each element is a std::pair where the first element the probability of a specific final state and the second element contains the numbers of all particle species in this final state
Definition at line 183 of file ThermalParticleSystem.h.
typedef std::pair<double, int> thermalfist::ThermalParticleSystem::SingleDecayContribution |
Construction to hold mean number of certain species which results from a decay of a certain resonance.
The First element is the mean number of particles and the second element is the 0-based index of a resonance.
Definition at line 143 of file ThermalParticleSystem.h.
typedef std::pair< std::vector<double>, int> thermalfist::ThermalParticleSystem::SingleDecayCumulantsContribution |
Holds cumulants of the particle number distribution of certain species which appear in a decay of a certain resonance.
The First element contains the leading four cumulants and the second element is the 0-based index of a resonance.
Definition at line 155 of file ThermalParticleSystem.h.
typedef std::pair< std::vector<double>, int> thermalfist::ThermalParticleSystem::SingleDecayProbabilityDistribution |
Construction to hold the probability distribution of the number of certain species which appear in a decay of a certain resonance.
The first element contains the probability distribution and the second element is the 0-based index of a resonance.
Definition at line 169 of file ThermalParticleSystem.h.
Mode list to sort particles species.
Enumerator | |
---|---|
SortByMass | |
SortByMassAndPDG | |
SortByBaryonAndMassAndPDG |
Definition at line 492 of file ThermalParticleSystem.h.
|
inline |
Construct a new ThermalParticleSystem object.
The list is read from the specified file with LoadTable() method.
InputFile | Path to the file with particle list. |
GenAntiP | Whether antiparticles are to be generated from particles automatically. |
mcut | Discard particles with mass > mcut (in GeV). If mcut is negative, no cut applied |
Definition at line 42 of file ThermalParticleSystem.h.
|
inline |
Construct a new ThermalParticleSystem object.
The list is read from the specified file with LoadTable() method.
InputFile | Path to the file with particle list. |
DecayFile | Path to the file with the list of decays. |
GenAntiP | Whether antiparticles are to be generated from particles automatically. |
mcut | Discard particles with mass > mcut (in GeV). If mcut is negative, no cut applied |
Definition at line 54 of file ThermalParticleSystem.h.
thermalfist::ThermalParticleSystem::ThermalParticleSystem | ( | const std::vector< std::string > & | ListFiles, |
const std::vector< std::string > & | DecayFiles = std::vector<std::string>(0) , |
||
const std::set< std::string > & | flags = std::set<std::string>() , |
||
double | mcut = -1. |
||
) |
Construct a new ThermalParticleSystem object.
The particle list is read from files listed in ListFiles vector.
The decays are read from files listed in DecayFiles vector. If DecayFiles is empty, "decays.dat" file in the same directory as the first input list file is used.
flags parameter can be used to specify a number of flags for reading the input.
ListFiles | List of files that contain the particle list. |
DecayFiles | List of files containing the decays. |
flags | Various flags can be enabled to apply various filters: "no_antiparticles" – do not create antiparticles "no_strangeness" – ignore particles with strange quark content. "no_charm" – ignore particles with charm quark content. "no_nuclei" – ignore particles with a multiple baryon charge. "no_excitednuclei" – ignore excited nuclei. |
mcut | Ignore particles with mass > mcut (in GeV). If mcut is negative, no cut applied |
Definition at line 65 of file ThermalParticleSystem.cpp.
thermalfist::ThermalParticleSystem::~ThermalParticleSystem | ( | void | ) |
Destroy the ThermalParticleSystem object.
Definition at line 70 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::AddParticle | ( | const ThermalParticle & | part | ) |
Adds a new particle specie to the list.
Note that this method does NOT generate an antiparticle.
part | ThermalParticle object corresponding to a new particle specie added. |
Definition at line 1195 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::AddParticlesToListFromFile | ( | const std::string & | InputFile = "" , |
const std::set< std::string > & | flags = std::set<std::string>() , |
||
double | mcut = -1. |
||
) |
Definition at line 552 of file ThermalParticleSystem.cpp.
bool thermalfist::ThermalParticleSystem::CheckDecayChannelsAreSpecified | ( | ) | const |
Checks if all particles marked as unstable have decay channels
Definition at line 1218 of file ThermalParticleSystem.cpp.
bool thermalfist::ThermalParticleSystem::CheckDecayChargesConservation | ( | int | ind | ) | const |
Checks whether cumulative charges (B, Q, S, C) of decay products match those of decaying particle with index ind
Definition at line 1209 of file ThermalParticleSystem.cpp.
std::vector< int > thermalfist::ThermalParticleSystem::CheckDecayChargesConservationVector | ( | int | ind | ) | const |
Checks whether cumulative charges (B, Q, S, C) of decay products match those of decaying particle with index ind. Returns a 4-element vector of integers, an element is zero if the correspomnding conserved charge is not conserved and unity otherwise.
Definition at line 1238 of file ThermalParticleSystem.cpp.
|
inline |
Number of different particle species in the list.
Definition at line 397 of file ThermalParticleSystem.h.
|
inline |
Returns information about decay chains of heavier particles including strong, strong/electromagnetic, or strong/electromagnetic/weak decay feeddown resulting in production of of all the particles.
Each element corresponds to a specific Feeddown::Type.
Definition at line 191 of file ThermalParticleSystem.h.
|
inline |
Cumulants of particle number distributions of from decays.
Used to calculate effects of probabilistic decays on the final state fluctuations.
Definition at line 201 of file ThermalParticleSystem.h.
|
static |
Determines the decay type of a given particle specie.
Determines whether a given particle is stable, or strongly, electromagnetically, or weakly decaying particle. Method first determines whether the PDG ID of a given particle is corresponds to one of the known stable, weakly or electromagnetically decaying particle. If not, the particle is considered to be strongly decaying if its stability flag is set to false. If the stability flag is true, then particle is considered to be weakly decaying if it contains strange or charm quarks, or stable otherwise.
part | ThermalParticle object of a given particle specie. |
Definition at line 1300 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::FillDecayProperties | ( | ) |
Computes and fills decay channels of all particles with extra information.
Computes mass thresholds, released angular momentum for all decay channels of all particles. Computes and sets the coefficients for mass integration in the eBW scheme.
Definition at line 90 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::FillDecayThresholds | ( | ) |
Computes mass thresholds of all decay channels of all particles. Obsolete.
Definition at line 129 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::FillPdgMap | ( | ) |
Fills the PdgToId() map between PDG ID numbers and the 0-based indices of all particles
Definition at line 1162 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::FillResonanceDecays | ( | ) |
Computes the decay contributions of decaying resonances to all particle yields.
Feeddown only according to stability flags is considered here.
Definition at line 146 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::FillResonanceDecaysByFeeddown | ( | ) |
Same as FillResonanceDecays() but separately for weak, electromagnetic, and strong decay feeddowns.
Definition at line 1368 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::FinalizeList | ( | ) |
Sorts the particles by their mass, fills the PdgToId() map between PDG ID numbers and the 0-based indices of all particles, and determines the decay types of each species
Definition at line 1180 of file ThermalParticleSystem.cpp.
ThermalParticle::ParticleDecaysVector thermalfist::ThermalParticleSystem::GetDecaysFromAntiParticle | ( | const ThermalParticle::ParticleDecaysVector & | Decays | ) |
Generates the decay channels for an antiparticle based on the provided decay channels of a particle.
Decays | The decay channels of a particle. |
Definition at line 74 of file ThermalParticleSystem.cpp.
std::string thermalfist::ThermalParticleSystem::GetNameFromPDG | ( | long long | pdgid | ) |
Get the name of particle species with the specified PDG ID.
If the requested PDG ID is not in the particle list, returns "???".
pdgid | The requested PDG ID. |
Definition at line 1071 of file ThermalParticleSystem.cpp.
|
inline |
Whether the particle list contains particles with a non-zero baryon charge.
Definition at line 382 of file ThermalParticleSystem.h.
|
inline |
Whether the particle list contains particles with a non-zero electric charge.
Definition at line 386 of file ThermalParticleSystem.h.
|
inline |
Whether the particle list contains particles with a non-zero charm.
Definition at line 394 of file ThermalParticleSystem.h.
|
inline |
Whether the particle list contains particles with a non-zero strangeness.
Definition at line 390 of file ThermalParticleSystem.h.
|
inline |
Transforms 0-based particle id number to a PDG ID.
Returns 0 if the provided id number is out of bounds.
id | 0-based particle id number. |
Definition at line 448 of file ThermalParticleSystem.h.
void thermalfist::ThermalParticleSystem::LoadDecays | ( | const std::vector< std::string > & | DecayFiles, |
const std::set< std::string > & | flags = std::set<std::string>() |
||
) |
Load the decay channels for all particles from a file.
DecaysFile | Path to the file with decays. |
GenerateAntiParticles | Whether the decays of antiparticles are to be generated from particles automatically using the GetDecaysFromAntiParticle() method. |
Definition at line 807 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::LoadDecays | ( | const std::string & | DecaysFile = "" , |
bool | GenerateAntiParticles = true |
||
) |
Load the decay channels for all particles from a file.
DecaysFile | Path to the file with decays. |
GenerateAntiParticles | Whether the decays of antiparticles are to be generated from particles automatically using the GetDecaysFromAntiParticle() method. |
Definition at line 857 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::LoadList | ( | const std::vector< std::string > & | ListFiles, |
const std::vector< std::string > & | DecayFiles = std::vector<std::string>(0) , |
||
const std::set< std::string > & | flags = std::set<std::string>() , |
||
double | mcut = 1.e9 |
||
) |
Loads the particle list from file.
The list is read from the specified InputFile. Decays are read from the specified DecayFile.
InputFile | Path to the file with particle list. |
DecayFile | Path to the file with the list of decays. |
GenAntiP | Whether antiparticles are to be generated from particles automatically. |
mcut | Discard particles with mass > mcut (in GeV). |
Definition at line 481 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::LoadList | ( | const std::string & | InputFile, |
const std::string & | DecayFile, | ||
bool | GenerateAntiParticles = true , |
||
double | mcut = 1.e9 |
||
) |
Loads the particle list from file.
The list is read from the specified InputFile. Decays are read from the specified DecayFile.
InputFile | Path to the file with particle list. |
DecayFile | Path to the file with the list of decays. |
GenAntiP | Whether antiparticles are to be generated from particles automatically. |
mcut | Discard particles with mass > mcut (in GeV). |
Definition at line 539 of file ThermalParticleSystem.cpp.
|
inline |
Loads the particle list from file.
The list is read from the specified file. Decays are read from file "decays.dat" from the same directory as the input list. This can be overriden by ReadDecays() method.
InputFile | Path to the file with particle list. |
GenAntiP | Whether antiparticles are to be generated from particles automatically. |
mcut | Discard particles with mass > mcut (in GeV). |
Definition at line 252 of file ThermalParticleSystem.h.
|
inline |
void thermalfist::ThermalParticleSystem::NormalizeBranchingRatios | ( | ) |
Normalize branching ratios for all particles such that they add up to 100%.
Definition at line 1089 of file ThermalParticleSystem.cpp.
|
inline |
Definition at line 485 of file ThermalParticleSystem.h.
bool thermalfist::ThermalParticleSystem::operator== | ( | const ThermalParticleSystem & | rhs | ) | const |
Definition at line 1283 of file ThermalParticleSystem.cpp.
const ThermalParticle & thermalfist::ThermalParticleSystem::Particle | ( | int | id | ) | const |
ThermalParticle object corresponding to particle species with a provided 0-based index.
id | 0-based index of a particle specie. |
Definition at line 1135 of file ThermalParticleSystem.cpp.
ThermalParticle & thermalfist::ThermalParticleSystem::Particle | ( | int | id | ) |
Definition at line 1144 of file ThermalParticleSystem.cpp.
ThermalParticle & thermalfist::ThermalParticleSystem::ParticleByPDG | ( | long long | pdgid | ) |
ThermalParticle object corresponding to particle species with a provided PDG ID.
If the provided PDG ID does not exist in the list, program quits.
pdgid | PDG ID of a particle specie. |
Definition at line 1153 of file ThermalParticleSystem.cpp.
|
inline |
Returns the vector of all particle species.
Definition at line 404 of file ThermalParticleSystem.h.
|
inline |
Transforms PDG ID to a 0-based particle id number.
Returns -1 if the provided PDG ID does not exist in the list.
pdgid | PDG ID. |
Definition at line 438 of file ThermalParticleSystem.h.
void thermalfist::ThermalParticleSystem::ProcessDecays | ( | ) |
Computes the decay contributions of decaying resonances to all particle yields.
Definition at line 84 of file ThermalParticleSystem.cpp.
|
inline |
Definition at line 330 of file ThermalParticleSystem.h.
void thermalfist::ThermalParticleSystem::RemoveParticleAt | ( | int | ind | ) |
Removes particle specie with specified 0-based particle id number from the list.
ind | 0-based particle id number of particle specie to be removed. |
Definition at line 1201 of file ThermalParticleSystem.cpp.
|
inline |
Final state particle number distributions for resonance decays.
Definition at line 209 of file ThermalParticleSystem.h.
|
inline |
Definition at line 365 of file ThermalParticleSystem.h.
|
inline |
Definition at line 354 of file ThermalParticleSystem.h.
void thermalfist::ThermalParticleSystem::RestoreBranchingRatios | ( | ) |
Restore the original values of all the branching ratios.
Definition at line 1095 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::SetCalculationType | ( | IdealGasFunctions::QStatsCalculationType | type | ) |
Sets the CalculationType() method to evaluate quantum statistics.
type | Method to evaluate quantum statistics. |
Definition at line 1100 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::SetClusterExpansionOrder | ( | int | order | ) |
Set the number of terms in the cluster expansion method.
Sets the same value for all particles. To set individually for each particle use ThermalParticle::SetClusterExpansionOrder().
order | Number of terms. |
Definition at line 1107 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::SetResonanceWidthIntegrationType | ( | ThermalParticle::ResonanceWidthIntegration | type | ) |
Set (or get) the ThermalParticle::ResonanceWidthIntegration scheme for all particles.
type | ThermalParticle::ResonanceWidthIntegration |
Definition at line 1120 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::SetResonanceWidthShape | ( | ThermalParticle::ResonanceWidthShape | shape | ) |
Set (or get) the ThermalParticle::ResonanceWidthShape for all particles.
This global setting can be overriden for individual particles by ThermalParticle::SetResonanceWidthShape().
shape | ThermalParticle::ResonanceWidthShape |
Definition at line 1113 of file ThermalParticleSystem.cpp.
|
inline |
Sets the mode to sort particle species (see SortModeType) Use carefully! Need to recalculate all model calculations after this!
Definition at line 500 of file ThermalParticleSystem.h.
void thermalfist::ThermalParticleSystem::SetTableFromVector | ( | const std::vector< ThermalParticle > & | part_in, |
bool | GenerateAntiParticles = true |
||
) |
Sets the particle list from a provided vector of ThermalParticle objects.
part_in | Input vector of ThermalParticle objects. |
GenerateAntiParticles | Whether antiparticles are to be generated from particles automatically. |
Definition at line 728 of file ThermalParticleSystem.cpp.
|
inline |
Current mode to sort particle species.
Definition at line 503 of file ThermalParticleSystem.h.
void thermalfist::ThermalParticleSystem::WriteDecaysToFile | ( | const std::string & | OutputFile = "" , |
bool | WriteAntiParticles = false |
||
) |
Writes the decay channels to a file.
OutputFile | Path to the output file. |
WriteAntiParticles | Whether the decays of antiparticles are to be written to the file as well. |
Definition at line 973 of file ThermalParticleSystem.cpp.
void thermalfist::ThermalParticleSystem::WriteTableToFile | ( | const std::string & | OutputFile = "" , |
bool | WriteAntiParticles = false |
||
) |
Writes the particle list to file.
Note: this does NOT write the decays. The decays can be written with the WriteDecaysToFile() function.
OutputFile | Path to the output file. |
WriteAntiParticles | Whether antiparticles are to be written to the file as well. |
Definition at line 761 of file ThermalParticleSystem.cpp.
|
static |
Definition at line 527 of file ThermalParticleSystem.h.
|
static |
Definition at line 529 of file ThermalParticleSystem.h.
|
static |
Definition at line 531 of file ThermalParticleSystem.h.
|
static |
Definition at line 530 of file ThermalParticleSystem.h.
|
static |
Definition at line 528 of file ThermalParticleSystem.h.