LauEffModel.cc
Go to the documentation of this file.
42 cerr << "ERROR in LauEffModel Constructor : invalid pointer to daughters object supplied." << endl;
158 // If we're using a spline then out-of-range efficiencies can be caused by adjacent bins that all contain a value of either zero or one.
159 // The spline requires the efficiency, its first derivatives and the mixed second derivative to be continuous and to match the input histogram
160 // at the bin centres. Derivatives are calculated using a finite difference approximation taking the difference between the neighbouring bins.
161 // If two bins are zero but the third is not then the second bin will have a positive first derivative causing the spline to dip below zero
162 // between the two zero bins to remain smooth. The analogous case with adjacent maximised bins will cause peaks above one. Such dips are
166 std::cerr << "WARNING in LauEffModel::calcEfficiency : Efficiency " << eff << " is less than 0 - setting to 0. You may want to check your histogram!" << std::endl
167 << " : If you are using a spline then this could be caused by adjacent empty bins. Further warnings will be suppressed." << std::endl;
173 std::cerr << "WARNING in LauEffModel::calcEfficiency : Efficiency " << eff << " is greater than 1 - setting to 1. You may want to check your histogram!" << std::endl
174 << " : If you are using a spline then this could be caused by adjacent full bins. Further warnings will be suppressed." << std::endl;
File containing declaration of Lau2DSplineDP class. void setEffHisto(const TH2 *effHisto, Bool_t useInterpolation=kTRUE, Bool_t fluctuateBins=kFALSE, Double_t avEff=-1.0, Double_t absError=-1.0, Bool_t useUpperHalfOnly=kFALSE, Bool_t squareDP=kFALSE) Set the efficiency variation across the phase space using a predetermined 2D histogram. Definition: LauEffModel.cc:63 Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:33 File containing declaration of LauDaughters class. virtual Double_t interpolateXY(Double_t x, Double_t y) const =0 Perform the interpolation. Double_t getEffHistValue(Double_t xVal, Double_t yVal) const Get the efficiency from a two-dimensional histogram by interpolating in x and y. Definition: LauEffModel.cc:118 File containing declaration of LauKinematics class. Bool_t passVeto(const LauKinematics *kinematics) const Determine whether the given DP position is outside the vetoes. Definition: LauEffModel.cc:183 Double_t calcEfficiency(const LauKinematics *kinematics) const Determine the efficiency for a given point in the Dalitz plot. Definition: LauEffModel.cc:130 Bool_t highBinWarningIssued_ Flag to track whether a warning has been issued for bin values greater than one. Definition: LauEffModel.hh:131 void setEffSpline(const TH2 *effHisto, Bool_t fluctuateBins=kFALSE, Double_t avEff=-1.0, Double_t absError=-1.0, Bool_t useUpperHalfOnly=kFALSE, Bool_t squareDP=kFALSE) Set the efficiency variation across the phase space using a spline based on a predetermined 2D histog... Definition: LauEffModel.cc:91 File containing declaration of Lau2DHistDP class. Bool_t lowBinWarningIssued_ Flag to track whether a warning has been issued for bin values less than zero. Definition: LauEffModel.hh:128 File containing declaration of LauEffModel class. Class that implements the efficiency description across the signal Dalitz plot. Definition: LauEffModel.hh:37 Bool_t passVeto(Double_t &m12Sq, Double_t &m23Sq, Double_t &m13Sq) const Check whether the specified Dalitz plot point passes the vetoes. Definition: LauVetoes.cc:109 File containing declaration of LauVetoes class. Class for defining variations across a 2D DP using a spline. Definition: Lau2DSplineDP.hh:35 Generated by 1.8.5 |