#ifndef ROONUMRUNNINGINT
#define ROONUMRUNNINGINT
#include "RooAbsCachedReal.h"
#include "RooRealProxy.h"
#include "RooAbsReal.h"
class RooNumRunningInt : public RooAbsCachedReal {
public:
RooNumRunningInt(const char *name, const char *title, RooAbsReal& _func, RooRealVar& _x, const char* binningName="cache");
RooNumRunningInt(const RooNumRunningInt& other, const char* name=0) ;
virtual TObject* clone(const char* newname) const { return new RooNumRunningInt(*this,newname); }
virtual ~RooNumRunningInt() ;
protected:
class RICacheElem: public FuncCacheElem {
public:
RICacheElem(const RooNumRunningInt& ri, const RooArgSet* nset) ;
~RICacheElem() ;
virtual RooArgList containedArgs(Action) ;
void calculate(Bool_t cdfmode) ;
void addRange(Int_t ixlo, Int_t ixhi, Int_t nbins) ;
void addPoint(Int_t ix) ;
RooNumRunningInt* _self ;
Double_t* _ax ;
Double_t* _ay ;
RooRealVar* _xx ;
} ;
friend class RICacheElem ;
virtual const char* binningName() const { return _binningName.c_str() ; }
virtual FuncCacheElem* createCache(const RooArgSet* nset) const ;
virtual const char* inputBaseName() const ;
virtual RooArgSet* actualObservables(const RooArgSet& nset) const ;
virtual RooArgSet* actualParameters(const RooArgSet& nset) const ;
virtual void fillCacheObject(FuncCacheElem& cacheFunc) const ;
virtual Double_t evaluate() const ;
RooRealProxy func ;
RooRealProxy x ;
std::string _binningName ;
private:
ClassDef(RooNumRunningInt,1)
};
#endif
Last change: Mon Aug 25 11:36:41 2008
Last generated: 2008-08-25 11:36
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.