LauDPDepCruijffPdf.cc
Go to the documentation of this file.
46 LauDPDepCruijffPdf::LauDPDepCruijffPdf(const TString& theVarName, const std::vector<LauAbsRValue*>& params,
78 cerr<<"ERROR in LauDPDepCruijffPdf::LauDPDepCruijffPdf : Have not been provided with a valid DP kinematics object."<<endl;
92 if ((this->nParameters() != 5) || (mean_ == 0) || (sigmaR_ == 0) || (sigmaL_ == 0) || (alphaL_ == 0) || (alphaR_ == 0)) {
93 cerr<<"ERROR in LauDPDepCruijffPdf constructor: LauDPDepCruijffPdf requires 5 parameters: \"mean\", \"sigmaL\", \"sigmaR\", \"alphaR\" and \"alphaL\"."<<endl;
158 Double_t normFac = (sumMethod == GaussLegendre) ? this->integrGaussLegendre() : this->integTrapezoid();
241 for (std::vector<Double_t>::const_iterator iter = meanCoeffs_.begin(); iter != meanCoeffs_.end(); ++iter) {
248 for (std::vector<Double_t>::const_iterator iter = sigmaLCoeffs_.begin(); iter != sigmaLCoeffs_.end(); ++iter) {
255 for (std::vector<Double_t>::const_iterator iter = sigmaRCoeffs_.begin(); iter != sigmaRCoeffs_.end(); ++iter) {
262 for (std::vector<Double_t>::const_iterator iter = alphaLCoeffs_.begin(); iter != alphaLCoeffs_.end(); ++iter) {
269 for (std::vector<Double_t>::const_iterator iter = alphaRCoeffs_.begin(); iter != alphaRCoeffs_.end(); ++iter) {
Definition: LauDPDepCruijffPdf.hh:54 virtual Double_t integTrapezoid() Integrate the PDF using the simple trapezoid method. Definition: LauDPDepCruijffPdf.cc:201 Definition: LauDPDepCruijffPdf.hh:56 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 Definition: LauDPDepCruijffPdf.hh:58 virtual Bool_t normWeightsDone() const Check whether the normalisation weights have been calculated. Definition: LauAbsPdf.hh:461 ClassImp(LauAbsCoeffSet) const std::vector< Double_t > alphaLCoeffs_ Coefficients of alpha for the left Gaussian. Definition: LauDPDepCruijffPdf.hh:176 Class for defining a Cruijff PDF (with DP dependence). Definition: LauDPDepCruijffPdf.hh:49 Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:47 virtual const std::vector< LauAbscissas > & normAbscissas() const Retrieve the abscissa points used for normalisation. Definition: LauAbsPdf.hh:476 Double_t currentPDFValue(Double_t abscissa) const Current PDF value. Definition: LauDPDepCruijffPdf.cc:165 virtual Double_t getUnNormLikelihood() const Retrieve the unnormalised likelihood value. Definition: LauAbsPdf.hh:210 File containing declaration of LauDaughters class. void scalePars(Double_t dpPos) Scale parameters by their dependence on the DP position. Definition: LauDPDepCruijffPdf.cc:238 virtual Bool_t checkRange(const LauAbscissas &abscissas) const Check that all abscissas are within their allowed ranges. Definition: LauAbsPdf.cc:227 virtual Int_t nNormPoints() const Retrieve the number of points to integrate over when normalising. Definition: LauAbsPdf.hh:296 Definition: LauDPDepCruijffPdf.hh:55 Double_t distanceFromDPCentre() const Calculate the distance from the currently set (m13Sq, m23Sq) point to the centre of the Dalitz plot (... Definition: LauKinematics.cc:470 File containing declaration of LauKinematics class. virtual Double_t unblindValue() const =0 The unblinded value of the parameter. const std::vector< Double_t > sigmaLCoeffs_ Coefficients of sigma for the left Gaussian. Definition: LauDPDepCruijffPdf.hh:172 Definition: LauAbsPdf.hh:63 Definition: LauDPDepCruijffPdf.hh:59 const std::vector< Double_t > alphaRCoeffs_ Coefficients of alpha for the right Gaussian. Definition: LauDPDepCruijffPdf.hh:178 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:464 File containing declaration of LauDPDepCruijffPdf class. virtual Double_t getMaxAbscissa() const Retrieve the maximum value of the (primary) abscissa. Definition: LauAbsPdf.hh:137 const std::vector< Double_t > meanCoeffs_ Coefficients of Gaussian mean. Definition: LauDPDepCruijffPdf.hh:170 virtual const std::vector< Double_t > & normWeights() const Retrieve the weights used for normalisation. Definition: LauAbsPdf.hh:482 virtual Double_t integrGaussLegendre() Integrate the PDF using the Gauss-Legendre method. Definition: LauDPDepCruijffPdf.cc:181 File containing LauConstants namespace. virtual void getNormWeights() Calculate the weights and abscissas used for normalisation. Definition: LauAbsPdf.cc:484 virtual void calcPDFHeight(const LauKinematics *kinematics) Calculate the PDF height. Definition: LauDPDepCruijffPdf.cc:276 const std::vector< Double_t > sigmaRCoeffs_ Coefficients of sigma for the right Gaussian. Definition: LauDPDepCruijffPdf.hh:174 virtual IntMethod integMethod() const Retrieve the integration method used to normalise the PDF. Definition: LauAbsPdf.hh:308 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas) Calculate the likelihood (and intermediate info) for a given abscissa. Definition: LauDPDepCruijffPdf.cc:111 virtual Double_t getRange() const Retrieve the range of the (primary) abscissa. Definition: LauAbsPdf.hh:143 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 1.8.5 |