24 #ifndef LAU_2DHIST_DP_PDF
25 #define LAU_2DHIST_DP_PDF
47 Bool_t useInterpolation = kTRUE, Bool_t fluctuateBins = kFALSE,
48 Bool_t useUpperHalfOnly = kFALSE, Bool_t squareDP = kFALSE);
Double_t minY_
The histogram y-axis minimum.
Double_t maxHeight_
The maximum height of 2D histogram.
const LauVetoes * vetoes_
Vetos within DP.
Double_t norm_
The histogram normalisation.
Double_t invBinYWidth_
The histogram y-axis inverse bin width.
Bool_t upperHalf_
Boolean for using the upper half of DP.
Double_t rangeX_
The histogram x-axis range.
Double_t maxX_
The histogram x-axis maximum.
Double_t interpolateXYNorm(Double_t x, Double_t y) const
Perform the interpolation and divide by the normalisation.
Class for defining a 2D DP histogram PDF.
Double_t getHistNorm() const
Retrieve PDF normalisation.
Int_t nBinsX_
The number of bins on the x-axis of the histogram.
Lau2DHistDPPdf(const TH2 *hist, LauKinematics *kinematics, const LauVetoes *vetoes, Bool_t useInterpolation=kTRUE, Bool_t fluctuateBins=kFALSE, Bool_t useUpperHalfOnly=kFALSE, Bool_t squareDP=kFALSE)
Constructor.
Double_t binXWidth_
The histogram x-axis bin width.
TH2 * hist_
The underlying histogram.
void checkNormalisation()
Check the normalisation calculation.
Double_t minX_
The histogram x-axis minimum.
virtual ~Lau2DHistDPPdf()
Destructor.
Bool_t useInterpolation_
Control boolean for using the linear interpolation.
Double_t rangeY_
The histogram y-axis range.
Double_t invBinXWidth_
The histogram x-axis inverse bin width.
Double_t getMaxHeight() const
Retrieve maximum height.
void doBinFluctuation()
Fluctuate the histogram bin contents in accordance with their errors.
Double_t getBinHistValue(Int_t xBinNo, Int_t yBinNo) const
Get the bin content from the histogram.
Class for calculating 3-body kinematic quantities.
Bool_t squareDP_
Boolean for using square DP variables.
Double_t maxY_
The histogram y-axis maximum.
void calcHistNorm()
Calculate the PDF normalisation.
Double_t binYWidth_
The histogram y-axis bin width.
Int_t nBinsY_
The number of bins on the y-axis of the histogram.
Double_t interpolateXY(Double_t x, Double_t y) const
Perform the interpolation (unnormalised)
Class for defining vetoes within the Dalitz plot.
LauKinematics * kinematics_
DP kinematics.
void calcMaxHeight()
Calculate maximum height.