#ifndef ROOCACHEDPDF
#define ROOCACHEDPDF
#include "RooAbsCachedPdf.h"
#include "RooRealProxy.h"
#include "RooAbsReal.h"
class RooCachedPdf : public RooAbsCachedPdf {
public:
RooCachedPdf(const char *name, const char *title, RooAbsPdf& _pdf, const RooArgSet& cacheObs);
RooCachedPdf(const char *name, const char *title, RooAbsPdf& _pdf);
RooCachedPdf(const RooCachedPdf& other, const char* name=0) ;
virtual TObject* clone(const char* newname) const { return new RooCachedPdf(*this,newname); }
virtual ~RooCachedPdf() ;
virtual void preferredObservableScanOrder(const RooArgSet& obs, RooArgSet& orderedObs) const ;
protected:
virtual const char* inputBaseName() const {
return pdf.arg().GetName() ;
} ;
virtual RooArgSet* actualObservables(const RooArgSet& nset) const ;
virtual RooArgSet* actualParameters(const RooArgSet& nset) const ;
virtual void fillCacheObject(PdfCacheElem& cachePdf) const ;
virtual Double_t evaluate() const {
return 0 ;
}
RooRealProxy pdf ;
RooSetProxy _cacheObs ;
private:
ClassDef(RooCachedPdf,1)
};
#endif
Last change: Wed Jun 25 08:32:13 2008
Last generated: 2008-06-25 08:32
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.