LauDPDepSumPdf.cc
Go to the documentation of this file.
37 LauAbsPdf(pdf1 ? pdf1->varNames() : vector<TString>(), vector<LauParameter*>(), pdf1 ? pdf1->getMinAbscissas() : LauFitData(), pdf1 ? pdf1->getMaxAbscissas() : LauFitData()),
56 dpDependence_->setEffHisto( dpHisto, kTRUE, kFALSE, 0.0, 0.0, upperHalf, daughters->squareDP() );
67 cerr<<"ERROR in LauDPDepSumPdf constructor: minimum abscissa values not the same for the two PDFs."<<endl;
71 cerr<<"ERROR in LauDPDepSumPdf constructor: maximum abscissa values not the same for the two PDFs."<<endl;
77 cerr<<"ERROR in LauDPDepSumPdf constructor: number of input variables not the same for the two PDFs."<<endl;
83 cerr<<"ERROR in LauDPDepSumPdf constructor: variable name(s) not the same for the two PDFs."<<endl;
111 LauAbsPdf(pdf1 ? pdf1->varNames() : vector<TString>(), vector<LauParameter*>(), pdf1 ? pdf1->getMinAbscissas() : LauFitData(), pdf1 ? pdf1->getMaxAbscissas() : LauFitData()),
141 cerr<<"ERROR in LauDPDepSumPdf constructor: minimum abscissa values not the same for the two PDFs."<<endl;
145 cerr<<"ERROR in LauDPDepSumPdf constructor: maximum abscissa values not the same for the two PDFs."<<endl;
151 cerr<<"ERROR in LauDPDepSumPdf constructor: number of input variables not the same for the two PDFs."<<endl;
157 cerr<<"ERROR in LauDPDepSumPdf constructor: variable name(s) not the same for the two PDFs."<<endl;
195 /*LauDPDepSumPdf::LauDPDepSumPdf(const LauDPDepSumPdf& other) : LauAbsPdf(other.varName(), other.getParameters(), other.getMinAbscissa(), other.getMaxAbscissa()),
274 for (std::vector<Double_t>::const_iterator iter = fracCoeffs_.begin(); iter != fracCoeffs_.end(); ++iter) {
360 cerr<<"ERROR in LauDPDepSumPdf::cacheInfo : Input data does not contain Dalitz plot variables m13Sq and/or m23Sq."<<endl;
virtual void cacheInfo(const LauFitDataTree &inputData) Cache information from data. Definition: LauDPDepSumPdf.cc:350 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas) Calculate the likelihood (and intermediate info) for a given abscissa. Definition: LauDPDepSumPdf.cc:211 Double_t calcThirdMassSq(Double_t firstMassSq, Double_t secondMassSq) const Calculate the third invariant mass square from the two provided (e.g. mjkSq from mijSq and mikSq) ... Definition: LauKinematics.cc:435 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 LauDPDepSumPdf(LauAbsPdf *pdf1, LauAbsPdf *pdf2, const LauDaughters *daughters, const TH2 *dpHisto, Bool_t upperHalf=kFALSE, Bool_t useSpline=kFALSE) Constructor - fraction determined by 2D histogram. Definition: LauDPDepSumPdf.cc:34 virtual Bool_t heightUpToDate() const Check if the maximum height of the PDF is up to date. Definition: LauAbsPdf.hh:349 Definition: LauDPDepSumPdf.hh:39 virtual void addParameters(std::vector< LauParameter * > ¶ms) Add parameters to the PDF. Definition: LauAbsPdf.cc:522 Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:33 virtual UInt_t nParameters() const Retrieve the number of PDF parameters. Definition: LauAbsPdf.hh:91 Definition: LauDPDepSumPdf.hh:44 File containing declaration of LauDaughters class. void scaleFrac(Double_t dpPos) Scale fraction according to DP position. Definition: LauDPDepSumPdf.cc:271 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 LauParameter * frac_ Fractional contribution of first PDF to the final PDF. Definition: LauDPDepSumPdf.hh:138 virtual Bool_t checkRange(const LauAbscissas &abscissas) const Check that all abscissas are within their allowed ranges. Definition: LauAbsPdf.cc:213 Class for defining a PDF that is the DP-dependent sum of two other PDFs. Definition: LauDPDepSumPdf.hh:34 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:31 Double_t distanceFromDPCentre() const Calculate the distance from the currently set (m13Sq, m23Sq) point to the centre of the Dalitz plot (... Definition: LauKinematics.cc:441 void updateKinematics(Double_t m13Sq, Double_t m23Sq) Update all kinematic quantities based on the DP co-ordinates m13Sq and m23Sq. Definition: LauKinematics.cc:85 Definition: LauDPDepSumPdf.hh:43 File containing declaration of LauDPDepSumPdf class. Definition: LauDPDepSumPdf.hh:41 Double_t calcEfficiency(const LauKinematics *kinematics) const Determine the efficiency for a given point in the Dalitz plot. Definition: LauEffModel.cc:130 File containing declaration of LauParameter class. virtual void calcPDFHeight(const LauKinematics *kinematics) Calculate the PDF height. Definition: LauDPDepSumPdf.cc:287 virtual std::vector< TString > varNames() const Retrieve the names of the abscissas. Definition: LauAbsPdf.cc:103 const std::vector< Double_t > fracCoeffs_ Polynomial used to scale fraction. Definition: LauDPDepSumPdf.hh:145 virtual Double_t getMaxAbscissa() const Retrieve the maximum value of the (primary) abscissa. Definition: LauAbsPdf.hh:164 Double_t fracVal_ Fractional contribution of first PDF to the final PDF. Definition: LauDPDepSumPdf.hh:140 virtual Bool_t isDPDependent() const Specifies whether or not the PDF is DP dependent. Definition: LauAbsPdf.hh:110 const LauFitData & getData(UInt_t iEvt) const Retrieve the data for a given event. Definition: LauFitDataTree.cc:312 File containing declaration of LauEffModel class. Class that implements the efficiency description across the signal Dalitz plot. Definition: LauEffModel.hh:37 virtual Double_t getLikelihood() const Retrieve the normalised likelihood value. Definition: LauAbsPdf.cc:354 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. virtual LauParameter * findParameter(const TString &parName) Retrieve the specified parameter. Definition: LauAbsPdf.cc:381 Bool_t haveBranch(const TString &name) const Check if the named branch is stored. Definition: LauFitDataTree.cc:237 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 Definition: LauDPDepSumPdf.hh:40 std::vector< Double_t > LauAbscissas The type used for containing multiple abscissa values. Definition: LauAbsPdf.hh:44 Generated by 1.8.5 |