LauAbsPdf.hh
Go to the documentation of this file.
150 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:448 virtual const std::vector< Double_t > & getUnNormPDFValues() const Retrieve the cached unnormalised likelihood values. Definition: LauAbsPdf.hh:411 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:369 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:288 virtual Double_t getMinAbscissa() const Retrieve the minimum value of the (primary) abscissa. Definition: LauAbsPdf.hh:117 virtual Bool_t normWeightsDone() const Check whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:447 virtual Bool_t heightUpToDate() const Check if the maximum height of the PDF is up to date. Definition: LauAbsPdf.hh:264 File containing declaration of LauParamFixed class. virtual const TString & varName() const Retrieve the name of the abscissa. Definition: LauAbsPdf.hh:80 virtual void withinNormCalc(Bool_t yorn) Set flag to track whether the calcNorm method is running. Definition: LauAbsPdf.hh:429 virtual void setRange(const TString &theVarName, Double_t minAbscissa, Double_t maxAbscissa) Set the range of the specified abscissa. Definition: LauAbsPdf.hh:356 virtual LauAbsRValue * findParameter(const TString &parName) Retrieve the specified parameter. Definition: LauAbsPdf.cc:381 virtual std::vector< LauAbsRValue * > & getParameters() Retrieve the parameters of the PDF, e.g. so that they can be loaded into a fit. Definition: LauAbsPdf.hh:245 virtual UInt_t nParameters() const Retrieve the number of PDF parameters. Definition: LauAbsPdf.hh:92 virtual const std::vector< LauAbscissas > & normAbscissas() const Retrieve the abscissa points used for normalisation. Definition: LauAbsPdf.hh:462 Bool_t normWeightsDone_ Whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:527 virtual Double_t getUnNormLikelihood() const Retrieve the unnormalised likelihood value. Definition: LauAbsPdf.hh:196 virtual void calcPDFHeight(const LauKinematics *kinematics)=0 Calculate the maximum height of the PDF. virtual Bool_t checkRange(const LauAbscissas &abscissas) const Check that all abscissas are within their allowed ranges. Definition: LauAbsPdf.cc:213 LauAbsPdf & operator=(const LauAbsPdf &rhs) Copy assignment operator (not implemented) virtual Int_t nNormPoints() const Retrieve the number of points to integrate over when normalising. Definition: LauAbsPdf.hh:282 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:423 LauAbsPdf(const TString &theVarName, const std::vector< LauAbsRValue * > ¶ms, Double_t minAbscissa, Double_t maxAbscissa) Constructor for a 1D PDF. Definition: LauAbsPdf.cc:30 virtual void heightUpToDate(Bool_t hutd) Set whether the height is up to date. Definition: LauAbsPdf.hh:270 virtual TRandom * getRandomFun() const Retrieve the random function used for MC generation. Definition: LauAbsPdf.hh:387 virtual const std::vector< LauAbscissas > & getAbscissas() const Retrieve the abscissa(s) Definition: LauAbsPdf.hh:399 virtual void normWeightsDone(Bool_t yorn) Set whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:453 Definition: LauAbsPdf.hh:49 virtual void cachePDF(Bool_t doCachePDF) Set whether the PDF is to be cached. Definition: LauAbsPdf.hh:307 virtual void setMaxAbscissa(const TString &theVarName, Double_t maxAbscissa) Set the maximum value of the specified abscissa. Definition: LauAbsPdf.cc:199 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 File containing declaration of LauAbsRValue class. virtual void integMethod(IntMethod method) Set the integration method used to normalise the PDF. Definition: LauAbsPdf.hh:300 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:123 virtual Bool_t isDPDependent() const Specifies whether or not the PDF is DP dependent. Definition: LauAbsPdf.hh:111 Bool_t withinNormCalc_ Flag to keep track of whether the calcNorm method is running. Definition: LauAbsPdf.hh:521 virtual void addParameters(std::vector< LauAbsRValue * > ¶ms) Add parameters to the PDF. Definition: LauAbsPdf.cc:423 std::vector< Double_t > unNormPDFValues_ Cached unnormalised likelihood values. Definition: LauAbsPdf.hh:505 virtual std::vector< LauAbscissas > & getAbscissas() Retrieve the abscissa(s) Definition: LauAbsPdf.hh:393 virtual const std::vector< LauAbsRValue * > & getParameters() const Retrieve the parameters of the PDF, e.g. so that they can be loaded into a fit. Definition: LauAbsPdf.hh:239 IntMethod integMethod_ The integration method used for normalising the PDF. Definition: LauAbsPdf.hh:518 virtual void withinGeneration(Bool_t yorn) Set flag to track whether the generate method is running. Definition: LauAbsPdf.hh:441 virtual Bool_t withinGeneration() const Check whether the generate method is running. Definition: LauAbsPdf.hh:435 virtual const std::vector< Double_t > & normWeights() const Retrieve the weights used for normalisation. Definition: LauAbsPdf.hh:468 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:405 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:150 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)=0 Calculate the likelihood (and all associated information) given value(s) of the abscissa(s) ... Definition: LauAbsPdf.hh:50 Bool_t withinGeneration_ Flag to keep track of whether the generate method is running. Definition: LauAbsPdf.hh:524 virtual void getNormWeights() Calculate the weights and abscissas used for normalisation. Definition: LauAbsPdf.cc:470 virtual IntMethod integMethod() const Retrieve the integration method used to normalise the PDF. Definition: LauAbsPdf.hh:294 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 Double_t getRange() const Retrieve the range of the (primary) abscissa. Definition: LauAbsPdf.hh:129 virtual void setRandomFun(TRandom *randomFun) Set the random function used for toy MC generation. Definition: LauAbsPdf.hh:233 Pure abstract base class for defining a parameter containing an R value. Definition: LauAbsRValue.hh:29 virtual Double_t integTrapezoid() Integrate the PDF using the simple trapezoid method. Definition: LauAbsPdf.cc:521 std::vector< Double_t > LauAbscissas The type used for containing multiple abscissa values. Definition: LauAbsPdf.hh:45 Generated by 1.8.5 |