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