12 #ifndef ROOABSCACHEDREAL
13 #define ROOABSCACHEDREAL
110 mutable std::map<Int_t,std::pair<const RooArgSet*,const RooArgSet*> >
_anaIntMap ;
TString cacheNameSuffix(const RooArgSet &nset) const
Construct unique suffix name for cache p.d.f object.
void setInterpolationOrder(Int_t order)
Set interpolation order of RooHistFunct representing cache histogram.
RooAbsReal * _sourceClone
void disableCache(Bool_t flag)
RooChangeTracker * _paramTracker
virtual Double_t getValV(const RooArgSet *set=0) const
Implementation of getVal() overriding default implementation of RooAbsReal.
Bool_t _disableCache
Map for analytical integration codes.
virtual FuncCacheElem * createCache(const RooArgSet *nset) const
Interface function to create an internal cache object that represent each cached function configurati...
std::map< Int_t, std::pair< const RooArgSet *, const RooArgSet * > > _anaIntMap
virtual const char * inputBaseName() const =0
FuncCacheElem * getCache(const RooArgSet *nset) const
Retrieve cache corresponding to observables in nset.
RooDataSet is a container class to hold N-dimensional binned data.
#define ClassDef(name, id)
RooHistFunc implements a real-valued function sampled from a multidimensional histogram.
virtual const char * payloadUniqueSuffix() const
RooChangeTracker * paramTracker()
RooAbsReal * sourceClone()
virtual Bool_t selfNormalized() const
RooAbsCachedReal is the abstract base class for functions that need or want to cache their evaluate()...
Int_t getInterpolationOrder() const
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
void setCacheSource(Bool_t flag)
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
virtual RooArgList containedArgs(Action)
Return list of contained RooAbsArg objects.
friend class FuncCacheElem
virtual Bool_t forceAnalyticalInt(const RooAbsArg &) const
FuncCacheElem(const RooAbsCachedReal &self, const RooArgSet *nset)
Constructor of cache storage unit class.
void clearCacheObject(FuncCacheElem &cache) const
Mark all bins as unitialized (value -1)
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual RooArgSet * actualParameters(const RooArgSet &nset) const =0
Class RooObjCacheManager is an implementation of class RooCacheManager<RooAbsCacheElement> and specia...
Int_t _ipOrder
The cache manager.
RooObjCacheManager _cacheMgr
RooChangeTracker is a meta object that tracks value changes in a given set of RooAbsArgs by registeri...
virtual void fillCacheObject(FuncCacheElem &cache) const =0
virtual void printCompactTreeHook(std::ostream &, const char *, Int_t, Int_t)
Print contents of cache when printing self as part of object tree.
void setSourceClone(RooAbsReal *newSource)
virtual RooArgSet * actualObservables(const RooArgSet &nset) const =0
virtual Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
Return analytical integration capabilities of the RooHistFunc that corresponds to the set of observab...
virtual const char * binningName() const
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual ~RooAbsCachedReal()
Destructor.
virtual Double_t analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
Forward call to implementation in relevant RooHistFunc instance.