LauSumPdf.cc
Go to the documentation of this file.
43 LauAbsPdf(pdf1 ? pdf1->varNames() : std::vector<TString>(), std::vector<LauAbsRValue*>(), pdf1 ? pdf1->getMinAbscissas() : LauFitData(), pdf1 ? pdf1->getMaxAbscissas() : LauFitData()),
65 std::cerr << "ERROR in LauSumPdf constructor : minimum abscissa values not the same for the two PDFs." << std::endl;
69 std::cerr << "ERROR in LauSumPdf constructor : maximum abscissa values not the same for the two PDFs." << std::endl;
75 std::cerr << "ERROR in LauSumPdf constructor : number of input variables not the same for the two PDFs." << std::endl;
81 std::cerr << "ERROR in LauSumPdf constructor : variable name not the same for the two PDFs." << std::endl;
93 for (std::vector<LauAbsRValue*>::iterator iter = pdf1pars.begin(); iter != pdf1pars.end(); ++iter) {
96 for (std::vector<LauAbsRValue*>::iterator iter = pdf2pars.begin(); iter != pdf2pars.end(); ++iter) {
File containing declaration of LauSumPdf class. virtual void setUnNormPDFVal(Double_t unNormPDFVal) Set the unnormalised likelihood. Definition: LauAbsPdf.hh:383 virtual Bool_t heightUpToDate() const Check if the maximum height of the PDF is up to date. Definition: LauAbsPdf.hh:278 ClassImp(LauAbsCoeffSet) virtual UInt_t nParameters() const Retrieve the number of PDF parameters. Definition: LauAbsPdf.hh:106 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 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:45 virtual Double_t unblindValue() const =0 The unblinded value of the parameter. File containing declaration of LauParameter class. 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 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas) Calculate the likelihood (and intermediate info) for a given abscissa. Definition: LauSumPdf.cc:117 virtual Double_t getLikelihood() const Retrieve the normalised likelihood value. Definition: LauAbsPdf.cc:368 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)=0 Calculate the likelihood (and all associated information) given value(s) of the abscissa(s) ... File containing LauConstants namespace. LauAbsRValue * frac_ Fractional contribution of first PDF to the final PDF. Definition: LauSumPdf.hh:115 virtual void calcPDFHeight(const LauKinematics *kinematics) Calculate the PDF height. Definition: LauSumPdf.cc:144 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 Bool_t isDPDependent() const Boolean for the DP dependence of PDFs in the sum. Definition: LauSumPdf.hh:70 Pure abstract base class for defining a parameter containing an R value. Definition: LauAbsRValue.hh:43 std::vector< Double_t > LauAbscissas The type used for containing multiple abscissa values. Definition: LauAbsPdf.hh:59 virtual void cacheInfo(const LauFitDataTree &inputData) Cache information from data. Definition: LauSumPdf.cc:182 Generated by 1.8.5 |