Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User |
RooHistPdfclass description - source file - inheritance tree (.pdf) class RooHistPdf : public RooAbsPdf
protected: Data Membersprotected: Class DescriptionRooHistPdf implements a probablity density function sample from a multidimensional histogram. The histogram distribution is explicitly normalized by RooHistPdf and can have an arbitrary number of real or discrete dimensions. RooHistPdf(const char *name, const char *title, const RooArgSet& vars, const RooDataHist& dhist, Int_t intOrder) : RooAbsPdf(name,title), _depList("depList","List of dependents",this), _dataHist((RooDataHist*)&dhist), _codeReg(10), _intOrder(intOrder) Constructor from a RooDataHist. The variable listed in 'vars' control the dimensionality of the PDF. Any additional dimensions present in 'dhist' will be projected out. RooDataHist dimensions can be either real or discrete. See RooDataHist::RooDataHist for details on the binning. RooHistPdf neither owns or clone 'dhist' and the user must ensure the input histogram exists for the entire life span of this PDF. RooHistPdf(const RooHistPdf& other, const char* name) : RooAbsPdf(other,name), _depList("depList",this,other._depList), _dataHist(other._dataHist), _codeReg(other._codeReg), _intOrder(other._intOrder) Copy constructor Double_t evaluate() const Return the current value: The value of the bin enclosing the current coordinates of the dependents, normalized by the histograms contents Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName) const Determine integration scenario. RooHistPdf can perform all integrals over its dependents analytically via partial or complete summation of the input histogram. Double_t analyticalIntegral(Int_t code, const char* /*rangeName*/) const Return integral identified by 'code'. The actual integration is deferred to RooDataHist::sum() which implements partial or complete summation over the histograms contents Inline Functionsvoid ~RooHistPdf() TObject* clone(const char* newname) const TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)
|
Page maintained by Wouter Verkerke and David Kirkby |