8#ifndef THERMALMODELFITQUANTITIES_H
9#define THERMALMODELFITQUANTITIES_H
113 fError = sqrt(error1*error1 / value2 / value2 + value1 * value1 / value2 / value2 / value2 / value2 * error2 * error2);
Contains structures related to particle decays.
The main namespace where all classes and functions of the Thermal-FIST library reside.
Structure containing the experimental yield (multiplicity) to be fitted.
double fValue
Experimental value.
Feeddown::Type fFeedDown
The feeddown contributions to be included.
long long fPDGID
PDG code of the particle yield.
void addSystematicError(double percent)
Adds a relative systematic error as a fraction of the total yield.
ExperimentMultiplicity(long long PDGID=-211, double value=300., double error=20., Feeddown::Type fd=Feeddown::StabilityFlag)
Construct a new ExperimentMultiplicity object.
double fError
Experimental error.
Structure containing the experimental ratio of yields to be fitted.
Feeddown::Type fFeedDown2
The feeddown contributions to be included for the yield in the denominator.
long long fPDGID1
PDG code of the particle yield in the numerator.
double fValue
Experimental value of the yield ratio.
double fError
Experimental error of the yield ratio.
long long fPDGID2
PDG code of the particle yield in the denominator.
Feeddown::Type fFeedDown1
The feeddown contributions to be included for the yield in the numerator.
ExperimentRatio(long long PDGID1, long long PDGID2, double value1, double error1, double value2, double error2, Feeddown::Type fd1=Feeddown::StabilityFlag, Feeddown::Type fd2=Feeddown::StabilityFlag)
Construct a new ExperimentRatio object two individual yields and their errors.
ExperimentRatio(long long PDGID1=211, long long PDGID2=-211, double value=1., double error=0.1, Feeddown::Type fd1=Feeddown::StabilityFlag, Feeddown::Type fd2=Feeddown::StabilityFlag)
Construct a new ExperimentRatio object.
@ StabilityFlag
Feeddown from all particles marked as unstable.
ExperimentRatio ratio
The ratio data. Used if type is FittedQuantityType::Ratio.
bool toFit
Whether this quantity contributes to the of a fit.
double Value() const
Value of the measurement.
double ValueError() const
Error of the measurement.
FittedQuantityType
Yield (multiplicity) or ratio.
FittedQuantityType type
Whether it is a yield (multiplicity) or a ratio.
FittedQuantity(const ExperimentRatio &op)
FittedQuantity(const ExperimentMultiplicity &op)
ExperimentMultiplicity mult
The yield data. Used if type is FittedQuantityType::Multiplicity.
FittedQuantity()
Default constructor.