laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauNovosibirskPdf.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2008 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 
35 #ifndef LAU_NOVOSIBIRSK_PDF
36 #define LAU_NOVOSIBIRSK_PDF
37 
38 #include "LauAbsPdf.hh"
39 #include "LauParameter.hh"
40 
41 #include "TRandom.h"
42 #include "TString.h"
43 
44 #include <vector>
45 
46 class LauNovosibirskPdf : public LauAbsPdf {
47 
48  public:
50 
56  LauNovosibirskPdf( const TString& theVarName,
57  const std::vector<LauAbsRValue*>& params,
58  Double_t minAbscissa,
59  Double_t maxAbscissa );
60 
62  virtual ~LauNovosibirskPdf();
63 
65 
68  virtual void calcLikelihoodInfo( const LauAbscissas& abscissas );
69 
71 
73 
76  virtual void calcPDFHeight( const LauKinematics* kinematics );
77 
78  protected:
79 
80  private:
83 
86 
93 
94  ClassDef( LauNovosibirskPdf, 0 ) // Define the Novosibirsk PDF
95 };
96 
97 #endif
LauAbsRValue * mean_
Gaussian mean.
File containing declaration of LauAbsPdf class.
virtual ~LauNovosibirskPdf()
Destructor.
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
LauAbsRValue * sigma_
Gaussian sigma.
Class for defining a Novosibirsk function PDF.
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:58
File containing declaration of LauParameter class.
LauNovosibirskPdf(const LauNovosibirskPdf &rhs)
Copy constructor (not implemented)
LauNovosibirskPdf(const TString &theVarName, const std::vector< LauAbsRValue * > &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:54
Pure abstract base class for defining a parameter containing an R value.
Definition: LauAbsRValue.hh:45
Class for calculating 3-body kinematic quantities.
LauAbsRValue * tail_
Gaussian tail.
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)
Calculate the likelihood (and intermediate info) for a given abscissa.
LauNovosibirskPdf & operator=(const LauNovosibirskPdf &rhs)
Copy assignment operator (not implemented)