LauBkgndDPModel.cc
Go to the documentation of this file.
76 std::cerr << "WARNING in LauBkgndDPModel::setBkgndHisto : Supplied background histogram pointer is null, likelihood for this component will be flat in the Dalitz plot"
109 std::cerr << "WARNING in LauBkgndDPModel::setBkgndSpline : Supplied background histogram pointer is null, construction of spline will fail"
137 std::cerr << "WARNING in LauBkgndDPModel::calcHistValue : We don't have a histogram so assuming the likelihood is flat in the Dalitz plot."
146 // If we're using a spline then negative values can be caused by adjacent bins that all contain a value of zero.
147 // The spline requires the value, its first derivatives and the mixed second derivative to be continuous and to match the input histogram
148 // at the bin centres. Derivatives are calculated using a finite difference approximation taking the difference between the neighbouring bins.
149 // 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
150 // between the two zero bins to remain smooth. Such dips are unavoidable but are correctly removed here.
156 << " : If you are using a spline then this could be caused by adjacent empty bins. Further warnings will be suppressed."
212 std::cerr << "WARNING in LauBkgndDPModel::generate : We don't have a histogram so generating flat in the square DP, which won't be flat in the conventional DP!"
214 std::cerr << "WARNING in LauBkgndDPModel::generate : This should never happen!! What have you done?!"
File containing LauRandom namespace. Bool_t squareDP_ Flags whether or not to work in square DP coordinates. Definition: LauBkgndDPModel.hh:168 virtual Double_t getUnNormValue(const Double_t m13Sq, const Double_t m23Sq) Get unnormalised likelihood for a given DP position. Definition: LauBkgndDPModel.cc:298 const LauFitData & getData(UInt_t iEvt) const Retrieve the data for a given event. Definition: LauFitDataTree.cc:376 The abstract interface for a background Dalitz plot model. Definition: LauAbsBkgndDPModel.hh:45 void setBkgndSpline(const TH2 *histo, Bool_t fluctuateBins, Bool_t useUpperHalfOnly, Bool_t squareDP) Set the background histogram and generate a spline. Definition: LauBkgndDPModel.cc:103 Double_t calcHistValue(Double_t xVal, Double_t yVal) Calulate histogram value at a given point. Definition: LauBkgndDPModel.cc:131 Bool_t passVeto(const LauKinematics *kinematics) const Check whether the specified Dalitz plot point passes the vetoes. Definition: LauVetoes.cc:124 void genFlatSqDP(Double_t &mPrime, Double_t &thetaPrime) const Routine to generate events flat in the square Dalitz plot. Definition: LauKinematics.cc:432 LauBkgndDPModel(LauDaughters *daughters, LauVetoes *vetoes) Constructor. Definition: LauBkgndDPModel.cc:45 void updateKinematics(const Double_t m13Sq, const Double_t m23Sq) Update all kinematic quantities based on the DP co-ordinates m13Sq and m23Sq. Definition: LauKinematics.cc:128 File containing declaration of LauFitDataTree class. void setBkgndHisto(const TH2 *histo, Bool_t useInterpolation, Bool_t fluctuateBins, Bool_t useUpperHalfOnly, Bool_t squareDP=kFALSE) Set background histogram. Definition: LauBkgndDPModel.cc:69 Bool_t lowBinWarningIssued_ Flag to track whether a warning has been issued for bin values less than zero. Definition: LauBkgndDPModel.hh:189 Lau2DAbsDPPdf * bgHistDPPdf_ PDF of Dalitz plot background, from a 2D histogram. Definition: LauBkgndDPModel.hh:171 Bool_t doneGenWarning_ Boolean to indicate if the warning that there is no histogram has already been issued. Definition: LauBkgndDPModel.hh:186 File containing declaration of Lau2DHistDPPdf class. virtual void fillDataTree(const LauFitDataTree &fitDataTree) Cache the input data and (if appropriate) the per-event likelihood values. Definition: LauBkgndDPModel.cc:266 File containing declaration of Lau2DSplineDPPdf class. File containing declaration of LauDaughters class. const LauVetoes * getVetoes() const Get vetoes in the Dalitz plot. Definition: LauAbsBkgndDPModel.hh:130 virtual Double_t getLikelihood(const Double_t m13Sq, const Double_t m23Sq) Get likelihood for a given DP position. Definition: LauBkgndDPModel.cc:315 TRandom * randomFun() Access the singleton random number generator with a particular seed. Definition: LauRandom.cc:33 const LauKinematics * getKinematics() const Get the Dalitz plot kinematics. Definition: LauAbsBkgndDPModel.hh:118 virtual Double_t interpolateXY(Double_t x, Double_t y) const =0 Perform the interpolation (unnormalised) void genFlatPhaseSpace(Double_t &m13Sq, Double_t &m23Sq) const Routine to generate events flat in phase-space. Definition: LauKinematics.cc:412 virtual Double_t getPdfNorm() const Get PDF normalisation constant. Definition: LauBkgndDPModel.hh:134 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:45 void updateSqDPKinematics(const Double_t mPrime, const Double_t thetaPrime) Update all kinematic quantities based on the square DP co-ordinates m' and theta'. Definition: LauKinematics.cc:147 Double_t calcSqDPJacobian(const Double_t mPrime, const Double_t thPrime) const Calculate the Jacobian for the transformation m23^2, m13^2 -> m', theta' (square DP) at the given poi... Definition: LauKinematics.cc:176 std::vector< Double_t > bgData_ Cached histogram values for each event. Definition: LauBkgndDPModel.hh:174 File containing declaration of LauBkgndDPModel class. File containing declaration of LauVetoes class. Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:47 Bool_t gotSymmetricalDP() const Is Dalitz plot symmetric, i.e. 2 identical particles. Definition: LauDaughters.hh:84 File containing declaration of LauKinematics class. Generated by ![]() |