![]() |
![]()
|
RooRealSumPdfclass description - source file - inheritance tree (.pdf) class RooRealSumPdf : public RooAbsPdf
protected:
Data Members
protected:
Class DescriptionClass RooRealSumPdf implements a PDF constructed from a sum of real valued objects, i.e. Sum(i=1,n-1) coef_i * func_i(x) + [ 1 - (Sum(i=1,n-1) coef_i ] * func_n(x) pdf(x) = ------------------------------------------------------------------------------ Sum(i=1,n-1) coef_i * Int(func_i)dx + [ 1 - (Sum(i=1,n-1) coef_i ] * Int(func_n)dx where coef_i and func_i are RooAbsReal objects, and x is the collection of dependents. In the present version coef_i may not depend on x, but this limitation will be removed in the future RooRealSumPdf(const char *name, const char *title) : RooAbsPdf(name,title), _codeReg(10), _lastFuncIntSet(0), _lastFuncNormSet(0), _funcIntList(0), _funcNormList(0), _haveLastCoef(kFALSE), _funcList("funcList","List of functions",this), _coefList("coefList","List of coefficients",this) Dummy constructor RooRealSumPdf(const char *name, const char *title, RooAbsReal& func1, RooAbsReal& func2, RooAbsReal& coef1) : RooAbsPdf(name,title), _codeReg(10), _lastFuncIntSet(0), _lastFuncNormSet(0), _funcIntList(0), _funcNormList(0), _haveLastCoef(kFALSE), _funcList("funcProxyList","List of functions",this), _coefList("coefList","List of coefficients",this) Special constructor with two functions and one coefficient RooRealSumPdf(const char *name, const char *title, const RooArgList& funcList, const RooArgList& coefList) : RooAbsPdf(name,title), _codeReg(10), _lastFuncIntSet(0), _lastFuncNormSet(0), _funcIntList(0), _funcNormList(0), _haveLastCoef(kFALSE), _funcList("funcProxyList","List of functions",this), _coefList("coefList","List of coefficients",this) Constructor from list of functions and list of coefficients. Each func list element (i) is paired with coefficient list element (i). The number of coefficients must be one less than to the number of functions, All functions and coefficients must inherit from RooAbsReal. RooRealSumPdf(const RooRealSumPdf& other, const char* name) : RooAbsPdf(other,name), _codeReg(other._codeReg), _lastFuncIntSet(0), _lastFuncNormSet(0), _funcIntList(0), _funcNormList(0), _haveLastCoef(other._haveLastCoef), _funcList("funcProxyList",this,other._funcList), _coefList("coefList",this,other._coefList) Copy constructor ~RooRealSumPdf() Destructor Double_t evaluate() const Calculate the current value Bool_t checkObservables(const RooArgSet* nset) const Check if FUNC is valid for given normalization set. Coeffient and FUNC must be non-overlapping, but func-coefficient pairs may overlap each other For the moment, coefficients may not be dependents or derive from dependents Int_t getAnalyticalIntegralWN(RooArgSet& allVars, RooArgSet& analVars, const RooArgSet* normSet2, const char* /*rangeName*/) const Handle trivial no-integration scenario Double_t analyticalIntegralWN(Int_t code, const RooArgSet* normSet2, const char* /*rangeName*/) const Handle trivial passthrough scenario void syncFuncIntList(const RooArgSet* intSet) const void syncFuncNormList(const RooArgSet* normSet) const Inline Functions
TObject* clone(const char* newname) const
Bool_t forceAnalyticalInt(const RooAbsArg&) const
const RooArgList& funcList() const
const RooArgList& coefList() 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 |
|


Docs