laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauSigmoidPdf.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2012 University of Warwick
4 
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */
17 
18 /*
19 Laura++ package authors:
20 John Back
21 Paul Harrison
22 Thomas Latham
23 */
24 
37 #ifndef LAU_SIGMOID_PDF
38 #define LAU_SIGMOID_PDF
39 
40 #include "LauAbsPdf.hh"
41 
42 #include "TString.h"
43 
44 #include <vector>
45 
46 class LauParameter;
47 
48 class LauSigmoidPdf : public LauAbsPdf {
49 
50  public:
52 
58  LauSigmoidPdf( const TString& theVarName,
59  const std::vector<LauAbsRValue*>& params,
60  Double_t minAbscissa,
61  Double_t maxAbscissa );
62 
64  virtual ~LauSigmoidPdf();
65 
67  LauSigmoidPdf( const LauSigmoidPdf& other );
68 
70 
73  virtual void calcLikelihoodInfo( const LauAbscissas& abscissas );
74 
76 
78  virtual void calcNorm();
79 
81 
84  virtual void calcPDFHeight( const LauKinematics* kinematics );
85 
86  protected:
87 
88  private:
93 
94  ClassDef( LauSigmoidPdf, 0 ) // Define the Sigmoid PDF
95 };
96 
97 #endif
File containing declaration of LauAbsPdf class.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)
Calculate the likelihood (and intermediate info) for a given abscissa.
Class for defining a generalised sigmoid PDF.
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:58
virtual void calcNorm()
Calculate the normalisation.
virtual ~LauSigmoidPdf()
Destructor.
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:54
Pure abstract base class for defining a parameter containing an R value.
Definition: LauAbsRValue.hh:45
LauAbsRValue * b_
Parameter b.
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
LauAbsRValue * a_
Parameter a.
Class for calculating 3-body kinematic quantities.
LauSigmoidPdf(const TString &theVarName, const std::vector< LauAbsRValue * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.