#include <RooRealSumPdf.h>
Inheritance diagram for RooRealSumPdf:
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 TObject * | clone (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 RooArgList & | funcList () const |
const RooArgList & | coefList () 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 TObject * | clone (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 RooArgList & | funcList () const |
const RooArgList & | coefList () 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 |
Definition at line 24 of file RooRealSumPdf.h.
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] |
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] |
virtual TObject* RooRealSumPdf::clone | ( | const char * | newname | ) | const [inline, virtual] |
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.
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().
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] |
const RooArgList& RooRealSumPdf::coefList | ( | ) | const [inline] |
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().
Reimplemented from RooAbsPdf.
Definition at line 421 of file RooRealSumPdf.cxx.
References RooAbsReal::createIntegral(), RooAbsArg::getObservables(), RooAbsReal::getVal(), and RooAbsArg::RooArgSet.
Referenced by expectedEvents().
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] |
Double_t RooRealSumPdf::evaluate | ( | ) | const [virtual] |
Implements RooAbsReal.
Reimplemented from RooAbsArg.
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] |
const RooArgList& RooRealSumPdf::coefList | ( | ) | const [inline] |
virtual ExtendMode RooRealSumPdf::extendMode | ( | ) | const [virtual] |
Reimplemented from RooAbsPdf.
Reimplemented from RooAbsPdf.
Reimplemented from RooAbsPdf.
Definition at line 49 of file RooRealSumPdf.h.
References expectedEvents().
void RooRealSumPdf::printMetaArgs | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooAbsArg.
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] |