LauLinearPdf.cc
Go to the documentation of this file.
31 LauLinearPdf::LauLinearPdf(const TString& theVarName, const vector<LauParameter*>& params, Double_t minAbscissa, Double_t maxAbscissa) :
61 LauLinearPdf::LauLinearPdf(const LauLinearPdf& other) : LauAbsPdf(other.varName(), other.getParameters(), other.getMinAbscissa(), other.getMaxAbscissa())
134 slope = 2.0/((this->getMaxAbscissa() - this->getMinAbscissa())*(this->getMaxAbscissa() - this->getMinAbscissa()));
virtual void setParMax(const TString &parName, Double_t maxValue) Change the maximum value of the specified parameter. Definition: LauAbsPdf.cc:481 virtual void setUnNormPDFVal(Double_t unNormPDFVal) Set the unnormalised likelihood. Definition: LauAbsPdf.hh:454 virtual Double_t getMinAbscissa() const Retrieve the minimum value of the (primary) abscissa. Definition: LauAbsPdf.hh:158 virtual Bool_t heightUpToDate() const Check if the maximum height of the PDF is up to date. Definition: LauAbsPdf.hh:349 virtual Double_t getUnNormLikelihood() const Retrieve the unnormalised likelihood value. Definition: LauAbsPdf.hh:278 virtual Bool_t checkRange(const LauAbscissas &abscissas) const Check that all abscissas are within their allowed ranges. Definition: LauAbsPdf.cc:213 virtual Double_t getParMin(const TString &parName) const Retrieve the minimum value of the specified parameter. Definition: LauAbsPdf.cc:415 virtual void setParMin(const TString &parName, Double_t minValue) Change the minimum value of the specified parameter. Definition: LauAbsPdf.cc:473 virtual TRandom * getRandomFun() const Retrieve the random function used for MC generation. Definition: LauAbsPdf.hh:472 virtual void setParValue(const TString &parName, Double_t value) Change the value of the specified parameter. Definition: LauAbsPdf.cc:465 virtual Double_t getMaxAbscissa() const Retrieve the maximum value of the (primary) abscissa. Definition: LauAbsPdf.hh:164 File containing declaration of LauLinearPdf class. virtual void calcPDFHeight(const LauKinematics *kinematics) Calculate the PDF height. Definition: LauLinearPdf.cc:95 virtual Double_t getParMax(const TString &parName) const Retrieve the maximum value of the specified parameter. Definition: LauAbsPdf.cc:425 File containing LauConstants namespace. virtual void setRandomFun(TRandom *randomFun) Set the random function used for toy MC generation. Definition: LauAbsPdf.hh:315 std::vector< Double_t > LauAbscissas The type used for containing multiple abscissa values. Definition: LauAbsPdf.hh:44 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas) Calculate the likelihood (and intermediate info) for a given abscissa. Definition: LauLinearPdf.cc:68 LauLinearPdf(const TString &theVarName, const std::vector< LauParameter * > ¶ms, Double_t minAbscissa, Double_t maxAbscissa) Constructor. Generated by 1.8.5 |