LauDPDepSumPdf.cc
Go to the documentation of this file.
51 LauAbsPdf(pdf1 ? pdf1->varNames() : vector<TString>(), vector<LauAbsRValue*>(), pdf1 ? pdf1->getMinAbscissas() : LauFitData(), pdf1 ? pdf1->getMaxAbscissas() : LauFitData()),
70 dpDependence_->setEffHisto( dpHisto, kTRUE, kFALSE, 0.0, 0.0, upperHalf, daughters->squareDP() );
81 cerr<<"ERROR in LauDPDepSumPdf constructor: minimum abscissa values not the same for the two PDFs."<<endl;
85 cerr<<"ERROR in LauDPDepSumPdf constructor: maximum abscissa values not the same for the two PDFs."<<endl;
91 cerr<<"ERROR in LauDPDepSumPdf constructor: number of input variables not the same for the two PDFs."<<endl;
97 cerr<<"ERROR in LauDPDepSumPdf constructor: variable name(s) not the same for the two PDFs."<<endl;
125 LauAbsPdf(pdf1 ? pdf1->varNames() : vector<TString>(), vector<LauAbsRValue*>(), pdf1 ? pdf1->getMinAbscissas() : LauFitData(), pdf1 ? pdf1->getMaxAbscissas() : LauFitData()),
155 cerr<<"ERROR in LauDPDepSumPdf constructor: minimum abscissa values not the same for the two PDFs."<<endl;
159 cerr<<"ERROR in LauDPDepSumPdf constructor: maximum abscissa values not the same for the two PDFs."<<endl;
165 cerr<<"ERROR in LauDPDepSumPdf constructor: number of input variables not the same for the two PDFs."<<endl;
171 cerr<<"ERROR in LauDPDepSumPdf constructor: variable name(s) not the same for the two PDFs."<<endl;
272 for (std::vector<Double_t>::const_iterator iter = fracCoeffs_.begin(); iter != fracCoeffs_.end(); ++iter) {
352 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:342 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas) Calculate the likelihood (and intermediate info) for a given abscissa. Definition: LauDPDepSumPdf.cc:209 virtual void setUnNormPDFVal(Double_t unNormPDFVal) Set the unnormalised likelihood. Definition: LauAbsPdf.hh:383 virtual Double_t getMinAbscissa() const Retrieve the minimum value of the (primary) abscissa. Definition: LauAbsPdf.hh:131 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:48 virtual Bool_t heightUpToDate() const Check if the maximum height of the PDF is up to date. Definition: LauAbsPdf.hh:278 Definition: LauDPDepSumPdf.hh:53 ClassImp(LauAbsCoeffSet) virtual LauAbsRValue * findParameter(const TString &parName) Retrieve the specified parameter. Definition: LauAbsPdf.cc:395 Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:47 virtual UInt_t nParameters() const Retrieve the number of PDF parameters. Definition: LauAbsPdf.hh:106 Definition: LauDPDepSumPdf.hh:58 File containing declaration of LauDaughters class. void scaleFrac(Double_t dpPos) Scale fraction according to DP position. Definition: LauDPDepSumPdf.cc:269 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 LauAbsRValue * frac_ Fractional contribution of first PDF to the final PDF. Definition: LauDPDepSumPdf.hh:149 Class for defining a PDF that is the DP-dependent sum of two other PDFs. Definition: LauDPDepSumPdf.hh:48 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:45 Double_t distanceFromDPCentre() const Calculate the distance from the currently set (m13Sq, m23Sq) point to the centre of the Dalitz plot (... Definition: LauKinematics.cc:459 virtual Double_t unblindValue() const =0 The unblinded value of the parameter. Definition: LauDPDepSumPdf.hh:57 File containing declaration of LauDPDepSumPdf class. Definition: LauDPDepSumPdf.hh:55 Double_t calcEfficiency(const LauKinematics *kinematics) const Determine the efficiency for a given point in the Dalitz plot. Definition: LauEffModel.cc:268 Double_t calcThirdMassSq(const Double_t firstMassSq, const Double_t secondMassSq) const Calculate the third invariant mass square from the two provided (e.g. mjkSq from mijSq and mikSq) ... Definition: LauKinematics.cc:453 File containing declaration of LauParameter class. virtual void calcPDFHeight(const LauKinematics *kinematics) Calculate the PDF height. Definition: LauDPDepSumPdf.cc:285 virtual std::vector< TString > varNames() const Retrieve the names of the abscissas. Definition: LauAbsPdf.cc:117 const std::vector< Double_t > fracCoeffs_ Polynomial used to scale fraction. Definition: LauDPDepSumPdf.hh:156 virtual Double_t getMaxAbscissa() const Retrieve the maximum value of the (primary) abscissa. Definition: LauAbsPdf.hh:137 Double_t fracVal_ Fractional contribution of first PDF to the final PDF. Definition: LauDPDepSumPdf.hh:151 virtual Bool_t isDPDependent() const Specifies whether or not the PDF is DP dependent. Definition: LauAbsPdf.hh:125 virtual void addParameters(std::vector< LauAbsRValue * > ¶ms) Add parameters to the PDF. Definition: LauAbsPdf.cc:437 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 void updateKinematics(const Double_t m13Sq, const Double_t m23Sq) Update all kinematic quantities based on the DP co-ordinates m13Sq and m23Sq. Definition: LauKinematics.cc:100 const LauFitData & getData(UInt_t iEvt) const Retrieve the data for a given event. Definition: LauFitDataTree.cc:348 File containing declaration of LauEffModel class. Class that implements the efficiency description across the signal Dalitz plot. Definition: LauEffModel.hh:51 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. Bool_t haveBranch(const TString &name) const Check if the named branch is stored. Definition: LauFitDataTree.cc:273 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 Definition: LauDPDepSumPdf.hh:54 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 Generated by ![]() |