LauEffModel.cc
Go to the documentation of this file.
52 std::cerr << "ERROR in LauEffModel Constructor : invalid pointer to daughters object supplied." << std::endl;
76 std::cout<<"INFO in LauEffModel::setEffHisto : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
97 void LauEffModel::setEffHisto(const TH2* effHisto, const TH2* errorHi, const TH2* errorLo, Bool_t useInterpolation,
105 std::cout<<"INFO in LauEffModel::setEffHisto : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
134 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
162 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
190 std::cout<<"INFO in LauEffModel::addEffHisto : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
198 void LauEffModel::addEffHisto(const TH2* effHisto, const TH2* errorHi, const TH2* errorLo, Bool_t useInterpolation,
206 std::cout<<"INFO in LauEffModel::addEffHisto : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
222 std::cout<<"INFO in LauEffModel::addEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
237 std::cout<<"INFO in LauEffModel::addEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
290 // 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.
291 // The spline requires the efficiency, its first derivatives and the mixed second derivative to be continuous and to match the input histogram
292 // at the bin centres. Derivatives are calculated using a finite difference approximation taking the difference between the neighbouring bins.
293 // 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
294 // between the two zero bins to remain smooth. The analogous case with adjacent maximised bins will cause peaks above one. Such dips are
298 std::cerr << "WARNING in LauEffModel::calcEfficiency : Efficiency " << eff << " is less than 0 - setting to 0. You may want to check your histogram!" << std::endl
299 << " : If you are using a spline then this could be caused by adjacent empty bins. Further warnings will be suppressed." << std::endl;
305 std::cerr << "WARNING in LauEffModel::calcEfficiency : Efficiency " << eff << " is greater than 1 - setting to 1. You may want to check your histogram!" << std::endl
306 << " : 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. Bool_t passVeto(const LauKinematics *kinematics) const Check whether the specified Dalitz plot point passes the vetoes. Definition: LauVetoes.cc:118 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:68 ClassImp(LauAbsCoeffSet) Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:47 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:182 File containing declaration of LauDaughters class. Double_t getEffHistValue(const LauKinematics *kinematics) const Get the efficiency from a two-dimensional histogram. Definition: LauEffModel.cc:244 File containing declaration of LauKinematics class. Bool_t gotSymmetricalDP() const Is Dalitz plot symmetric, i.e. 2 identical particles. Definition: LauDaughters.hh:80 Bool_t passVeto(const LauKinematics *kinematics) const Determine whether the given DP position is outside the vetoes. Definition: LauEffModel.cc:315 Double_t calcEfficiency(const LauKinematics *kinematics) const Determine the efficiency for a given point in the Dalitz plot. Definition: LauEffModel.cc:268 Bool_t highBinWarningIssued_ Flag to track whether a warning has been issued for bin values greater than one. Definition: LauEffModel.hh:264 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:126 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:261 File containing declaration of LauEffModel class. Class that implements the efficiency description across the signal Dalitz plot. Definition: LauEffModel.hh:51 std::vector< Lau2DAbsDP * > effHisto_ The efficiency histogram objects. Definition: LauEffModel.hh:255 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:214 Class for defining variations across a 2D DP using a spline. Definition: Lau2DSplineDP.hh:49 Generated by ![]() |