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) :
364 void LauParameter::valueAndErrors(Double_t newValue, Double_t newError, Double_t newNegError, Double_t newPosError)
544 cerr<<"ERROR in LauParameter::checkRange : minValue: "<<minVal<<" greater than maxValue: "<<maxVal<<endl;
560 cerr<<"ERROR in LauParameter::checkRange : value: "<<val<<" not in allowed range ["<<minVal<<" , "<<maxVal<<"] for parameter \""<<name_<<"\"."<<endl;
562 cerr<<"ERROR in LauParameter::checkRange : value: "<<val<<" not in allowed range ["<<minVal<<" , "<<maxVal<<"]."<<endl;
608 for (map<LauParameter*,Double_t>::iterator iter = clones_.begin(); iter != clones_.end(); ++iter) {
614 for (map<LauParameter*,Double_t>::iterator iter = clones_.begin(); iter != clones_.end(); ++iter) {
617 clonePar->valueAndRange(constFactor*this->value(),constFactor*this->minValue(),constFactor*this->maxValue());
618 clonePar->errors(constFactor*this->error(),constFactor*this->negError(),constFactor*this->posError());
646 cerr<<"ERROR in LauParameter::randomiseValue : Supplied maximum value smaller than minimum value."<<endl;
Bool_t fixed() const Check whether the parameter is fixed or floated. Definition: LauParameter.hh:193 Double_t operator+=(Double_t &lhs, const LauParameter &rhs) Definition: LauParameter.cc:710 std::map< LauParameter *, Double_t > clones_ The clones of this parameter. Definition: LauParameter.hh:534 Double_t operator*=(Double_t &lhs, const LauParameter &rhs) Definition: LauParameter.cc:720 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:181 Double_t constraintWidth() const The width of the Gaussian constraint. Definition: LauParameter.hh:223 Double_t minValue() const The minimum value allowed for the parameter. Definition: LauParameter.hh:175 LauParameter & operator*=(Double_t val) Multiplication assignment operator. Definition: LauParameter.cc:504 Bool_t firstStage_ Flag whether it is floated only in the first stage of the fit. Definition: LauParameter.hh:509 Double_t operator-=(Double_t &lhs, const LauParameter &rhs) Definition: LauParameter.cc:715 void valueAndRange(Double_t newValue, Double_t newMinValue, Double_t newMaxValue) Set the value and range for the parameter. Definition: LauParameter.cc:420 void updateClones(Bool_t justValue=kFALSE) Method to update clone values. Definition: LauParameter.cc:605 Double_t operator/=(Double_t &lhs, const LauParameter &rhs) Definition: LauParameter.cc:725 void checkRange() Method to check whether value provided is whithin the range and that the minimum and maximum limits m... Definition: LauParameter.hh:450 Bool_t firstStage() const Check whether the parameter should be floated only in the first stage of a two stage fit... Definition: LauParameter.hh:199 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:217 Bool_t gaussConstraint() const Check whether a Gaussian constraints is applied. Definition: LauParameter.hh:211 Bool_t secondStage() const Check whether the parameter should be floated only in the second stage of a two stage fit... Definition: LauParameter.hh:205 LauParameter & operator/=(Double_t val) Division assignment operator. Definition: LauParameter.cc:513 void randomiseValue() Randomise the value of the parameter (if it is floating). Definition: LauParameter.cc:633 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:364 File containing LauRandom namespace. LauParameter & operator-=(Double_t val) Subtraction assignment operator. Definition: LauParameter.cc:495 Bool_t secondStage_ Flag whether it is floated only in the second stage of the fit. Definition: LauParameter.hh:511 LauParameter * createClone(Double_t constFactor=1.0) Method to create a clone from the parent parameter using the copy constructor. Definition: LauParameter.cc:575 void addGaussianConstraint(Double_t newGaussMean, Double_t newGaussWidth) Add a Gaussian constraint (or modify an existing one) Definition: LauParameter.cc:459 Double_t globalCorrelationCoeff() const The parameter global correlation coefficient. Definition: LauParameter.hh:229 void errors(Double_t newError, Double_t newNegError, Double_t newPosError) Set the error values on the parameter. Definition: LauParameter.cc:354 LauParameter & operator=(const LauParameter &rhs) Copy assignment operator. Definition: LauParameter.cc:297 LauParameter & operator+=(Double_t val) Addition assignment operator. Definition: LauParameter.cc:486 Generated by 1.8.5 |