library: libRooFit #include "RooHistPdf.h" |
RooHistPdf
class description - source file - inheritance tree (.pdf)
protected:
virtual Double_t evaluate() const
public:
RooHistPdf(const char* name, const char* title, const RooArgSet& vars, const RooDataHist& dhist, Int_t intOrder = 0)
RooHistPdf(const RooHistPdf& other, const char* name = "0")
virtual ~RooHistPdf()
virtual Double_t analyticalIntegral(Int_t code, const char* rangeName = "0") const
static TClass* Class()
virtual TObject* clone(const char* newname) const
virtual Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName = "0") const
virtual TClass* IsA() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
RooSetProxy _depList List of dependents defining dimensions of histogram
RooDataHist* _dataHist Unowned pointer to underlying histogram
RooAICRegistry _codeReg Auxiliary class keeping tracking of analytical integration code
Int_t _intOrder Interpolation order
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 Functions
void ~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)
Last update: Tue Jun 28 18:13:08 2005
Copyright (c) 2000-2005, Regents of the University of California *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.