LauDPDepGaussPdf.cc
Go to the documentation of this file.
32 LauDPDepGaussPdf::LauDPDepGaussPdf(const TString& theVarName, const std::vector<LauParameter*>& 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: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 Definition: LauDPDepGaussPdf.hh:45 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:278 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:441 File containing declaration of LauKinematics class. virtual TRandom * getRandomFun() const Retrieve the random function used for MC generation. Definition: LauAbsPdf.hh:472 File containing declaration of LauDPDepGaussPdf class. const std::vector< Double_t > sigmaCoeffs_ Coefficients of Gaussian sigma. Definition: LauDPDepGaussPdf.hh:122 const std::vector< Double_t > meanCoeffs_ Coefficients of Gaussian mean. Definition: LauDPDepGaussPdf.hh:120 Definition: LauDPDepGaussPdf.hh:40 Definition: LauDPDepGaussPdf.hh:44 virtual Double_t getMaxAbscissa() const Retrieve the maximum value of the (primary) abscissa. Definition: LauAbsPdf.hh:164 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. virtual LauParameter * findParameter(const TString &parName) Retrieve the specified parameter. Definition: LauAbsPdf.cc:381 LauDPDepGaussPdf(const TString &theVarName, const std::vector< LauParameter * > ¶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 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:315 Class for defining a Gaussian PDF (DP dependent). Definition: LauDPDepGaussPdf.hh:35 std::vector< Double_t > LauAbscissas The type used for containing multiple abscissa values. Definition: LauAbsPdf.hh:44 Generated by 1.8.5 |