LauEffModel.cc
Go to the documentation of this file.
39 std::cerr << "ERROR in LauEffModel Constructor : invalid pointer to daughters object supplied." << std::endl;
63 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
86 void LauEffModel::setEffHisto(const TH2* effHisto, const TH2* errorHi, const TH2* errorLo, Bool_t useInterpolation,
94 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
125 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
155 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
185 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
195 void LauEffModel::addEffHisto(const TH2* effHisto, const TH2* errorHi, const TH2* errorLo, Bool_t useInterpolation,
203 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
221 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
238 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
289 // 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.
290 // The spline requires the efficiency, its first derivatives and the mixed second derivative to be continuous and to match the input histogram
291 // at the bin centres. Derivatives are calculated using a finite difference approximation taking the difference between the neighbouring bins.
292 // 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
293 // between the two zero bins to remain smooth. The analogous case with adjacent maximised bins will cause peaks above one. Such dips are
297 std::cerr << "WARNING in LauEffModel::calcEfficiency : Efficiency " << eff << " is less than 0 - setting to 0. You may want to check your histogram!" << std::endl
298 << " : If you are using a spline then this could be caused by adjacent empty bins. Further warnings will be suppressed." << std::endl;
304 std::cerr << "WARNING in LauEffModel::calcEfficiency : Efficiency " << eff << " is greater than 1 - setting to 1. You may want to check your histogram!" << std::endl
305 << " : 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:55 ClassImp(LauAbsCoeffSet) Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:33 void addEffHisto(const TH2 *effHisto, Bool_t useInterpolation=kTRUE, Double_t avEff=-1.0, Double_t absError=-1.0, Bool_t useUpperHalfOnly=kFALSE, Bool_t squareDP=kFALSE) Add a multiplicative efficiency variation across the phase space using a predetermined 2D histogram... Definition: LauEffModel.cc:177 File containing declaration of LauDaughters class. 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:247 File containing declaration of LauKinematics class. Bool_t gotSymmetricalDP() const Is Dalitz plot symmetric, i.e. 2 identical particles. Definition: LauDaughters.hh:66 Bool_t passVeto(const LauKinematics *kinematics) const Determine whether the given DP position is outside the vetoes. Definition: LauEffModel.cc:314 Double_t calcEfficiency(const LauKinematics *kinematics) const Determine the efficiency for a given point in the Dalitz plot. Definition: LauEffModel.cc:261 Bool_t highBinWarningIssued_ Flag to track whether a warning has been issued for bin values greater than one. Definition: LauEffModel.hh:259 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:117 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:256 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 std::vector< Lau2DAbsDP * > effHisto_ The efficiency histogram objects. Definition: LauEffModel.hh:248 File containing declaration of LauVetoes class. void addEffSpline(const TH2 *effHisto, Double_t avEff=-1.0, Double_t absError=-1.0, Bool_t useUpperHalfOnly=kFALSE, Bool_t squareDP=kFALSE) Add a multiplicative efficiency variation across the phase space using a spline based on a predetermi... Definition: LauEffModel.cc:213 Class for defining variations across a 2D DP using a spline. Definition: Lau2DSplineDP.hh:35 Generated by 1.8.5 |