LauEffModel.cc
Go to the documentation of this file.
38 std::cerr << "ERROR in LauEffModel Constructor : invalid pointer to daughters object supplied." << std::endl;
62 std::cout<<"INFO in LauEffModel::setEffHisto : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
83 void LauEffModel::setEffHisto(const TH2* effHisto, const TH2* errorHi, const TH2* errorLo, Bool_t useInterpolation,
91 std::cout<<"INFO in LauEffModel::setEffHisto : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
120 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
148 std::cout<<"INFO in LauEffModel::setEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
176 std::cout<<"INFO in LauEffModel::addEffHisto : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
184 void LauEffModel::addEffHisto(const TH2* effHisto, const TH2* errorHi, const TH2* errorLo, Bool_t useInterpolation,
192 std::cout<<"INFO in LauEffModel::addEffHisto : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
208 std::cout<<"INFO in LauEffModel::addEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
223 std::cout<<"INFO in LauEffModel::addEffSpline : Efficiency histogram has upperHalf = "<<static_cast<Int_t>(upperHalf)<<std::endl;
276 // 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.
277 // The spline requires the efficiency, its first derivatives and the mixed second derivative to be continuous and to match the input histogram
278 // at the bin centres. Derivatives are calculated using a finite difference approximation taking the difference between the neighbouring bins.
279 // 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
280 // between the two zero bins to remain smooth. The analogous case with adjacent maximised bins will cause peaks above one. Such dips are
284 std::cerr << "WARNING in LauEffModel::calcEfficiency : Efficiency " << eff << " is less than 0 - setting to 0. You may want to check your histogram!" << std::endl
285 << " : If you are using a spline then this could be caused by adjacent empty bins. Further warnings will be suppressed." << std::endl;
291 std::cerr << "WARNING in LauEffModel::calcEfficiency : Efficiency " << eff << " is greater than 1 - setting to 1. You may want to check your histogram!" << std::endl
292 << " : 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:104 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:54 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:168 File containing declaration of LauDaughters class. Double_t getEffHistValue(const LauKinematics *kinematics) const Get the efficiency from a two-dimensional histogram. Definition: LauEffModel.cc:230 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:301 Double_t calcEfficiency(const LauKinematics *kinematics) const Determine the efficiency for a given point in the Dalitz plot. Definition: LauEffModel.cc:254 Bool_t highBinWarningIssued_ Flag to track whether a warning has been issued for bin values greater than one. Definition: LauEffModel.hh:250 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:112 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:247 File containing declaration of LauEffModel class. Class that implements the efficiency description across the signal Dalitz plot. Definition: LauEffModel.hh:37 std::vector< Lau2DAbsDP * > effHisto_ The efficiency histogram objects. Definition: LauEffModel.hh:241 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:200 Class for defining variations across a 2D DP using a spline. Definition: Lau2DSplineDP.hh:35 Generated by 1.8.5 |