LauParameter.cc
Go to the documentation of this file.
215 LauParameter::LauParameter(const TString& parName, Double_t parValue, Double_t min, Double_t max) :
240 LauParameter::LauParameter(const TString& parName, Double_t parValue, Double_t min, Double_t max, Bool_t parFixed) :
265 LauParameter::LauParameter(const TString& parName, Double_t parValue, Double_t parError, Double_t min, Double_t max) :
410 void LauParameter::valueAndErrors(Double_t newValue, Double_t newError, Double_t newNegError, Double_t newPosError)
550 std::cerr << "WARNING in LauParameter::blindParameter : blinding has already been set up for this parameter" << std::endl;
556 for (map<LauParameter*,Double_t>::iterator iter = clones_.begin(); iter != clones_.end(); ++iter) {
559 std::cerr << "WARNING in LauParameter::blindParameter : blinding has already been set up for a clone of this parameter - it will be replaced!" << std::endl;
596 cerr<<"ERROR in LauParameter::checkRange : minValue: "<<minVal<<" greater than maxValue: "<<maxVal<<endl;
612 cerr<<"ERROR in LauParameter::checkRange : value: "<<val<<" not in allowed range ["<<minVal<<" , "<<maxVal<<"] for parameter \""<<name_<<"\"."<<endl;
614 cerr<<"ERROR in LauParameter::checkRange : value: "<<val<<" not in allowed range ["<<minVal<<" , "<<maxVal<<"]."<<endl;
665 // we have to set the values directly rather than using member functions because otherwise we'd get into an infinite loop
667 for (map<LauParameter*,Double_t>::iterator iter = clones_.begin(); iter != clones_.end(); ++iter) {
673 for (map<LauParameter*,Double_t>::iterator iter = clones_.begin(); iter != clones_.end(); ++iter) {
710 cerr<<"ERROR in LauParameter::randomiseValue : Supplied maximum value smaller than minimum value."<<endl;
LauAbsRValue & operator=(const LauAbsRValue &) Copy assignment operator. Definition: LauAbsRValue.hh:56 Bool_t fixed() const Check whether the parameter is fixed or floated. Definition: LauParameter.hh:228 std::map< LauParameter *, Double_t > clones_ The clones of this parameter. Definition: LauParameter.hh:545 TRandom * zeroSeedRandom() Access the singleton random number generator with seed set from machine clock time (within +-1 sec)... Definition: LauRandom.cc:44 Double_t maxValue() const The maximum value allowed for the parameter. Definition: LauParameter.hh:216 ClassImp(LauAbsCoeffSet) Double_t constraintWidth() const The width of the Gaussian constraint. Definition: LauParameter.hh:252 Double_t minValue() const The minimum value allowed for the parameter. Definition: LauParameter.hh:210 void valueAndRange(Double_t newValue, Double_t newMinValue, Double_t newMaxValue) Set the value and range for the parameter. Definition: LauParameter.cc:483 void checkRange() Method to check whether value provided is whithin the range and that the minimum and maximum limits m... Definition: LauParameter.hh:468 std::ostream & operator<<(std::ostream &os, const LauComplex &z) Definition: LauComplex.cc:57 File containing declaration of LauParameter class. Double_t constraintMean() const The mean of the Gaussian constraint. Definition: LauParameter.hh:246 Bool_t gaussConstraint() const Check whether a Gaussian constraints is applied. Definition: LauParameter.hh:240 Bool_t secondStage() const Check whether the parameter should be floated only in the second stage of a two stage fit... Definition: LauParameter.hh:234 void randomiseValue() Randomise the value of the parameter (if it is floating). Definition: LauParameter.cc:696 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:410 File containing LauRandom namespace. void blindParameter(const TString &blindingString, const Double_t width) Blind the parameter. Definition: LauParameter.cc:542 Bool_t secondStage_ Flag whether it is floated only in the second stage of the fit. Definition: LauParameter.hh:521 LauParameter * createClone(Double_t constFactor=1.0) Method to create a clone from the parent parameter using the copy constructor. Definition: LauParameter.cc:627 void addGaussianConstraint(Double_t newGaussMean, Double_t newGaussWidth) Add a Gaussian constraint (or modify an existing one) Definition: LauParameter.cc:520 Class for blinding and unblinding a number based on a blinding string. Definition: LauBlind.hh:42 Double_t globalCorrelationCoeff() const The parameter global correlation coefficient. Definition: LauParameter.hh:258 Pure abstract base class for defining a parameter containing an R value. Definition: LauAbsRValue.hh:43 void errors(Double_t newError, Double_t newNegError, Double_t newPosError) Set the error values on the parameter. Definition: LauParameter.cc:398 LauParameter & operator=(const LauParameter &rhs) Copy assignment operator. Definition: LauParameter.cc:315 Generated by 1.8.5 |