#ifndef ROOCACHEDREAL
#define ROOCACHEDREAL
#include "RooAbsCachedReal.h"
#include "RooRealProxy.h"
#include "RooAbsReal.h"
class RooCachedReal : public RooAbsCachedReal {
public:
RooCachedReal(const char *name, const char *title, RooAbsReal& _func);
RooCachedReal(const RooCachedReal& other, const char* name=0) ;
virtual TObject* clone(const char* newname) const { return new RooCachedReal(*this,newname); }
virtual ~RooCachedReal() ;
void setCdfBoundaries(Bool_t flag) {
_useCdfBoundaries = flag ;
}
Bool_t getCdfBoundaries() const {
return _useCdfBoundaries ;
}
protected:
virtual const char* inputBaseName() const {
return func.arg().GetName() ;
} ;
virtual RooArgSet* actualObservables(const RooArgSet& nset) const {
return func.arg().getObservables(nset) ;
}
virtual RooArgSet* actualParameters(const RooArgSet& nset) const {
return func.arg().getParameters(nset) ;
}
virtual void fillCacheObject(FuncCacheElem& cacheFunc) const ;
virtual Double_t evaluate() const {
return 0 ;
}
RooRealProxy func ;
Bool_t _useCdfBoundaries ;
private:
ClassDef(RooCachedReal,1)
};
#endif
Last change: Wed Jun 25 08:32:14 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.