laura is hosted by Hepforge, IPPP Durham
Laura++  v1r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauExponentialPdf.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2011 - 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 
23 #ifndef LAU_EXPONENTIAL_PDF
24 #define LAU_EXPONENTIAL_PDF
25 
26 #include <vector>
27 
28 #include "TString.h"
29 
30 #include "LauAbsPdf.hh"
31 
32 class LauParameter;
33 
34 
35 class LauExponentialPdf : public LauAbsPdf {
36 
37  public:
39 
45  LauExponentialPdf(const TString& theVarName, const std::vector<LauParameter*>& params, Double_t minAbscissa, Double_t maxAbscissa);
46 
48  virtual ~LauExponentialPdf();
49 
52 
54 
57  virtual void calcLikelihoodInfo(const LauAbscissas& abscissas);
58 
60 
62  virtual void checkPositiveness() {}; // Nothing to check here.
63 
65  virtual void calcNorm();
66 
68 
71  virtual void calcPDFHeight( const LauKinematics* kinematics );
72 
73  protected:
74 
75  private:
78 
79  ClassDef(LauExponentialPdf,0) // Define the Exponential PDF
80 };
81 
82 #endif
LauParameter * slope_
Exponential slope ie exp(slope*x)
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)
Calculate the likelihood (and intermediate info) for a given abscissa.
virtual void calcNorm()
Calculate the normalisation.
virtual void checkPositiveness()
Check that PDF is positive.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:31
File containing declaration of LauAbsPdf class.
Class for defining an Exponential PDF.
LauExponentialPdf(const TString &theVarName, const std::vector< LauParameter * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)=0
Calculate the likelihood (and all associated information) given value(s) of the abscissa(s) ...
virtual ~LauExponentialPdf()
Destructor.
Class for defining the abstract interface for PDF classes.
Definition: LauAbsPdf.hh:40
Class for calculating 3-body kinematic quantities.
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:44