laura is hosted by Hepforge, IPPP Durham
Laura++  v3r4
A maximum likelihood fitting package for performing Dalitz-plot analysis.
Lau2DAbsDPPdf.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2014 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_2DABS_DP_PDF
36 #define LAU_2DABS_DP_PDF
37 
38 #include "Rtypes.h"
39 
41 
42  public:
45 
47  virtual ~Lau2DAbsDPPdf() {}
48 
50  virtual Double_t getMaxHeight() const=0;
51 
53  virtual Double_t getHistNorm() const=0;
54 
56 
61  virtual Double_t interpolateXY(Double_t x, Double_t y) const=0;
62 
64 
69  virtual Double_t interpolateXYNorm(Double_t x, Double_t y) const=0;
70 
71  private:
73  Lau2DAbsDPPdf( const Lau2DAbsDPPdf& rhs );
74 
77 
78  ClassDef(Lau2DAbsDPPdf,0) // Abstract base class for 2D DP variation
79 };
80 
81 #endif
Pure abstract base class for defining a variation across a 2D DP.
virtual Double_t getHistNorm() const =0
Retrieve PDF normalisation.
virtual Double_t getMaxHeight() const =0
Retrieve maximum height.
virtual Double_t interpolateXY(Double_t x, Double_t y) const =0
Perform the interpolation (unnormalised)
virtual Double_t interpolateXYNorm(Double_t x, Double_t y) const =0
Perform the interpolation and divide by the normalisation.
Lau2DAbsDPPdf()
Constructor.
Lau2DAbsDPPdf & operator=(const Lau2DAbsDPPdf &rhs)
Copy assignment operator - not implemented.
virtual ~Lau2DAbsDPPdf()
Destructor.