laura is hosted by Hepforge, IPPP Durham
Laura++  v1r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauNovosibirskPdf.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2008 - 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_NOVOSIBIRSK_PDF
22 #define LAU_NOVOSIBIRSK_PDF
23 
24 #include "TString.h"
25 #include "TRandom.h"
26 #include "LauAbsPdf.hh"
27 #include "LauParameter.hh"
28 
29 #include <vector>
30 
31 using std::vector;
32 
33 class LauNovosibirskPdf : public LauAbsPdf {
34 
35  public:
37 
43  LauNovosibirskPdf(const TString& theVarName, const vector<LauParameter*>& params, Double_t minAbscissa, Double_t maxAbscissa);
44 
46  virtual ~LauNovosibirskPdf();
47 
50 
52 
55  virtual void calcLikelihoodInfo(const LauAbscissas& abscissas);
56 
58 
60  virtual void checkPositiveness() {}; // Nothing to check here.
61 
63 
66  virtual void calcPDFHeight( const LauKinematics* kinematics );
67 
68  protected:
69 
70  private:
77 
78  ClassDef(LauNovosibirskPdf,0) // Define the Novosibirsk PDF
79 };
80 
81 #endif
LauParameter * tail_
Gaussian tail.
Class for defining a Novosibirsk function PDF.
virtual void checkPositiveness()
Check that PDF is positive.
LauNovosibirskPdf(const TString &theVarName, const vector< LauParameter * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
virtual ~LauNovosibirskPdf()
Destructor.
LauParameter * sigma_
Gaussian sigma.
File containing declaration of LauParameter class.
LauParameter * mean_
Gaussian mean.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:31
File containing declaration of LauAbsPdf class.
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.
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:44