140 if (index >= 0 && index < static_cast<int>(
ParameterList.size()))
148 if (index >= 0 && index < static_cast<int>(
ParameterList.size()))
Abstract base class for an HRG model implementation.
ThermalModelFitParameters(const ThermalModelParameters ¶ms=ThermalModelParameters())
Default constructor.
FitParameter T
All the fit parameters.
int IndexByName(const std::string &name) const
Find the index of the parameter with a given name in the ParameterList.
ThermalModelParameters GetThermalModelParameters()
Return ThermalModelParameters corresponding to the this ThermalModelFitParameters.
double chi2
Value of the function.
int ndf
Number of degrees of freedom.
FitParameter nH
Auxiliary quantities.
Structure containing all thermal parameters of the model.
virtual double CalculateHadronDensity()
virtual double CalculateBaryonDensity()
FitParameter GetParameter(const std::string &name) const
Get the FitParameter by its name.
virtual double CalculateChargeDensity()
virtual double CalculateEnergyDensity()=0
virtual double CalculateEntropyDensity()=0
void SetParameterFitFlag(const std::string &name, bool toFit)
Set whether the FitParameter with a given name should be fitted.
Structure holding information about parameters of a thermal fit.
int B
Total charges (for CE)
std::vector< FitParameter * > ParameterList
Vector of pointer to all the parameters.
Structure for an arbitrary fit parameter.
virtual double CalculatePressure()=0
Implementation of the equation of state functions.
void FillParameterList()
Fill ParameterList with pointers to all the parameters.
FitParameter Tkin
Since version 1.3: Kinetic freeze-out temperature.
ThermalModelFitParameters & operator=(const ThermalModelFitParameters &op)
Assignment operator.
void SetParameterValue(const std::string &name, double value)
Set the value of the FitParameter with a given name.
ThermalModelFitParametersExtended()
const ThermalModelParameters & Parameters() const
The main namespace where all classes and functions of the Thermal-FIST library reside.
void SetParameter(const std::string &name, const FitParameter ¶m)
Set the FitParameter with a given name from a copy.