laura is hosted by Hepforge, IPPP Durham
Laura++  v3r2
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<LauAbsRValue*>& 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 calcNorm();
64 
66 
69  virtual void calcPDFHeight( const LauKinematics* kinematics );
70 
71  protected:
72 
73  private:
78 
79  ClassDef(LauSigmoidPdf,0) // Define the Sigmoid PDF
80 };
81 
82 #endif
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
Class for defining a generalised sigmoid PDF.
LauSigmoidPdf(const TString &theVarName, const std::vector< LauAbsRValue * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
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:35
LauAbsRValue * b_
Parameter b.
File containing declaration of LauAbsPdf class.
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:41
Class for calculating 3-body kinematic quantities.
LauAbsRValue * a_
Parameter a.
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