1 #ifndef ROO_SIMPLE_CACHE_SENTRY
2 #define ROO_SIMPLE_CACHE_SENTRY
4 #include "RooRealVar.h"
5 #include "RooSetProxy.h"
18 void addVars(
const RooAbsCollection &vars) ;
19 void addFunc(
const RooAbsArg &func,
const RooArgSet *obs=0) ;
20 bool good()
const {
return !isValueDirty(); }
22 void reset() { clearValueDirty(); }
28 virtual Bool_t
operator==(
const RooAbsArg& other) {
return this == &other; }
30 virtual void copyCache(
const RooAbsArg*
source, Bool_t valueOnly=kFALSE, Bool_t setValDirty=kTRUE) {}
virtual void fillTreeBranch(TTree &t)
virtual Bool_t operator==(const RooAbsArg &other)
virtual TObject * clone(const char *newname) const
virtual void writeToStream(ostream &os, Bool_t compact) const
virtual void attachToTree(TTree &t, Int_t bufSize=32000)
virtual void attachToVStore(RooVectorDataStore &vstore)
virtual void syncCache(const RooArgSet *nset=0)
virtual void setTreeBranchStatus(TTree &t, Bool_t active)
virtual void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDirty=kTRUE)
void addVars(const RooAbsCollection &vars)
virtual RooAbsArg * createFundamental(const char *newname=0) const
const RooArgSet & deps() const
void addVar(const RooRealVar &var)
void addFunc(const RooAbsArg &func, const RooArgSet *obs=0)
virtual Bool_t readFromStream(istream &is, Bool_t compact, Bool_t verbose=kFALSE)