RooProduct Class Reference

#include <RooProduct.h>

Inheritance diagram for RooProduct:

RooAbsReal RooAbsReal RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed List of all members.

Public Member Functions

 RooProduct ()
 RooProduct (const char *name, const char *title, const RooArgSet &_prodSet)
 RooProduct (const RooProduct &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual Bool_t forceAnalyticalInt (const RooAbsArg &dep) const
virtual Int_t getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
virtual Double_t analyticalIntegral (Int_t code, const char *rangeName=0) const
RooArgSet components ()
virtual ~RooProduct ()
void printMetaArgs (ostream &os) const
 RooProduct ()
 RooProduct (const char *name, const char *title, const RooArgSet &_prodSet)
 RooProduct (const RooProduct &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual Bool_t forceAnalyticalInt (const RooAbsArg &dep) const
virtual Int_t getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
virtual Double_t analyticalIntegral (Int_t code, const char *rangeName=0) const
RooArgSet components ()
virtual ~RooProduct ()
void printMetaArgs (ostream &os) const

Protected Member Functions

Double_t calculate (const RooArgList &partIntList) const
Double_t evaluate () const
const char * makeFPName (const char *pfx, const RooArgSet &terms) const
ProdMapgroupProductTerms (const RooArgSet &) const
Int_t getPartIntList (const RooArgSet *iset, const char *rangeName=0) const
Double_t calculate (const RooArgList &partIntList) const
Double_t evaluate () const
const char * makeFPName (const char *pfx, const RooArgSet &terms) const
ProdMapgroupProductTerms (const RooArgSet &) const
Int_t getPartIntList (const RooArgSet *iset, const char *rangeName=0) const

Protected Attributes

RooSetProxy _compRSet
RooSetProxy _compCSet
TIterator_compRIter
TIterator_compCIter
 do not persist
RooObjCacheManager _cacheMgr
TIterator_compRIter
TIterator_compCIter
 do not persist

Classes

class  CacheElem
 do not persist More...
class  ProdMap

Detailed Description

Definition at line 32 of file RooProduct.h.


Constructor & Destructor Documentation

RooProduct::RooProduct (  ) 

Definition at line 61 of file RooProduct.cxx.

Referenced by clone(), and getPartIntList().

RooProduct::RooProduct ( const char *  name,
const char *  title,
const RooArgSet _prodSet 
)

Definition at line 87 of file RooProduct.cxx.

References _compCSet, _compRSet, RooSetProxy::add(), coutE, RooAbsCollection::createIterator(), TNamed::GetName(), RooFit::InputArguments, TIterator::Next(), and RooErrorHandler::softAbort().

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

Definition at line 116 of file RooProduct.cxx.

RooProduct::~RooProduct (  )  [virtual]

Definition at line 71 of file RooProduct.cxx.

References _compCIter, and _compRIter.

RooProduct::RooProduct (  ) 

RooProduct::RooProduct ( const char *  name,
const char *  title,
const RooArgSet _prodSet 
)

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

virtual RooProduct::~RooProduct (  )  [virtual]


Member Function Documentation

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

Implements RooAbsArg.

Definition at line 39 of file RooProduct.h.

References RooProduct().

Bool_t RooProduct::forceAnalyticalInt ( const RooAbsArg dep  )  const [virtual]

Reimplemented from RooAbsReal.

Definition at line 130 of file RooProduct.cxx.

References _compRIter, RooAbsArg::dependsOn(), kFALSE, TIterator::Next(), and TIterator::Reset().

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

Reimplemented from RooAbsReal.

Definition at line 285 of file RooProduct.cxx.

References RooAbsReal::_forceNumInt, RooArgSet::add(), getPartIntList(), and RooAbsCollection::getSize().

Double_t RooProduct::analyticalIntegral ( Int_t  code,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Definition at line 304 of file RooProduct.cxx.

References _cacheMgr, RooProduct::CacheElem::_prodList, calculate(), RooCacheManager< T >::getObjByIndex(), RooAbsArg::getParameters(), getPartIntList(), RooCacheManager< T >::nameSet2ByIndex(), RooAbsArg::RooArgSet, and RooNameSet::select().

RooArgSet RooProduct::components (  )  [inline]

Definition at line 47 of file RooProduct.h.

References _compCSet, _compRSet, and RooArgSet::add().

Referenced by RooProdPdf::rearrangeProduct().

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

Reimplemented from RooAbsArg.

Definition at line 403 of file RooProduct.cxx.

References _compCIter, _compRIter, TNamed::GetName(), kFALSE, kTRUE, TIterator::Next(), and TIterator::Reset().

Double_t RooProduct::calculate ( const RooArgList partIntList  )  const [protected]

Definition at line 325 of file RooProduct.cxx.

References RooAbsCollection::createIterator(), RooAbsReal::getVal(), i, val, and x.

Referenced by analyticalIntegral().

Double_t RooProduct::evaluate (  )  const [protected, virtual]

Implements RooAbsReal.

Definition at line 361 of file RooProduct.cxx.

References _compCIter, _compRIter, _compRSet, RooAbsCategory::getIndex(), RooAbsReal::getVal(), TIterator::Next(), RooAbsProxy::nset(), and TIterator::Reset().

const char * RooProduct::makeFPName ( const char *  pfx,
const RooArgSet terms 
) const [protected]

Definition at line 341 of file RooProduct.cxx.

References RooAbsCollection::createIterator(), i, kFALSE, and kTRUE.

Referenced by getPartIntList().

RooProduct::ProdMap * RooProduct::groupProductTerms ( const RooArgSet  )  const [protected]

Definition at line 147 of file RooProduct.cxx.

References _compRIter, _compRSet, RooArgSet::add(), RooAbsCollection::createIterator(), RooAbsArg::dependsOn(), findOverlap2nd(), RooAbsCollection::getSize(), i, TIterator::Next(), TIterator::Reset(), and RooAbsArg::RooArgSet.

Referenced by getPartIntList().

Int_t RooProduct::getPartIntList ( const RooArgSet iset,
const char *  rangeName = 0 
) const [protected]

Definition at line 210 of file RooProduct.cxx.

References _cacheMgr, RooProduct::CacheElem::_ownedList, RooProduct::CacheElem::_prodList, RooAbsCollection::add(), RooAbsCollection::addOwned(), ccoutD, cxcoutD, dologD, dump_map(), RooAbsCollection::first(), TNamed::GetName(), RooCacheManager< T >::getObj(), groupProductTerms(), i, RooFit::Integration, j, RooCacheManager< T >::lastIndex(), makeFPName(), name, RooNameReg::ptr(), RooProduct(), and RooCacheManager< T >::setObj().

Referenced by analyticalIntegral(), and getAnalyticalIntegralWN().

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

Implements RooAbsArg.

Definition at line 39 of file RooProduct.h.

References RooProduct().

virtual Bool_t RooProduct::forceAnalyticalInt ( const RooAbsArg dep  )  const [virtual]

Reimplemented from RooAbsReal.

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

Reimplemented from RooAbsReal.

virtual Double_t RooProduct::analyticalIntegral ( Int_t  code,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

RooArgSet RooProduct::components (  )  [inline]

Definition at line 47 of file RooProduct.h.

References _compCSet, _compRSet, and RooArgSet::add().

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

Reimplemented from RooAbsArg.

Double_t RooProduct::calculate ( const RooArgList partIntList  )  const [protected]

Double_t RooProduct::evaluate (  )  const [protected, virtual]

Implements RooAbsReal.

const char* RooProduct::makeFPName ( const char *  pfx,
const RooArgSet terms 
) const [protected]

ProdMap* RooProduct::groupProductTerms ( const RooArgSet  )  const [protected]

Int_t RooProduct::getPartIntList ( const RooArgSet iset,
const char *  rangeName = 0 
) const [protected]


Member Data Documentation

RooSetProxy RooProduct::_compRSet [protected]

Definition at line 57 of file RooProduct.h.

Referenced by components(), evaluate(), groupProductTerms(), and RooProduct().

RooSetProxy RooProduct::_compCSet [protected]

Definition at line 58 of file RooProduct.h.

Referenced by components(), and RooProduct().

TIterator* RooProduct::_compRIter [protected]

Definition at line 59 of file RooProduct.h.

Referenced by evaluate(), forceAnalyticalInt(), groupProductTerms(), printMetaArgs(), and ~RooProduct().

TIterator* RooProduct::_compCIter [protected]

do not persist

Definition at line 60 of file RooProduct.h.

Referenced by evaluate(), printMetaArgs(), and ~RooProduct().

RooObjCacheManager RooProduct::_cacheMgr [mutable, protected]

Definition at line 70 of file RooProduct.h.

Referenced by analyticalIntegral(), and getPartIntList().

TIterator* RooProduct::_compRIter [protected]

Definition at line 59 of file RooProduct.h.

TIterator* RooProduct::_compCIter [protected]

do not persist

Definition at line 60 of file RooProduct.h.


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