RooRealSumPdf Class Reference

#include <RooRealSumPdf.h>

Inheritance diagram for RooRealSumPdf:

RooAbsPdf RooAbsPdf RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg List of all members.

Public Member Functions

 RooRealSumPdf ()
 RooRealSumPdf (const char *name, const char *title)
 RooRealSumPdf (const char *name, const char *title, const RooArgList &funcList, const RooArgList &coefList, Bool_t extended=kFALSE)
 RooRealSumPdf (const char *name, const char *title, RooAbsReal &func1, RooAbsReal &func2, RooAbsReal &coef1)
 RooRealSumPdf (const RooRealSumPdf &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooRealSumPdf ()
Double_t evaluate () const
virtual Bool_t checkObservables (const RooArgSet *nset) const
virtual Bool_t forceAnalyticalInt (const RooAbsArg &) const
Int_t getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=0) const
Double_t analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
const RooArgListfuncList () const
const RooArgListcoefList () const
virtual ExtendMode extendMode () const
virtual Double_t expectedEvents (const RooArgSet *nset) const
virtual Double_t expectedEvents (const RooArgSet &nset) const
void printMetaArgs (ostream &os) const
 RooRealSumPdf ()
 RooRealSumPdf (const char *name, const char *title)
 RooRealSumPdf (const char *name, const char *title, const RooArgList &funcList, const RooArgList &coefList, Bool_t extended=kFALSE)
 RooRealSumPdf (const char *name, const char *title, RooAbsReal &func1, RooAbsReal &func2, RooAbsReal &coef1)
 RooRealSumPdf (const RooRealSumPdf &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooRealSumPdf ()
Double_t evaluate () const
virtual Bool_t checkObservables (const RooArgSet *nset) const
virtual Bool_t forceAnalyticalInt (const RooAbsArg &) const
Int_t getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=0) const
Double_t analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
const RooArgListfuncList () const
const RooArgListcoefList () const
virtual ExtendMode extendMode () const
virtual Double_t expectedEvents (const RooArgSet *nset) const
virtual Double_t expectedEvents (const RooArgSet &nset) const
void printMetaArgs (ostream &os) const

Protected Attributes

RooObjCacheManager _normIntMgr
Bool_t _haveLastCoef
RooListProxy _funcList
RooListProxy _coefList
TIterator_funcIter
TIterator_coefIter
 Iterator over FUNC list.
Bool_t _extended
 Iterator over coefficient list.
TIterator_funcIter
TIterator_coefIter
 Iterator over FUNC list.

Classes

class  CacheElem

Detailed Description

Definition at line 24 of file RooRealSumPdf.h.


Constructor & Destructor Documentation

RooRealSumPdf::RooRealSumPdf (  ) 

Definition at line 52 of file RooRealSumPdf.cxx.

References _coefIter, _coefList, _extended, _funcIter, _funcList, RooAbsCollection::createIterator(), and kFALSE.

Referenced by clone().

RooRealSumPdf::RooRealSumPdf ( const char *  name,
const char *  title 
)

Definition at line 64 of file RooRealSumPdf.cxx.

References _coefIter, _coefList, _funcIter, _funcList, and RooAbsCollection::createIterator().

RooRealSumPdf::RooRealSumPdf ( const char *  name,
const char *  title,
const RooArgList funcList,
const RooArgList coefList,
Bool_t  extended = kFALSE 
)

Definition at line 105 of file RooRealSumPdf.cxx.

References _coefIter, _coefList, _funcIter, _funcList, _haveLastCoef, RooListProxy::add(), coutE, coutW, RooAbsCollection::createIterator(), func(), TNamed::GetName(), RooAbsCollection::getSize(), RooFit::InputArguments, kTRUE, and TIterator::Next().

RooRealSumPdf::RooRealSumPdf ( const char *  name,
const char *  title,
RooAbsReal func1,
RooAbsReal func2,
RooAbsReal coef1 
)

Definition at line 80 of file RooRealSumPdf.cxx.

References _coefIter, _coefList, _funcIter, _funcList, RooListProxy::add(), RooAbsCollection::createIterator(), and func2().

RooRealSumPdf::RooRealSumPdf ( const RooRealSumPdf other,
const char *  name = 0 
)

Definition at line 168 of file RooRealSumPdf.cxx.

References _coefIter, _coefList, _funcIter, _funcList, and RooAbsCollection::createIterator().

RooRealSumPdf::~RooRealSumPdf (  )  [virtual]

Definition at line 185 of file RooRealSumPdf.cxx.

References _coefIter, and _funcIter.

RooRealSumPdf::RooRealSumPdf (  ) 

RooRealSumPdf::RooRealSumPdf ( const char *  name,
const char *  title 
)

RooRealSumPdf::RooRealSumPdf ( const char *  name,
const char *  title,
const RooArgList funcList,
const RooArgList coefList,
Bool_t  extended = kFALSE 
)

RooRealSumPdf::RooRealSumPdf ( const char *  name,
const char *  title,
RooAbsReal func1,
RooAbsReal func2,
RooAbsReal coef1 
)

RooRealSumPdf::RooRealSumPdf ( const RooRealSumPdf other,
const char *  name = 0 
)

virtual RooRealSumPdf::~RooRealSumPdf (  )  [virtual]


Member Function Documentation

virtual TObject* RooRealSumPdf::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 33 of file RooRealSumPdf.h.

References RooRealSumPdf().

Double_t RooRealSumPdf::evaluate (  )  const [virtual]

Implements RooAbsReal.

Definition at line 206 of file RooRealSumPdf.cxx.

References _coefIter, _funcIter, _haveLastCoef, coutW, cxcoutD, RooFit::Eval, func(), TNamed::GetName(), RooAbsReal::getVal(), TIterator::Next(), TIterator::Reset(), and value.

Bool_t RooRealSumPdf::checkObservables ( const RooArgSet nset  )  const [virtual]

Reimplemented from RooAbsArg.

Definition at line 256 of file RooRealSumPdf.cxx.

References _coefIter, _funcIter, coutE, RooAbsArg::dependsOn(), func(), TNamed::GetName(), RooFit::InputArguments, kFALSE, kTRUE, TIterator::Next(), RooAbsCollection::Print(), and TIterator::Reset().

virtual Bool_t RooRealSumPdf::forceAnalyticalInt ( const RooAbsArg  )  const [inline, virtual]

Reimplemented from RooAbsReal.

Definition at line 39 of file RooRealSumPdf.h.

References kTRUE.

Int_t RooRealSumPdf::getAnalyticalIntegralWN ( RooArgSet allVars,
RooArgSet numVars,
const RooArgSet normSet,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Definition at line 292 of file RooRealSumPdf.cxx.

References RooAbsReal::_forceNumInt, RooRealSumPdf::CacheElem::_funcIntList, _funcIter, RooRealSumPdf::CacheElem::_funcNormList, _normIntMgr, RooArgSet::add(), RooAbsCollection::addOwned(), func(), RooCacheManager< T >::getObj(), RooAbsArg::getObservables(), RooAbsCollection::getSize(), RooCacheManager< T >::lastIndex(), TIterator::Next(), TIterator::Reset(), and RooCacheManager< T >::setObj().

Double_t RooRealSumPdf::analyticalIntegralWN ( Int_t  code,
const RooArgSet normSet,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsPdf.

Definition at line 342 of file RooRealSumPdf.cxx.

References _coefIter, RooRealSumPdf::CacheElem::_funcIntList, _funcIter, RooRealSumPdf::CacheElem::_funcNormList, _haveLastCoef, _normIntMgr, coutW, RooAbsCollection::createIterator(), RooFit::Eval, func(), TNamed::GetName(), RooCacheManager< T >::getObjByIndex(), RooAbsPdf::getVal(), RooAbsReal::getVal(), TIterator::Next(), TIterator::Reset(), and value.

const RooArgList& RooRealSumPdf::funcList (  )  const [inline]

Definition at line 43 of file RooRealSumPdf.h.

References _funcList.

const RooArgList& RooRealSumPdf::coefList (  )  const [inline]

Definition at line 44 of file RooRealSumPdf.h.

References _coefList.

RooAbsPdf::ExtendMode RooRealSumPdf::extendMode (  )  const [virtual]

Reimplemented from RooAbsPdf.

Definition at line 197 of file RooRealSumPdf.cxx.

References _coefList, _extended, _funcList, RooAbsPdf::CanBeExtended, RooAbsPdf::CanNotBeExtended, and RooAbsCollection::getSize().

Double_t RooRealSumPdf::expectedEvents ( const RooArgSet nset  )  const [virtual]

Reimplemented from RooAbsPdf.

Definition at line 421 of file RooRealSumPdf.cxx.

References RooAbsReal::createIntegral(), RooAbsArg::getObservables(), RooAbsReal::getVal(), and RooAbsArg::RooArgSet.

Referenced by expectedEvents().

virtual Double_t RooRealSumPdf::expectedEvents ( const RooArgSet nset  )  const [inline, virtual]

Reimplemented from RooAbsPdf.

Definition at line 49 of file RooRealSumPdf.h.

References expectedEvents().

void RooRealSumPdf::printMetaArgs ( ostream &  os  )  const [virtual]

Reimplemented from RooAbsArg.

Definition at line 436 of file RooRealSumPdf.cxx.

References _coefIter, _coefList, _funcIter, func(), TNamed::GetName(), RooAbsCollection::getSize(), kFALSE, kTRUE, TIterator::Next(), and TIterator::Reset().

virtual TObject* RooRealSumPdf::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 33 of file RooRealSumPdf.h.

References RooRealSumPdf().

Double_t RooRealSumPdf::evaluate (  )  const [virtual]

Implements RooAbsReal.

virtual Bool_t RooRealSumPdf::checkObservables ( const RooArgSet nset  )  const [virtual]

Reimplemented from RooAbsArg.

virtual Bool_t RooRealSumPdf::forceAnalyticalInt ( const RooAbsArg  )  const [inline, virtual]

Reimplemented from RooAbsReal.

Definition at line 39 of file RooRealSumPdf.h.

References kTRUE.

Int_t RooRealSumPdf::getAnalyticalIntegralWN ( RooArgSet allVars,
RooArgSet numVars,
const RooArgSet normSet,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Double_t RooRealSumPdf::analyticalIntegralWN ( Int_t  code,
const RooArgSet normSet,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsPdf.

const RooArgList& RooRealSumPdf::funcList (  )  const [inline]

Definition at line 43 of file RooRealSumPdf.h.

References _funcList.

const RooArgList& RooRealSumPdf::coefList (  )  const [inline]

Definition at line 44 of file RooRealSumPdf.h.

References _coefList.

virtual ExtendMode RooRealSumPdf::extendMode (  )  const [virtual]

Reimplemented from RooAbsPdf.

virtual Double_t RooRealSumPdf::expectedEvents ( const RooArgSet nset  )  const [virtual]

Reimplemented from RooAbsPdf.

virtual Double_t RooRealSumPdf::expectedEvents ( const RooArgSet nset  )  const [inline, virtual]

Reimplemented from RooAbsPdf.

Definition at line 49 of file RooRealSumPdf.h.

References expectedEvents().

void RooRealSumPdf::printMetaArgs ( ostream &  os  )  const [virtual]

Reimplemented from RooAbsArg.


Member Data Documentation

RooObjCacheManager RooRealSumPdf::_normIntMgr [mutable, protected]

Definition at line 67 of file RooRealSumPdf.h.

Referenced by analyticalIntegralWN(), and getAnalyticalIntegralWN().

Bool_t RooRealSumPdf::_haveLastCoef [protected]

Definition at line 69 of file RooRealSumPdf.h.

Referenced by analyticalIntegralWN(), evaluate(), and RooRealSumPdf().

RooListProxy RooRealSumPdf::_funcList [protected]

Definition at line 71 of file RooRealSumPdf.h.

Referenced by extendMode(), funcList(), and RooRealSumPdf().

RooListProxy RooRealSumPdf::_coefList [protected]

Definition at line 72 of file RooRealSumPdf.h.

Referenced by coefList(), extendMode(), printMetaArgs(), and RooRealSumPdf().

TIterator* RooRealSumPdf::_funcIter [protected]

Definition at line 73 of file RooRealSumPdf.h.

Referenced by analyticalIntegralWN(), checkObservables(), evaluate(), getAnalyticalIntegralWN(), printMetaArgs(), RooRealSumPdf(), and ~RooRealSumPdf().

TIterator* RooRealSumPdf::_coefIter [protected]

Iterator over FUNC list.

Definition at line 74 of file RooRealSumPdf.h.

Referenced by analyticalIntegralWN(), checkObservables(), evaluate(), printMetaArgs(), RooRealSumPdf(), and ~RooRealSumPdf().

Bool_t RooRealSumPdf::_extended [protected]

Iterator over coefficient list.

Definition at line 75 of file RooRealSumPdf.h.

Referenced by extendMode(), and RooRealSumPdf().

TIterator* RooRealSumPdf::_funcIter [protected]

Definition at line 73 of file RooRealSumPdf.h.

TIterator* RooRealSumPdf::_coefIter [protected]

Iterator over FUNC list.

Definition at line 74 of file RooRealSumPdf.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:01 2011 for ROOT_528-00b_version by  doxygen 1.5.1