laura is hosted by Hepforge, IPPP Durham
Laura++  v3r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.
Lau2DAbsDP.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2004 - 2013.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 // Authors:
7 // Thomas Latham
8 // John Back
9 // Paul Harrison
10 
21 #ifndef LAU_2DABS_DP
22 #define LAU_2DABS_DP
23 
24 #include "Rtypes.h"
25 
26 
27 class Lau2DAbsDP {
28 
29  public:
32 
34  virtual ~Lau2DAbsDP() {}
35 
37 
42  virtual Double_t interpolateXY(Double_t x, Double_t y) const=0;
43 
45  /*
46  \return kTRUE if the square DP is being used, kFALSE otherwise
47  */
48  virtual Bool_t usingSquareDP() const=0;
49 
50  private:
52  Lau2DAbsDP( const Lau2DAbsDP& rhs );
53 
55  Lau2DAbsDP& operator=(const Lau2DAbsDP& rhs);
56 
57  ClassDef(Lau2DAbsDP,0) // Abstract base class for 2D DP variation
58 };
59 
60 #endif
Pure abstract base class for defining a variation across a 2D DP.
Definition: Lau2DAbsDP.hh:27
virtual ~Lau2DAbsDP()
Destructor.
Definition: Lau2DAbsDP.hh:34
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:31