laura is hosted by Hepforge, IPPP Durham
Laura++  v2r1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauBifurcatedGaussPdf.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_BIFURCATED_GAUSS_PDF
23 #define LAU_BIFURCATED_GAUSS_PDF
24 
25 #include <vector>
26 
27 #include "TString.h"
28 
29 #include "LauAbsPdf.hh"
30 
31 class LauParameter;
32 
33 
35 
36  public:
38 
44  LauBifurcatedGaussPdf(const TString& theVarName, const std::vector<LauAbsRValue*>& params, Double_t minAbscissa, Double_t maxAbscissa);
45 
47  virtual ~LauBifurcatedGaussPdf();
48 
51 
53 
56  virtual void calcLikelihoodInfo(const LauAbscissas& abscissas);
57 
59 
61  virtual void calcNorm();
62 
64 
67  virtual void calcPDFHeight( const LauKinematics* kinematics );
68 
69  protected:
70 
71  private:
74 
77 
80 
81  ClassDef(LauBifurcatedGaussPdf,0) // Define the Bifurcated Gaussian PDF
82 };
83 
84 #endif
LauAbsRValue * sigmaL_
Sigma of left Gaussian.
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
virtual ~LauBifurcatedGaussPdf()
Destructor.
LauBifurcatedGaussPdf(const TString &theVarName, const std::vector< LauAbsRValue * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:33
File containing declaration of LauAbsPdf class.
Class for defining a bifurcated Gaussian PDF.
LauAbsRValue * sigmaR_
Sigma of right Gaussian.
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) ...
LauAbsRValue * mean_
Gaussian mean.
Class for defining the abstract interface for PDF classes.
Definition: LauAbsPdf.hh:41
Class for calculating 3-body kinematic quantities.
virtual void calcNorm()
Calculate the normalisation.
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