LauAbsPdf.hh
Go to the documentation of this file.
164 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:462 virtual const std::vector< Double_t > & getUnNormPDFValues() const Retrieve the cached unnormalised likelihood values. Definition: LauAbsPdf.hh:425 TRandom * randomFun() Access the singleton random number generator with a particular seed. Definition: LauRandom.cc:34 virtual void setUnNormPDFVal(Double_t unNormPDFVal) Set the unnormalised likelihood. Definition: LauAbsPdf.hh:383 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:302 virtual Double_t getMinAbscissa() const Retrieve the minimum value of the (primary) abscissa. Definition: LauAbsPdf.hh:131 virtual Bool_t normWeightsDone() const Check whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:461 virtual Bool_t heightUpToDate() const Check if the maximum height of the PDF is up to date. Definition: LauAbsPdf.hh:278 File containing declaration of LauParamFixed class. virtual const TString & varName() const Retrieve the name of the abscissa. Definition: LauAbsPdf.hh:94 virtual void withinNormCalc(Bool_t yorn) Set flag to track whether the calcNorm method is running. Definition: LauAbsPdf.hh:443 virtual void setRange(const TString &theVarName, Double_t minAbscissa, Double_t maxAbscissa) Set the range of the specified abscissa. Definition: LauAbsPdf.hh:370 virtual LauAbsRValue * findParameter(const TString &parName) Retrieve the specified parameter. Definition: LauAbsPdf.cc:395 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:259 virtual UInt_t nParameters() const Retrieve the number of PDF parameters. Definition: LauAbsPdf.hh:106 virtual const std::vector< LauAbscissas > & normAbscissas() const Retrieve the abscissa points used for normalisation. Definition: LauAbsPdf.hh:476 Bool_t normWeightsDone_ Whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:541 virtual Double_t getUnNormLikelihood() const Retrieve the unnormalised likelihood value. Definition: LauAbsPdf.hh:210 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:227 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:296 virtual void setMinAbscissa(const TString &theVarName, Double_t minAbscissa) Set the minimum value of the specified abscissa. Definition: LauAbsPdf.cc:199 virtual LauFitData generate(const LauKinematics *kinematics) Generate an event from the PDF. Definition: LauAbsPdf.cc:312 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:45 virtual Bool_t withinNormCalc() const Check whether the calcNorm method is running. Definition: LauAbsPdf.hh:437 LauAbsPdf(const TString &theVarName, const std::vector< LauAbsRValue * > ¶ms, Double_t minAbscissa, Double_t maxAbscissa) Constructor for a 1D PDF. Definition: LauAbsPdf.cc:44 virtual void heightUpToDate(Bool_t hutd) Set whether the height is up to date. Definition: LauAbsPdf.hh:284 virtual TRandom * getRandomFun() const Retrieve the random function used for MC generation. Definition: LauAbsPdf.hh:401 virtual const std::vector< LauAbscissas > & getAbscissas() const Retrieve the abscissa(s) Definition: LauAbsPdf.hh:413 virtual void normWeightsDone(Bool_t yorn) Set whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:467 Definition: LauAbsPdf.hh:63 virtual void cachePDF(Bool_t doCachePDF) Set whether the PDF is to be cached. Definition: LauAbsPdf.hh:321 virtual void setMaxAbscissa(const TString &theVarName, Double_t maxAbscissa) Set the maximum value of the specified abscissa. Definition: LauAbsPdf.cc:213 virtual LauFitData getMinAbscissas() const Retrieve the minimum values of all the abscissas. Definition: LauAbsPdf.cc:161 virtual LauFitData getRanges() const Retrieve the ranges of all the abscissas. Definition: LauAbsPdf.cc:183 File containing declaration of LauAbsRValue class. virtual void integMethod(IntMethod method) Set the integration method used to normalise the PDF. Definition: LauAbsPdf.hh:314 File containing declaration of LauParameter class. virtual std::vector< TString > varNames() const Retrieve the names of the abscissas. Definition: LauAbsPdf.cc:117 virtual Double_t getMaxAbscissa() const Retrieve the maximum value of the (primary) abscissa. Definition: LauAbsPdf.hh:137 virtual Bool_t isDPDependent() const Specifies whether or not the PDF is DP dependent. Definition: LauAbsPdf.hh:125 Bool_t withinNormCalc_ Flag to keep track of whether the calcNorm method is running. Definition: LauAbsPdf.hh:535 virtual void addParameters(std::vector< LauAbsRValue * > ¶ms) Add parameters to the PDF. Definition: LauAbsPdf.cc:437 std::vector< Double_t > unNormPDFValues_ Cached unnormalised likelihood values. Definition: LauAbsPdf.hh:519 virtual std::vector< LauAbscissas > & getAbscissas() Retrieve the abscissa(s) Definition: LauAbsPdf.hh:407 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:253 IntMethod integMethod_ The integration method used for normalising the PDF. Definition: LauAbsPdf.hh:532 virtual void withinGeneration(Bool_t yorn) Set flag to track whether the generate method is running. Definition: LauAbsPdf.hh:455 virtual Bool_t withinGeneration() const Check whether the generate method is running. Definition: LauAbsPdf.hh:449 virtual const std::vector< Double_t > & normWeights() const Retrieve the weights used for normalisation. Definition: LauAbsPdf.hh:482 virtual LauFitData getMaxAbscissas() const Retrieve the maximum values of all the abscissas. Definition: LauAbsPdf.cc:172 virtual std::vector< Double_t > & getUnNormPDFValues() Retrieve the cached unnormalised likelihood values. Definition: LauAbsPdf.hh:419 virtual Double_t getLikelihood() const Retrieve the normalised likelihood value. Definition: LauAbsPdf.cc:368 virtual Double_t getRange(const TString &theVarName) const Retrieve the range of the specified abscissa. Definition: LauAbsPdf.hh:164 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)=0 Calculate the likelihood (and all associated information) given value(s) of the abscissa(s) ... Definition: LauAbsPdf.hh:64 Bool_t withinGeneration_ Flag to keep track of whether the generate method is running. Definition: LauAbsPdf.hh:538 virtual void getNormWeights() Calculate the weights and abscissas used for normalisation. Definition: LauAbsPdf.cc:484 virtual IntMethod integMethod() const Retrieve the integration method used to normalise the PDF. Definition: LauAbsPdf.hh:308 virtual UInt_t nFixedParameters() const Retrieve the number of fixed PDF parameters. Definition: LauAbsPdf.cc:127 virtual void cacheInfo(const LauFitDataTree &inputData) Cache information from data. Definition: LauAbsPdf.cc:255 virtual Double_t getRange() const Retrieve the range of the (primary) abscissa. Definition: LauAbsPdf.hh:143 virtual void setRandomFun(TRandom *randomFun) Set the random function used for toy MC generation. Definition: LauAbsPdf.hh:247 Pure abstract base class for defining a parameter containing an R value. Definition: LauAbsRValue.hh:43 virtual Double_t integTrapezoid() Integrate the PDF using the simple trapezoid method. Definition: LauAbsPdf.cc:535 std::vector< Double_t > LauAbscissas The type used for containing multiple abscissa values. Definition: LauAbsPdf.hh:59 Generated by 1.8.5 |