laura is hosted by Hepforge, IPPP Durham
Laura++  v3r0p1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
Lau2DSplineDP.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 
25 #ifndef LAU_2DSPLINE_DP
26 #define LAU_2DSPLINE_DP
27 
28 #include "Lau2DAbsHistDP.hh"
29 
30 class TH2;
31 class Lau2DCubicSpline;
32 class LauDaughters;
33 class LauKinematics;
34 
35 class Lau2DSplineDP : public Lau2DAbsHistDP {
36 
37  public:
39 
50  Lau2DSplineDP(const TH2* hist, const LauDaughters* daughters,
51  Bool_t fluctuateBins = kFALSE, Double_t avEff = -1.0,
52  Double_t avEffError = -1.0, Bool_t useUpperHalfOnly = kFALSE, Bool_t squareDP = kFALSE);
53 
55 
68  Lau2DSplineDP(const TH2* hist, const TH2* errorHi, const TH2* errorLo, const LauDaughters* daughters,
69  Bool_t fluctuateBins = kFALSE, Double_t avEff = -1.0,
70  Double_t avEffError = -1.0, Bool_t useUpperHalfOnly = kFALSE, Bool_t squareDP = kFALSE);
71 
73  virtual ~Lau2DSplineDP();
74 
76 
81  Double_t interpolateXY(Double_t x, Double_t y) const;
82 
83  private:
85  Lau2DSplineDP( const Lau2DSplineDP& rhs );
86 
89 
92 
93  ClassDef(Lau2DSplineDP,0) // 2D Spline utility class for DP analyses
94 };
95 
96 #endif
Double_t interpolateXY(Double_t x, Double_t y) const
Perform the interpolation.
virtual ~Lau2DSplineDP()
Destructor.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
Class for defining a 2D cubic spline based on an input histogram.
Abstract base class for defining a variation across a 2D DP based on a histogram. ...
File containing declaration of Lau2DAbsHistDP class.
Lau2DSplineDP(const TH2 *hist, const LauDaughters *daughters, Bool_t fluctuateBins=kFALSE, Double_t avEff=-1.0, Double_t avEffError=-1.0, Bool_t useUpperHalfOnly=kFALSE, Bool_t squareDP=kFALSE)
Constructor.
Lau2DSplineDP & operator=(const Lau2DSplineDP &rhs)
Copy assignment operator - not implemented.
Class for calculating 3-body kinematic quantities.
Lau2DCubicSpline * spline_
A 2D cubic spline generated from the histogram.
Class for defining variations across a 2D DP using a spline.