laura is hosted by Hepforge, IPPP Durham
Laura++  v2r1
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<LauAbsRValue*>& 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 calcNorm();
63 
65 
68  virtual void calcPDFHeight( const LauKinematics* kinematics );
69 
70  protected:
71 
72  private:
75 
76  ClassDef(LauExponentialPdf,0) // Define the Exponential PDF
77 };
78 
79 #endif
LauExponentialPdf(const TString &theVarName, const std::vector< LauAbsRValue * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
LauAbsRValue * 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.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:33
File containing declaration of LauAbsPdf class.
Class for defining an Exponential PDF.
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:41
Class for calculating 3-body kinematic quantities.
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
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