laura is hosted by Hepforge, IPPP Durham
Laura++  v3r4
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 
64  Lau2DSplineDP(const TH2* hist, const LauDaughters* daughters,
65  Bool_t fluctuateBins = kFALSE, Double_t avEff = -1.0,
66  Double_t avEffError = -1.0, Bool_t useUpperHalfOnly = kFALSE, Bool_t squareDP = kFALSE);
67 
69 
82  Lau2DSplineDP(const TH2* hist, const TH2* errorHi, const TH2* errorLo, const LauDaughters* daughters,
83  Bool_t fluctuateBins = kFALSE, Double_t avEff = -1.0,
84  Double_t avEffError = -1.0, Bool_t useUpperHalfOnly = kFALSE, Bool_t squareDP = kFALSE);
85 
87  virtual ~Lau2DSplineDP();
88 
90 
95  Double_t interpolateXY(Double_t x, Double_t y) const;
96 
97  private:
99  Lau2DSplineDP( const Lau2DSplineDP& rhs );
100 
103 
106 
107  ClassDef(Lau2DSplineDP,0) // 2D Spline utility class for DP analyses
108 };
109 
110 #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:47
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.