laura is hosted by Hepforge, IPPP Durham
Laura++  v1r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauArgusPdf.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_ARGUS_PDF
23 #define LAU_ARGUS_PDF
24 
25 #include <vector>
26 
27 #include "TString.h"
28 
29 #include "LauAbsPdf.hh"
30 
31 class LauParameter;
32 
33 
34 class LauArgusPdf : public LauAbsPdf {
35 
36  public:
38 
44  LauArgusPdf(const TString& theVarName, const std::vector<LauParameter*>& params, Double_t minAbscissa, Double_t maxAbscissa);
45 
47  virtual ~LauArgusPdf();
48 
49  //i! Copy constructor
50  LauArgusPdf(const LauArgusPdf& other);
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 
81  ClassDef(LauArgusPdf,0) // Define the ARGUS PDF
82 };
83 
84 #endif
virtual ~LauArgusPdf()
Destructor.
Definition: LauArgusPdf.cc:50
virtual void calcNorm()
Calculate the normalisation.
Definition: LauArgusPdf.cc:92
virtual void checkPositiveness()
Check that PDF is positive.
Definition: LauArgusPdf.hh:61
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
Definition: LauArgusPdf.cc:118
Class for defining the fit parameter objects.
Definition: LauParameter.hh:31
File containing declaration of LauAbsPdf class.
LauParameter * m0_
Endpoint of curve.
Definition: LauArgusPdf.hh:79
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)=0
Calculate the likelihood (and all associated information) given value(s) of the abscissa(s) ...
LauParameter * xi_
Shape of curve.
Definition: LauArgusPdf.hh:76
Class for defining the abstract interface for PDF classes.
Definition: LauAbsPdf.hh:40
Class for calculating 3-body kinematic quantities.
Class for defining an ARGUS PDF.
Definition: LauArgusPdf.hh:34
LauArgusPdf(const TString &theVarName, const std::vector< LauParameter * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
Definition: LauArgusPdf.cc:27
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)
Calculate the likelihood (and intermediate info) for a given abscissa.
Definition: LauArgusPdf.cc:62
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:44