laura is hosted by Hepforge, IPPP Durham
Laura++  v3r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauGaussPdf.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 
21 #ifndef LAU_GAUSS_PDF
22 #define LAU_GAUSS_PDF
23 
24 #include <vector>
25 
26 #include "TString.h"
27 
28 #include "LauAbsPdf.hh"
29 
30 class LauParameter;
31 
32 
33 class LauGaussPdf : public LauAbsPdf {
34 
35  public:
37 
43  LauGaussPdf(const TString& theVarName, const std::vector<LauAbsRValue*>& params, Double_t minAbscissa, Double_t maxAbscissa);
44 
46  virtual ~LauGaussPdf();
47 
49 
52  virtual void calcLikelihoodInfo(const LauAbscissas& abscissas);
53 
55 
57  virtual void calcNorm();
58 
60 
63  virtual void calcPDFHeight( const LauKinematics* kinematics );
64 
65  protected:
66 
67  private:
69  LauGaussPdf(const LauGaussPdf& rhs);
70 
72  LauGaussPdf& operator=(const LauGaussPdf& rhs);
73 
78 
79  ClassDef(LauGaussPdf,0) // Define the Gaussian PDF
80 };
81 
82 #endif
Class for defining a Gaussian PDF.
Definition: LauGaussPdf.hh:33
virtual void calcNorm()
Calculate the normalisation.
Definition: LauGaussPdf.cc:92
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
Definition: LauGaussPdf.cc:109
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)
Calculate the likelihood (and intermediate info) for a given abscissa.
Definition: LauGaussPdf.cc:59
LauGaussPdf & operator=(const LauGaussPdf &rhs)
Copy assignment operator (not implemented)
Class for defining the fit parameter objects.
Definition: LauParameter.hh:35
LauGaussPdf(const TString &theVarName, const std::vector< LauAbsRValue * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
File containing declaration of LauAbsPdf class.
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)=0
Calculate the likelihood (and all associated information) given value(s) of the abscissa(s) ...
LauAbsRValue * mean_
Gaussian mean.
Definition: LauGaussPdf.hh:75
LauAbsRValue * sigma_
Gaussian sigma.
Definition: LauGaussPdf.hh:77
Class for defining the abstract interface for PDF classes.
Definition: LauAbsPdf.hh:41
Class for calculating 3-body kinematic quantities.
virtual ~LauGaussPdf()
Destructor.
Definition: LauGaussPdf.cc:54
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