Lau1DHistPdf.cc
Go to the documentation of this file.
32 Lau1DHistPdf::Lau1DHistPdf(const TString& theVarName, const TH1* hist, Double_t minAbscissa, Double_t maxAbscissa,
86 Lau1DHistPdf::Lau1DHistPdf(const Lau1DHistPdf& other) : LauAbsPdf(other.varName(), other.getParameters(), other.getMinAbscissa(), other.getMaxAbscissa())
144 std::cout << "INFO in Lau1DHistPdf::checkNormalisation : Area = " << area << ", dx = " << dx << std::endl;
158 std::cerr << "WARNING in Lau1DHistPdf::getBinHistValue : Negative bin content set to zero!" << std::endl;
virtual void calcLikelihoodInfo(const LauAbscissas &abscissas) Calculate the likelihood (and intermediate info) for a given abscissa. Definition: Lau1DHistPdf.cc:172 virtual void setUnNormPDFVal(Double_t unNormPDFVal) Set the unnormalised likelihood. Definition: LauAbsPdf.hh:454 TRandom * zeroSeedRandom() Access the singleton random number generator with seed set from machine clock time (within +-1 sec)... Definition: LauRandom.cc:30 virtual Bool_t heightUpToDate() const Check if the maximum height of the PDF is up to date. Definition: LauAbsPdf.hh:349 Bool_t fluctuateBins_ Control boolean for performing the fluctuation of the histogram bin contents. Definition: Lau1DHistPdf.hh:111 Bool_t useInterpolation_ Control boolean for using the linear interpolation. Definition: Lau1DHistPdf.hh:109 virtual Bool_t checkRange(const LauAbscissas &abscissas) const Check that all abscissas are within their allowed ranges. Definition: LauAbsPdf.cc:213 void doBinFluctuation() Fluctuate the histogram bin contents in accorance with their errors. Definition: Lau1DHistPdf.cc:246 Double_t getBinHistValue(Int_t bin) const Get the bin content from the histogram. Definition: Lau1DHistPdf.cc:149 virtual TRandom * getRandomFun() const Retrieve the random function used for MC generation. Definition: LauAbsPdf.hh:472 Lau1DHistPdf(const TString &theVarName, const TH1 *hist, Double_t minAbscissa, Double_t maxAbscissa, Bool_t useInterpolation=kTRUE, Bool_t fluctuateBins=kFALSE) Constructor. Definition: Lau1DHistPdf.cc:32 Double_t interpolateNorm(Double_t x) const Perform the interpolation and divide by the normalisation. Definition: Lau1DHistPdf.cc:164 File containing LauRandom namespace. Double_t interpolate(Double_t x) const Perform the interpolation (unnormalised) Definition: Lau1DHistPdf.cc:187 virtual void calcPDFHeight(const LauKinematics *kinematics) Calculate the PDF height. Definition: Lau1DHistPdf.cc:95 virtual void setRandomFun(TRandom *randomFun) Set the random function used for toy MC generation. Definition: LauAbsPdf.hh:315 std::vector< Double_t > LauAbscissas The type used for containing multiple abscissa values. Definition: LauAbsPdf.hh:44 File containing declaration of Lau1DHistPdf class. Generated by 1.8.5 |