#ifndef ROO_PRODUCT
#define ROO_PRODUCT
#include "RooAbsReal.h"
#include "RooSetProxy.h"
#include "RooCacheManager.h"
#include "RooObjCacheManager.h"
#include <vector>
#include <utility>
class RooRealVar;
class RooArgList ;
class RooProduct : public RooAbsReal {
public:
RooProduct() ;
RooProduct(const char *name, const char *title, const RooArgSet& _prodSet) ;
RooProduct(const RooProduct& other, const char* name = 0);
virtual TObject* clone(const char* newname) const { return new RooProduct(*this, newname); }
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;
virtual ~RooProduct() ;
class ProdMap ;
protected:
RooSetProxy _compRSet ;
RooSetProxy _compCSet ;
TIterator* _compRIter ;
TIterator* _compCIter ;
class CacheElem : public RooAbsCacheElement {
public:
virtual ~CacheElem();
RooArgList _prodList ;
RooArgList _ownedList ;
virtual RooArgList containedArgs(Action) ;
};
mutable RooObjCacheManager _cacheMgr ;
Double_t calculate(const RooArgList& partIntList) const;
Double_t evaluate() const;
const char* makeFPName(const char *pfx,const RooArgSet& terms) const ;
ProdMap* groupProductTerms(const RooArgSet&) const;
Int_t getPartIntList(const RooArgSet* iset, const char *rangeName=0) const;
ClassDef(RooProduct,1)
};
#endif
Last change: Fri Oct 31 17:54:03 2008
Last generated: 2008-10-31 17:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.