Thermal-FIST
1.3
Package for hadron resonance gas model applications
|
Structure holding information about parameters of a thermal fit. More...
#include <ThermalModelFitParameters.h>
Public Member Functions | |
ThermalModelFitParameters (const ThermalModelParameters ¶ms=ThermalModelParameters()) | |
Default constructor. More... | |
ThermalModelFitParameters (const ThermalModelFitParameters &op) | |
Copy constructor. More... | |
ThermalModelFitParameters & | operator= (const ThermalModelFitParameters &op) |
Assignment operator. More... | |
void | FillParameterList () |
Fill ParameterList with pointers to all the parameters. More... | |
int | IndexByName (const std::string &name) const |
Find the index of the parameter with a given name in the ParameterList. More... | |
void | SetParameter (const std::string &name, const FitParameter ¶m) |
Set the FitParameter with a given name from a copy. More... | |
void | SetParameter (const std::string &name, double val, double err, double xmin, double xmax) |
void | SetParameterValue (const std::string &name, double value) |
Set the value of the FitParameter with a given name. More... | |
void | SetParameterFitFlag (const std::string &name, bool toFit) |
Set whether the FitParameter with a given name should be fitted. More... | |
ThermalModelParameters | GetThermalModelParameters () |
Return ThermalModelParameters corresponding to the this ThermalModelFitParameters. More... | |
FitParameter | GetParameter (const std::string &name) const |
Get the FitParameter by its name. More... | |
FitParameter & | GetParameter (const std::string &name) |
FitParameter | GetParameter (const int index) const |
Get the FitParameter by its index. More... | |
FitParameter & | GetParameter (const int index) |
Public Attributes | |
bool | GCE |
0 - CE, 1 - GCE More... | |
FitParameter | T |
All the fit parameters. More... | |
FitParameter | muB |
FitParameter | muS |
FitParameter | muQ |
FitParameter | muC |
FitParameter | gammaq |
FitParameter | gammaS |
FitParameter | gammaC |
FitParameter | R |
FitParameter | Rc |
FitParameter | Tkin |
Since version 1.3: Kinetic freeze-out temperature. More... | |
std::vector< FitParameter * > | ParameterList |
Vector of pointer to all the parameters. More... | |
int | B |
Total charges (for CE) More... | |
int | S |
int | Q |
int | C |
double | chi2 |
Value of the \( \chi^2 \) function. More... | |
double | chi2ndf |
Reduced \( \chi^2 \). More... | |
int | ndf |
Number of degrees of freedom. More... | |
Static Public Attributes | |
static const int | ParameterCount = 11 |
Structure holding information about parameters of a thermal fit.
Definition at line 69 of file ThermalModelFitParameters.h.
thermalfist::ThermalModelFitParameters::ThermalModelFitParameters | ( | const ThermalModelParameters & | params = ThermalModelParameters() | ) |
Default constructor.
Constructs fit parameters from given thermodynamic parameters
params | The thermodynamic parameters of an HRG |
Definition at line 34 of file ThermalModelFitParameters.cpp.
thermalfist::ThermalModelFitParameters::ThermalModelFitParameters | ( | const ThermalModelFitParameters & | op | ) |
Copy constructor.
Definition at line 57 of file ThermalModelFitParameters.cpp.
void thermalfist::ThermalModelFitParameters::FillParameterList | ( | ) |
Fill ParameterList with pointers to all the parameters.
Definition at line 94 of file ThermalModelFitParameters.cpp.
FitParameter thermalfist::ThermalModelFitParameters::GetParameter | ( | const std::string & | name | ) | const |
Get the FitParameter by its name.
name | FitParameter name |
Definition at line 120 of file ThermalModelFitParameters.cpp.
FitParameter & thermalfist::ThermalModelFitParameters::GetParameter | ( | const std::string & | name | ) |
Definition at line 129 of file ThermalModelFitParameters.cpp.
FitParameter thermalfist::ThermalModelFitParameters::GetParameter | ( | const int | index | ) | const |
Get the FitParameter by its index.
index | FitParameter index |
Definition at line 138 of file ThermalModelFitParameters.cpp.
FitParameter & thermalfist::ThermalModelFitParameters::GetParameter | ( | const int | index | ) |
Definition at line 146 of file ThermalModelFitParameters.cpp.
ThermalModelParameters thermalfist::ThermalModelFitParameters::GetThermalModelParameters | ( | ) |
Return ThermalModelParameters corresponding to the this ThermalModelFitParameters.
Definition at line 182 of file ThermalModelFitParameters.cpp.
int thermalfist::ThermalModelFitParameters::IndexByName | ( | const std::string & | name | ) | const |
Find the index of the parameter with a given name in the ParameterList.
Definition at line 111 of file ThermalModelFitParameters.cpp.
ThermalModelFitParameters & thermalfist::ThermalModelFitParameters::operator= | ( | const ThermalModelFitParameters & | op | ) |
Assignment operator.
Definition at line 67 of file ThermalModelFitParameters.cpp.
void thermalfist::ThermalModelFitParameters::SetParameter | ( | const std::string & | name, |
const FitParameter & | param | ||
) |
Set the FitParameter with a given name from a copy.
Definition at line 154 of file ThermalModelFitParameters.cpp.
void thermalfist::ThermalModelFitParameters::SetParameter | ( | const std::string & | name, |
double | val, | ||
double | err, | ||
double | xmin, | ||
double | xmax | ||
) |
Set the FitParameter with a given name
val | FitParameter value |
err | FitParameter error |
xmin | FitParameter value lower bound |
xmax | FitParameter value upper bound |
Definition at line 161 of file ThermalModelFitParameters.cpp.
void thermalfist::ThermalModelFitParameters::SetParameterFitFlag | ( | const std::string & | name, |
bool | toFit | ||
) |
Set whether the FitParameter with a given name should be fitted.
Definition at line 175 of file ThermalModelFitParameters.cpp.
void thermalfist::ThermalModelFitParameters::SetParameterValue | ( | const std::string & | name, |
double | value | ||
) |
Set the value of the FitParameter with a given name.
Definition at line 168 of file ThermalModelFitParameters.cpp.
int thermalfist::ThermalModelFitParameters::B |
Total charges (for CE)
Definition at line 84 of file ThermalModelFitParameters.h.
int thermalfist::ThermalModelFitParameters::C |
Definition at line 84 of file ThermalModelFitParameters.h.
double thermalfist::ThermalModelFitParameters::chi2 |
Value of the \( \chi^2 \) function.
Definition at line 87 of file ThermalModelFitParameters.h.
double thermalfist::ThermalModelFitParameters::chi2ndf |
Reduced \( \chi^2 \).
Definition at line 90 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::gammaC |
Definition at line 75 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::gammaq |
Definition at line 75 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::gammaS |
Definition at line 75 of file ThermalModelFitParameters.h.
bool thermalfist::ThermalModelFitParameters::GCE |
0 - CE, 1 - GCE
Definition at line 72 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::muB |
Definition at line 75 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::muC |
Definition at line 75 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::muQ |
Definition at line 75 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::muS |
Definition at line 75 of file ThermalModelFitParameters.h.
int thermalfist::ThermalModelFitParameters::ndf |
Number of degrees of freedom.
Definition at line 93 of file ThermalModelFitParameters.h.
|
static |
Definition at line 70 of file ThermalModelFitParameters.h.
std::vector<FitParameter*> thermalfist::ThermalModelFitParameters::ParameterList |
Vector of pointer to all the parameters.
Definition at line 81 of file ThermalModelFitParameters.h.
int thermalfist::ThermalModelFitParameters::Q |
Definition at line 84 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::R |
Definition at line 75 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::Rc |
Definition at line 75 of file ThermalModelFitParameters.h.
int thermalfist::ThermalModelFitParameters::S |
Definition at line 84 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::T |
All the fit parameters.
Definition at line 75 of file ThermalModelFitParameters.h.
FitParameter thermalfist::ThermalModelFitParameters::Tkin |
Since version 1.3: Kinetic freeze-out temperature.
Definition at line 78 of file ThermalModelFitParameters.h.