58 const char* rangeName,
64 const char* rangeName,
#define ClassDefOverride(name, id)
RooAICRegistry is a utility class for operator p.d.f classes that keeps track of analytical integrati...
RooAbsCachedPdf is the abstract base class for p.d.f.s that need or want to cache their evaluate() ou...
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
The RooDataHist is a container class to hold N-dimensional binned data.
RooHistPdf implements a probablity density function sampled from a multidimensional histogram.
void setUnitNorm(Bool_t flag)
Int_t getInterpolationOrder() const
Double_t _totVolume
! Total volume of space (product of ranges of observables)
RooArgSet _histObsList
List of observables defining dimensions of histogram.
Bool_t importWorkspaceHook(RooWorkspace &ws) override
Check if our datahist is already in the workspace.
Int_t _intOrder
Interpolation order.
std::list< Double_t > * binBoundaries(RooAbsRealLValue &, Double_t, Double_t) const override
Return sampling hint for making curves of (projections) of this function as the recursive division st...
RooHistPdf()
Default constructor coverity[UNINIT_CTOR].
RooDataHist * _dataHist
Unowned pointer to underlying histogram.
void setCdfBoundaries(Bool_t flag)
Bool_t getCdfBoundaries() const
RooSetProxy _pdfObsList
List of observables mapped onto histogram observables.
Bool_t isBinnedDistribution(const RooArgSet &) const override
Tests if the distribution is binned. Unless overridden by derived classes, this always returns false.
Bool_t _unitNorm
Assume contents is unit normalized (for use as pdf cache)
RooAICRegistry _codeReg
! Auxiliary class keeping tracking of analytical integration code
Bool_t _cdfBoundaries
Use boundary conditions for CDFs.
Bool_t areIdentical(const RooDataHist &dh1, const RooDataHist &dh2)
Double_t maxVal(Int_t code) const override
Return maximum value for set of observables identified by code assigned in getMaxVal.
Double_t totVolume() const
Return the total volume spanned by the observables of the RooHistPdf.
Bool_t haveUnitNorm() const
Bool_t selfNormalized() const override
Shows if a PDF is self-normalized, which means that no attempt is made to add a normalization term.
TObject * clone(const char *newname) const override
Int_t getMaxVal(const RooArgSet &vars) const override
Only handle case of maximum in all variables.
std::list< Double_t > * plotSamplingHint(RooAbsRealLValue &obs, Double_t xlo, Double_t xhi) const override
Return sampling hint for making curves of (projections) of this function as the recursive division st...
Double_t evaluate() const override
Return the current value: The value of the bin enclosing the current coordinates of the observables,...
static Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName, RooArgSet const &histObsList, RooSetProxy const &pdfObsList, Int_t intOrder)
const RooDataHist & dataHist() const
~RooHistPdf() override
Destructor.
void setInterpolationOrder(Int_t order)
Double_t totalVolume() const
static Double_t analyticalIntegral(Int_t code, const char *rangeName, RooArgSet const &histObsList, RooSetProxy const &pdfObsList, RooDataHist &dataHist, bool histFuncMode)
RooRealVar represents a variable that can be changed from the outside.
The RooWorkspace is a persistable container for RooFit projects.
Mother of all ROOT objects.