LauAbsPdf.hh
Go to the documentation of this file.
191 virtual Double_t getRange( const TString& theVarName ) const {return this->getMaxAbscissa(theVarName) - this->getMinAbscissa(theVarName);}
virtual Double_t integrGaussLegendre() Integrate the PDF using the Gauss-Legendre method. Definition: LauAbsPdf.cc:547 virtual void setParMax(const TString &parName, Double_t maxValue) Change the maximum value of the specified parameter. Definition: LauAbsPdf.cc:481 virtual const std::vector< Double_t > & getUnNormPDFValues() const Retrieve the cached unnormalised likelihood values. Definition: LauAbsPdf.hh:496 TRandom * randomFun() Access the singleton random number generator with a particular seed. Definition: LauRandom.cc:20 virtual void setUnNormPDFVal(Double_t unNormPDFVal) Set the unnormalised likelihood. Definition: LauAbsPdf.hh:454 File containing declaration of LauFitDataTree class. virtual void nNormPoints(Int_t nPoints) Set the number of points to integrate over when normalising. Definition: LauAbsPdf.hh:367 virtual Double_t getMinAbscissa() const Retrieve the minimum value of the (primary) abscissa. Definition: LauAbsPdf.hh:158 virtual Bool_t normWeightsDone() const Check whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:532 virtual Bool_t heightUpToDate() const Check if the maximum height of the PDF is up to date. Definition: LauAbsPdf.hh:349 File containing declaration of LauParamFixed class. virtual const TString & varName() const Retrieve the name of the abscissa. Definition: LauAbsPdf.hh:79 virtual void withinNormCalc(Bool_t yorn) Set flag to track whether the calcNorm method is running. Definition: LauAbsPdf.hh:514 virtual void setRange(const TString &theVarName, Double_t minAbscissa, Double_t maxAbscissa) Set the range of the specified abscissa. Definition: LauAbsPdf.hh:441 virtual void addParameters(std::vector< LauParameter * > ¶ms) Add parameters to the PDF. Definition: LauAbsPdf.cc:522 virtual UInt_t nParameters() const Retrieve the number of PDF parameters. Definition: LauAbsPdf.hh:91 virtual const std::vector< LauAbscissas > & normAbscissas() const Retrieve the abscissa points used for normalisation. Definition: LauAbsPdf.hh:547 Bool_t normWeightsDone_ Whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:606 virtual Double_t getUnNormLikelihood() const Retrieve the unnormalised likelihood value. Definition: LauAbsPdf.hh:278 virtual void calcPDFHeight(const LauKinematics *kinematics)=0 Calculate the maximum height of the PDF. virtual const std::vector< LauParameter * > & getParameters() const Retrieve the parameters of the PDF, e.g. so that they can be loaded into a fit. Definition: LauAbsPdf.hh:321 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 Int_t nNormPoints() const Retrieve the number of points to integrate over when normalising. Definition: LauAbsPdf.hh:361 virtual void setMinAbscissa(const TString &theVarName, Double_t minAbscissa) Set the minimum value of the specified abscissa. Definition: LauAbsPdf.cc:185 virtual LauFitData generate(const LauKinematics *kinematics) Generate an event from the PDF. Definition: LauAbsPdf.cc:298 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:31 virtual Bool_t withinNormCalc() const Check whether the calcNorm method is running. Definition: LauAbsPdf.hh:508 virtual void heightUpToDate(Bool_t hutd) Set whether the height is up to date. Definition: LauAbsPdf.hh:392 virtual TRandom * getRandomFun() const Retrieve the random function used for MC generation. Definition: LauAbsPdf.hh:472 virtual const std::vector< LauAbscissas > & getAbscissas() const Retrieve the abscissa(s) Definition: LauAbsPdf.hh:484 virtual void normWeightsDone(Bool_t yorn) Set whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:538 Definition: LauAbsPdf.hh:48 virtual void setParRange(const TString &parName, Double_t minValue, Double_t maxValue) Change the range of the specified parameter. Definition: LauAbsPdf.cc:489 virtual void cachePDF(Bool_t doCachePDF) Set whether the PDF is to be cached. Definition: LauAbsPdf.hh:386 virtual void setMaxAbscissa(const TString &theVarName, Double_t maxAbscissa) Set the maximum value of the specified abscissa. Definition: LauAbsPdf.cc:199 virtual void setParValue(const TString &parName, Double_t value) Change the value of the specified parameter. Definition: LauAbsPdf.cc:465 virtual void fixPar(const TString &parName) Fix the specified parameter. Definition: LauAbsPdf.cc:497 virtual LauFitData getMinAbscissas() const Retrieve the minimum values of all the abscissas. Definition: LauAbsPdf.cc:147 virtual LauFitData getRanges() const Retrieve the ranges of all the abscissas. Definition: LauAbsPdf.cc:169 virtual void integMethod(IntMethod method) Set the integration method used to normalise the PDF. Definition: LauAbsPdf.hh:379 virtual Bool_t parFixed(const TString &parName) const Retrieve whether the specified parameter is fixed. Definition: LauAbsPdf.cc:445 File containing declaration of LauParameter class. virtual std::vector< TString > varNames() const Retrieve the names of the abscissas. Definition: LauAbsPdf.cc:103 virtual Double_t getMaxAbscissa() const Retrieve the maximum value of the (primary) abscissa. Definition: LauAbsPdf.hh:164 virtual Bool_t isDPDependent() const Specifies whether or not the PDF is DP dependent. Definition: LauAbsPdf.hh:110 Bool_t withinNormCalc_ Flag to keep track of whether the calcNorm method is running. Definition: LauAbsPdf.hh:600 std::vector< Double_t > unNormPDFValues_ Cached unnormalised likelihood values. Definition: LauAbsPdf.hh:584 virtual std::vector< LauAbscissas > & getAbscissas() Retrieve the abscissa(s) Definition: LauAbsPdf.hh:478 IntMethod integMethod_ The integration method used for normalising the PDF. Definition: LauAbsPdf.hh:597 virtual void withinGeneration(Bool_t yorn) Set flag to track whether the generate method is running. Definition: LauAbsPdf.hh:526 virtual Bool_t withinGeneration() const Check whether the generate method is running. Definition: LauAbsPdf.hh:520 virtual const std::vector< Double_t > & normWeights() const Retrieve the weights used for normalisation. Definition: LauAbsPdf.hh:553 virtual LauFitData getMaxAbscissas() const Retrieve the maximum values of all the abscissas. Definition: LauAbsPdf.cc:158 virtual std::vector< Double_t > & getUnNormPDFValues() Retrieve the cached unnormalised likelihood values. Definition: LauAbsPdf.hh:490 virtual Double_t getLikelihood() const Retrieve the normalised likelihood value. Definition: LauAbsPdf.cc:354 virtual Double_t getRange(const TString &theVarName) const Retrieve the range of the specified abscissa. Definition: LauAbsPdf.hh:191 virtual Bool_t parClone(const TString &parName) const Retrieve whether the specified parameter is a clone. Definition: LauAbsPdf.cc:455 LauAbsPdf(const TString &theVarName, const std::vector< LauParameter * > ¶ms, Double_t minAbscissa, Double_t maxAbscissa) Constructor for a 1D PDF. Definition: LauAbsPdf.cc:30 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)=0 Calculate the likelihood (and all associated information) given value(s) of the abscissa(s) ... virtual Double_t getParMax(const TString &parName) const Retrieve the maximum value of the specified parameter. Definition: LauAbsPdf.cc:425 Definition: LauAbsPdf.hh:49 Bool_t withinGeneration_ Flag to keep track of whether the generate method is running. Definition: LauAbsPdf.hh:603 virtual void getNormWeights() Calculate the weights and abscissas used for normalisation. Definition: LauAbsPdf.cc:569 virtual LauParameter * findParameter(const TString &parName) Retrieve the specified parameter. Definition: LauAbsPdf.cc:381 virtual Double_t getParRange(const TString &parName) const Retrieve the range of the specified parameter. Definition: LauAbsPdf.cc:435 virtual IntMethod integMethod() const Retrieve the integration method used to normalise the PDF. Definition: LauAbsPdf.hh:373 virtual UInt_t nFixedParameters() const Retrieve the number of fixed PDF parameters. Definition: LauAbsPdf.cc:113 virtual void cacheInfo(const LauFitDataTree &inputData) Cache information from data. Definition: LauAbsPdf.cc:241 virtual void floatPar(const TString &parName) Float the specified parameter. Definition: LauAbsPdf.cc:505 virtual std::vector< LauParameter * > & getParameters() Retrieve the parameters of the PDF, e.g. so that they can be loaded into a fit. Definition: LauAbsPdf.hh:327 virtual Double_t getRange() const Retrieve the range of the (primary) abscissa. Definition: LauAbsPdf.hh:170 virtual void setRandomFun(TRandom *randomFun) Set the random function used for toy MC generation. Definition: LauAbsPdf.hh:315 virtual Double_t getParValue(const TString &parName) const Retrieve the value of the specified parameter. Definition: LauAbsPdf.cc:405 virtual Double_t integTrapezoid() Integrate the PDF using the simple trapezoid method. Definition: LauAbsPdf.cc:620 std::vector< Double_t > LauAbscissas The type used for containing multiple abscissa values. Definition: LauAbsPdf.hh:44 Generated by 1.8.5 |