laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauArgusPdf.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2006 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 
36 #ifndef LAU_ARGUS_PDF
37 #define LAU_ARGUS_PDF
38 
39 #include <vector>
40 
41 #include "TString.h"
42 
43 #include "LauAbsPdf.hh"
44 
45 class LauParameter;
46 
47 
48 class LauArgusPdf : public LauAbsPdf {
49 
50  public:
52 
58  LauArgusPdf(const TString& theVarName, const std::vector<LauAbsRValue*>& params, Double_t minAbscissa, Double_t maxAbscissa);
59 
61  virtual ~LauArgusPdf();
62 
64 
67  virtual void calcLikelihoodInfo(const LauAbscissas& abscissas);
68 
70 
72  virtual void calcNorm();
73 
75 
78  virtual void calcPDFHeight( const LauKinematics* kinematics );
79 
80  protected:
81 
82  private:
84  LauArgusPdf(const LauArgusPdf& other);
85 
87  LauArgusPdf& operator=(const LauArgusPdf& other);
88 
91 
94 
95  ClassDef(LauArgusPdf,0) // Define the ARGUS PDF
96 };
97 
98 #endif
LauArgusPdf(const TString &theVarName, const std::vector< LauAbsRValue * > &params, Double_t minAbscissa, Double_t maxAbscissa)
Constructor.
Definition: LauArgusPdf.cc:41
virtual ~LauArgusPdf()
Destructor.
Definition: LauArgusPdf.cc:64
virtual void calcNorm()
Calculate the normalisation.
Definition: LauArgusPdf.cc:99
virtual void calcPDFHeight(const LauKinematics *kinematics)
Calculate the PDF height.
Definition: LauArgusPdf.cc:125
LauAbsRValue * m0_
Endpoint of curve.
Definition: LauArgusPdf.hh:93
LauArgusPdf & operator=(const LauArgusPdf &other)
Copy assignment operator (not implemented)
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
File containing declaration of LauAbsPdf class.
LauAbsRValue * xi_
Shape of curve.
Definition: LauArgusPdf.hh:90
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:55
Class for calculating 3-body kinematic quantities.
Class for defining an ARGUS PDF.
Definition: LauArgusPdf.hh:48
Pure abstract base class for defining a parameter containing an R value.
Definition: LauAbsRValue.hh:43
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas)
Calculate the likelihood (and intermediate info) for a given abscissa.
Definition: LauArgusPdf.cc:69
std::vector< Double_t > LauAbscissas
The type used for containing multiple abscissa values.
Definition: LauAbsPdf.hh:59