laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
Lau2DAbsDP.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2013 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
36 #define LAU_2DABS_DP
37 
38 #include "Rtypes.h"
39 
40 
41 class Lau2DAbsDP {
42 
43  public:
46 
48  virtual ~Lau2DAbsDP() {}
49 
51 
56  virtual Double_t interpolateXY(Double_t x, Double_t y) const=0;
57 
59  /*
60  \return kTRUE if the square DP is being used, kFALSE otherwise
61  */
62  virtual Bool_t usingSquareDP() const=0;
63 
64  private:
66  Lau2DAbsDP( const Lau2DAbsDP& rhs );
67 
69  Lau2DAbsDP& operator=(const Lau2DAbsDP& rhs);
70 
71  ClassDef(Lau2DAbsDP,0) // Abstract base class for 2D DP variation
72 };
73 
74 #endif
Pure abstract base class for defining a variation across a 2D DP.
Definition: Lau2DAbsDP.hh:41
virtual ~Lau2DAbsDP()
Destructor.
Definition: Lau2DAbsDP.hh:48
virtual Double_t interpolateXY(Double_t x, Double_t y) const =0
Perform the interpolation.
Lau2DAbsDP & operator=(const Lau2DAbsDP &rhs)
Copy assignment operator - not implemented.
virtual Bool_t usingSquareDP() const =0
Determine whether the histogram is defined in the square DP.
Lau2DAbsDP()
Constructor.
Definition: Lau2DAbsDP.hh:45