55 _listIter = _list.createIterator() ;
65 _list(
"list",
"First set of components",this)
69 for (
Int_t ifrac=fracList.
getSize()-1 ; ifrac>=0 ; ifrac--) {
71 if (!dynamic_cast<RooAbsReal*>(comp)) {
73 <<
" is not of type RooAbsReal" << endl ;
117 prod *= (1-comp->
getVal(nset)) ;
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
RooRecursiveFraction()
Default constructor.
Double_t getVal(const RooArgSet *set=0) const
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
virtual ~RooRecursiveFraction()
Destructor.
const RooArgSet * nset() const
RooAbsArg * at(Int_t idx) const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t evaluate() const
do not persist
Class RooRecursiveFraction is a RooAbsReal implementation that calculates the plain fraction of sum o...
virtual TObject * Next()=0
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...