8#ifndef THERMALMODELFITPARAMETERS_H
9#define THERMALMODELFITPARAMETERS_H
34 FitParameter(std::string namep =
"",
bool toFitp =
true,
double val = 1.,
double err = 0.,
double vmin = -2.,
double vmax = 2.) :
146 void SetParameter(
const std::string& name,
double val,
double err,
double xmin,
double xmax);
map< string, double > params
Abstract base class for an HRG model implementation.
The main namespace where all classes and functions of the Thermal-FIST library reside.
Structure for an arbitrary fit parameter.
bool toFit
Whether the parameter is fitted or fixed.
double error
Parameter error (symmetric)
double xmax
Lower and uppers bounds on parameter value.
double errm
Asymmetric errors.
FitParameter(std::string namep="", bool toFitp=true, double val=1., double err=0., double vmin=-2., double vmax=2.)
Construct a new FitParameter object.
std::string name
Name of the parameter.
ThermalModelFitParametersExtended()
FitParameter nH
Auxiliary quantities.
ThermalModelParameters GetThermalModelParameters()
Return ThermalModelParameters corresponding to the this ThermalModelFitParameters.
void SetParameter(const std::string &name, const FitParameter ¶m)
Set the FitParameter with a given name from a copy.
int B
Total charges (for CE)
int ndf
Number of degrees of freedom.
FitParameter Tkin
Since version 1.3: Kinetic freeze-out temperature.
double chi2
Value of the function.
void FillParameterList()
Fill ParameterList with pointers to all the parameters.
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.
void SetParameterFitFlag(const std::string &name, bool toFit)
Set whether the FitParameter with a given name should be fitted.
ThermalModelFitParameters & operator=(const ThermalModelFitParameters &op)
Assignment operator.
std::vector< FitParameter * > ParameterList
Vector of pointer to all the parameters.
void SetParameterValue(const std::string &name, double value)
Set the value of the FitParameter with a given name.
FitParameter GetParameter(const std::string &name) const
Get the FitParameter by its name.
static const int ParameterCount
ThermalModelFitParameters(const ThermalModelParameters ¶ms=ThermalModelParameters())
Default constructor.
Structure containing all thermal parameters of the model.