LauDPDepGaussPdf.cc
Go to the documentation of this file.
32 LauDPDepGaussPdf::LauDPDepGaussPdf(const TString& theVarName, const std::vector<LauAbsRValue*>& params,
52 cerr<<"ERROR in LauDPDepGaussPdf::LauDPDepGaussPdf : Have not been provided with a valid DP kinematics object."<<endl;
64 cerr<<"ERROR in LauDPDepGaussPdf constructor: LauDPDepGaussPdf requires 2 parameters: \"mean\" and \"sigma\"."<<endl;
77 LauDPDepGaussPdf::LauDPDepGaussPdf(const LauDPDepGaussPdf& other) : LauAbsPdf(other.varName(), other.getParameters(), other.getMinAbscissa(), other.getMaxAbscissa()),
151 norm = LauConstants::rootPiBy2*sigmaVal_*(TMath::Erf((this->getMaxAbscissa() - meanVal_)/scale) - TMath::Erf((this->getMinAbscissa() - meanVal_)/scale));
162 for (std::vector<Double_t>::const_iterator iter = meanCoeffs_.begin(); iter != meanCoeffs_.end(); ++iter) {
169 for (std::vector<Double_t>::const_iterator iter = sigmaCoeffs_.begin(); iter != sigmaCoeffs_.end(); ++iter) {
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:432 virtual void setUnNormPDFVal(Double_t unNormPDFVal) Set the unnormalised likelihood. Definition: LauAbsPdf.hh:369 virtual Double_t getMinAbscissa() const Retrieve the minimum value of the (primary) abscissa. Definition: LauAbsPdf.hh:117 Definition: LauDPDepGaussPdf.hh:45 ClassImp(LauAbsCoeffSet) virtual LauAbsRValue * findParameter(const TString &parName) Retrieve the specified parameter. Definition: LauAbsPdf.cc:381 Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:33 virtual Double_t getUnNormLikelihood() const Retrieve the unnormalised likelihood value. Definition: LauAbsPdf.hh:196 LauDPDepGaussPdf(const TString &theVarName, const std::vector< LauAbsRValue * > ¶ms, Double_t minAbscissa, Double_t maxAbscissa, const LauDaughters *daughters, const std::vector< Double_t > &meanCoeffs, const std::vector< Double_t > &sigmaCoeffs, DPAxis dpAxis) Constructor. Definition: LauDPDepGaussPdf.cc:32 File containing declaration of LauDaughters class. virtual Bool_t checkRange(const LauAbscissas &abscissas) const Check that all abscissas are within their allowed ranges. Definition: LauAbsPdf.cc:213 Definition: LauDPDepGaussPdf.hh:41 Double_t distanceFromDPCentre() const Calculate the distance from the currently set (m13Sq, m23Sq) point to the centre of the Dalitz plot (... Definition: LauKinematics.cc:438 File containing declaration of LauKinematics class. virtual TRandom * getRandomFun() const Retrieve the random function used for MC generation. Definition: LauAbsPdf.hh:387 File containing declaration of LauDPDepGaussPdf class. const std::vector< Double_t > sigmaCoeffs_ Coefficients of Gaussian sigma. Definition: LauDPDepGaussPdf.hh:119 const std::vector< Double_t > meanCoeffs_ Coefficients of Gaussian mean. Definition: LauDPDepGaussPdf.hh:117 Definition: LauDPDepGaussPdf.hh:40 Definition: LauDPDepGaussPdf.hh:44 virtual Double_t getMaxAbscissa() const Retrieve the maximum value of the (primary) abscissa. Definition: LauAbsPdf.hh:123 Definition: LauDPDepGaussPdf.hh:42 virtual void calcPDFHeight(const LauKinematics *kinematics) Calculate the PDF height. Definition: LauDPDepGaussPdf.cc:176 virtual void calcLikelihoodInfo(const LauAbscissas &abscissas) Calculate the likelihood (and intermediate info) for a given abscissa. Definition: LauDPDepGaussPdf.cc:99 File containing LauConstants namespace. void scalePars(Double_t dpPos) Scale parameters by their dependence on the DP position. Definition: LauDPDepGaussPdf.cc:159 virtual void setRandomFun(TRandom *randomFun) Set the random function used for toy MC generation. Definition: LauAbsPdf.hh:233 Class for defining a Gaussian PDF (DP dependent). Definition: LauDPDepGaussPdf.hh:35 Pure abstract base class for defining a parameter containing an R value. Definition: LauAbsRValue.hh:29 std::vector< Double_t > LauAbscissas The type used for containing multiple abscissa values. Definition: LauAbsPdf.hh:45 Generated by 1.8.5 |