laura is hosted by Hepforge, IPPP Durham
Laura++  v1r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauBifurcatedGaussPdf.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2006 - 2013.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 // Authors:
7 // Thomas Latham
8 // John Back
9 // Paul Harrison
10 
22 #ifndef LAU_BIFURCATED_GAUSS_PDF
23 #define LAU_BIFURCATED_GAUSS_PDF
24 
25 #include <vector>
26 
27 #include "TString.h"
28 
29 #include "LauAbsPdf.hh"
30 
31 class LauParameter;
32 
33 
35 
36  public:
38 
44  LauBifurcatedGaussPdf(const TString& theVarName, const std::vector<LauParameter*>& params, Double_t minAbscissa, Double_t maxAbscissa);
45 
47  virtual ~LauBifurcatedGaussPdf();
48 
51 
53 
56  virtual void calcLikelihoodInfo(const LauAbscissas& abscissas);
57 
59 
61  virtual void checkPositiveness() {}; // Nothing to check here.
62 
64  virtual void calcNorm();
65 
67 
70  virtual void calcPDFHeight( const LauKinematics* kinematics );
71 
72  protected:
73 
74  private:
77 
80 
83 
84  ClassDef(LauBifurcatedGaussPdf,0) // Define the Bifurcated Gaussian PDF
85 };
86 
87 #endif
LauParameter * sigmaL_
Sigma of left Gaussian.
virtual void checkPositiveness()
Check that PDF is positive.
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
virtual ~LauBifurcatedGaussPdf()
Destructor.
LauBifurcatedGaussPdf(const TString &theVarName, const std::vector< LauParameter * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:31
LauParameter * mean_
Gaussian mean.
File containing declaration of LauAbsPdf class.
Class for defining a bifurcated Gaussian PDF.
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)
Calculate the likelihood (and intermediate info) for a given abscissa.
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)=0
Calculate the likelihood (and all associated information) given value(s) of the abscissa(s) ...
Class for defining the abstract interface for PDF classes.
Definition: LauAbsPdf.hh:40
Class for calculating 3-body kinematic quantities.
LauParameter * sigmaR_
Sigma of right Gaussian.
virtual void calcNorm()
Calculate the normalisation.
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:44