laura is hosted by Hepforge, IPPP Durham
Laura++  v1r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauSigmoidPdf.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2012 - 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 
24 #ifndef LAU_SIGMOID_PDF
25 #define LAU_SIGMOID_PDF
26 
27 #include <vector>
28 
29 #include "TString.h"
30 
31 #include "LauAbsPdf.hh"
32 
33 class LauParameter;
34 
35 
36 class LauSigmoidPdf : public LauAbsPdf {
37 
38  public:
40 
46  LauSigmoidPdf(const TString& theVarName, const std::vector<LauParameter*>& params, Double_t minAbscissa, Double_t maxAbscissa);
47 
49  virtual ~LauSigmoidPdf();
50 
52  LauSigmoidPdf(const LauSigmoidPdf& other);
53 
55 
58  virtual void calcLikelihoodInfo(const LauAbscissas& abscissas);
59 
61 
63  virtual void checkPositiveness() {}; // Nothing to check here.
64 
66  virtual void calcNorm();
67 
69 
72  virtual void calcPDFHeight( const LauKinematics* kinematics );
73 
74  protected:
75 
76  private:
81 
82  ClassDef(LauSigmoidPdf,0) // Define the Sigmoid PDF
83 };
84 
85 #endif
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
Class for defining a generalised sigmoid PDF.
LauParameter * b_
Parameter b.
virtual ~LauSigmoidPdf()
Destructor.
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:31
File containing declaration of LauAbsPdf class.
LauParameter * a_
Parameter a.
LauSigmoidPdf(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) ...
Class for defining the abstract interface for PDF classes.
Definition: LauAbsPdf.hh:40
Class for calculating 3-body kinematic quantities.
virtual void checkPositiveness()
Check that PDF is positive.
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:44