laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
Lau2DSplineDP.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 
39 #ifndef LAU_2DSPLINE_DP
40 #define LAU_2DSPLINE_DP
41 
42 #include "Lau2DAbsHistDP.hh"
43 
44 class TH2;
45 class Lau2DCubicSpline;
46 class LauDaughters;
47 class LauKinematics;
48 
49 class Lau2DSplineDP : public Lau2DAbsHistDP {
50 
51  public:
53 
66  Lau2DSplineDP( const TH2* hist,
67  const LauDaughters* daughters,
68  Bool_t fluctuateBins = kFALSE,
69  Double_t avEff = -1.0,
70  Double_t avEffError = -1.0,
71  Bool_t useUpperHalfOnly = kFALSE,
72  Bool_t squareDP = kFALSE );
73 
75 
90  Lau2DSplineDP( const TH2* hist,
91  const TH2* errorHi,
92  const TH2* errorLo,
93  const LauDaughters* daughters,
94  Bool_t fluctuateBins = kFALSE,
95  Double_t avEff = -1.0,
96  Double_t avEffError = -1.0,
97  Bool_t useUpperHalfOnly = kFALSE,
98  Bool_t squareDP = kFALSE );
99 
101  virtual ~Lau2DSplineDP();
102 
104 
109  Double_t interpolateXY( Double_t x, Double_t y ) const;
110 
111  private:
114 
117 
120 
121  ClassDef( Lau2DSplineDP, 0 ) // 2D Spline utility class for DP analyses
122 };
123 
124 #endif
Abstract base class for defining a variation across a 2D DP based on a histogram.
Lau2DSplineDP(const Lau2DSplineDP &rhs)
Copy constructor - not implemented.
Lau2DSplineDP & operator=(const Lau2DSplineDP &rhs)
Copy assignment operator - not implemented.
virtual ~Lau2DSplineDP()
Destructor.
Class for defining a 2D cubic spline based on an input histogram.
File containing declaration of Lau2DAbsHistDP class.
Lau2DCubicSpline * spline_
A 2D cubic spline generated from the histogram.
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.
Class for defining variations across a 2D DP using a spline.
Double_t interpolateXY(Double_t x, Double_t y) const
Perform the interpolation.
Class for calculating 3-body kinematic quantities.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47