LauParameter.cc
Go to the documentation of this file.
201 LauParameter::LauParameter(const TString& parName, Double_t parValue, Double_t min, Double_t max) :
226 LauParameter::LauParameter(const TString& parName, Double_t parValue, Double_t min, Double_t max, Bool_t parFixed) :
251 LauParameter::LauParameter(const TString& parName, Double_t parValue, Double_t parError, Double_t min, Double_t max) :
396 void LauParameter::valueAndErrors(Double_t newValue, Double_t newError, Double_t newNegError, Double_t newPosError)
536 std::cerr << "WARNING in LauParameter::blindParameter : blinding has already been set up for this parameter" << std::endl;
542 for (map<LauParameter*,Double_t>::iterator iter = clones_.begin(); iter != clones_.end(); ++iter) {
545 std::cerr << "WARNING in LauParameter::blindParameter : blinding has already been set up for a clone of this parameter - it will be replaced!" << std::endl;
582 cerr<<"ERROR in LauParameter::checkRange : minValue: "<<minVal<<" greater than maxValue: "<<maxVal<<endl;
598 cerr<<"ERROR in LauParameter::checkRange : value: "<<val<<" not in allowed range ["<<minVal<<" , "<<maxVal<<"] for parameter \""<<name_<<"\"."<<endl;
600 cerr<<"ERROR in LauParameter::checkRange : value: "<<val<<" not in allowed range ["<<minVal<<" , "<<maxVal<<"]."<<endl;
651 // we have to set the values directly rather than using member functions because otherwise we'd get into an infinite loop
653 for (map<LauParameter*,Double_t>::iterator iter = clones_.begin(); iter != clones_.end(); ++iter) {
659 for (map<LauParameter*,Double_t>::iterator iter = clones_.begin(); iter != clones_.end(); ++iter) {
696 cerr<<"ERROR in LauParameter::randomiseValue : Supplied maximum value smaller than minimum value."<<endl;
LauAbsRValue & operator=(const LauAbsRValue &) Copy assignment operator. Definition: LauAbsRValue.hh:42 Bool_t fixed() const Check whether the parameter is fixed or floated. Definition: LauParameter.hh:214 std::map< LauParameter *, Double_t > clones_ The clones of this parameter. Definition: LauParameter.hh:531 TRandom * zeroSeedRandom() Access the singleton random number generator with seed set from machine clock time (within +-1 sec)... Definition: LauRandom.cc:30 Double_t maxValue() const The maximum value allowed for the parameter. Definition: LauParameter.hh:202 ClassImp(LauAbsCoeffSet) Double_t constraintWidth() const The width of the Gaussian constraint. Definition: LauParameter.hh:238 Double_t minValue() const The minimum value allowed for the parameter. Definition: LauParameter.hh:196 void valueAndRange(Double_t newValue, Double_t newMinValue, Double_t newMaxValue) Set the value and range for the parameter. Definition: LauParameter.cc:469 void checkRange() Method to check whether value provided is whithin the range and that the minimum and maximum limits m... Definition: LauParameter.hh:454 std::ostream & operator<<(std::ostream &os, const LauComplex &z) Definition: LauComplex.cc:43 File containing declaration of LauParameter class. Double_t constraintMean() const The mean of the Gaussian constraint. Definition: LauParameter.hh:232 Bool_t gaussConstraint() const Check whether a Gaussian constraints is applied. Definition: LauParameter.hh:226 Bool_t secondStage() const Check whether the parameter should be floated only in the second stage of a two stage fit... Definition: LauParameter.hh:220 void randomiseValue() Randomise the value of the parameter (if it is floating). Definition: LauParameter.cc:682 void valueAndErrors(Double_t newValue, Double_t newError, Double_t newNegError=0.0, Double_t newPosError=0.0) Set the value and errors on the parameter. Definition: LauParameter.cc:396 File containing LauRandom namespace. void blindParameter(const TString &blindingString, const Double_t width) Blind the parameter. Definition: LauParameter.cc:528 Bool_t secondStage_ Flag whether it is floated only in the second stage of the fit. Definition: LauParameter.hh:507 LauParameter * createClone(Double_t constFactor=1.0) Method to create a clone from the parent parameter using the copy constructor. Definition: LauParameter.cc:613 void addGaussianConstraint(Double_t newGaussMean, Double_t newGaussWidth) Add a Gaussian constraint (or modify an existing one) Definition: LauParameter.cc:506 Class for blinding and unblinding a number based on a blinding string. Definition: LauBlind.hh:28 Double_t globalCorrelationCoeff() const The parameter global correlation coefficient. Definition: LauParameter.hh:244 Pure abstract base class for defining a parameter containing an R value. Definition: LauAbsRValue.hh:29 void errors(Double_t newError, Double_t newNegError, Double_t newPosError) Set the error values on the parameter. Definition: LauParameter.cc:384 LauParameter & operator=(const LauParameter &rhs) Copy assignment operator. Definition: LauParameter.cc:301 Generated by 1.8.5 |