45   func(
"func",
"func",this,
_func),
 
   46   _useCdfBoundaries(false),
 
   71   func(
"func",
"func",this,
_func),
 
   72   _cacheObs(
"cacheObs",
"cacheObs",this,false,false),
 
   73   _useCdfBoundaries(false),
 
   90   func(
"func",this,other.func),
 
   91   _cacheObs(
"cacheObs",this,other._cacheObs),
 
   92   _useCdfBoundaries(other._useCdfBoundaries),
 
   93   _cacheSource(other._cacheSource)
 
  137        coutP(Eval) << 
"RooCachedReal::fillCacheObject(" << 
GetName() << 
") filling " 
  138                    << nCat << 
" + " << nDim-nCat <<
" dimensional cache (" << cache.
hist()->
numEntries() << 
" points)" <<endl;
 
  151  for (
Int_t i=0 ; i<cache.
hist()->numEntries() ; i++) {
 
  154    cache.
hist()->
set(i, binVal, 0.);
 
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
 
RooExpensiveObjectCache & expensiveObjectCache() const
 
bool recursiveRedirectServers(const RooAbsCollection &newServerList, bool mustReplaceAll=false, bool nameChange=false, bool recurseInNewSet=true)
Recursively replace all servers with the new servers in newSet.
 
void setOperMode(OperMode mode, bool recurseADirty=true)
Set the operation mode of this node.
 
RooFit::OwningPtr< RooArgSet > getParameters(const RooAbsData *data, bool stripDisconnected=true) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
 
RooFit::OwningPtr< RooArgSet > getObservables(const RooArgSet &set, bool valueOnly=true) const
Given a set of possible observables, return the observables that this PDF depends on.
 
virtual void setExpensiveObjectCache(RooExpensiveObjectCache &cache)
 
virtual RooAbsArg * cloneTree(const char *newname=nullptr) const
Clone tree expression of objects.
 
OperMode operMode() const
Query the operation mode of this node.
 
RooChangeTracker * paramTracker()
 
void setSourceClone(RooAbsReal *newSource)
 
RooAbsReal * sourceClone()
 
void setCacheSource(bool flag)
 
RooAbsCachedReal is the abstract base class for functions that need or want to cache their evaluate()...
 
virtual FuncCacheElem * createCache(const RooArgSet *nset) const
Interface function to create an internal cache object that represent each cached function configurati...
 
A space to attach TBranches.
 
Int_t getSize() const
Return the number of elements in the collection.
 
virtual Int_t numEntries() const
Return number of entries in dataset, i.e., count unweighted entries.
 
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
 
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
 
RooAbsArg * absArg() const
Return pointer to contained argument.
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
RooCachedReal is an implementation of RooAbsCachedReal that can cache any external RooAbsReal input f...
 
bool _useCdfBoundaries
Are c.d.f boundary conditions used by the RooHistFuncs?
 
void fillCacheObject(FuncCacheElem &cacheFunc) const override
Update contents of cache histogram by resampling the input function.
 
RooFit::OwningPtr< RooArgSet > actualObservables(const RooArgSet &nset) const override
If this pdf is operated with a fixed set of observables, return the subset of the fixed observables t...
 
void operModeHook() override
 
bool _cacheSource
Keep an attached clone of the source in the cache for fast operation.
 
RooRealProxy func
Proxy to function being cached.
 
~RooCachedReal() override
Destructor.
 
FuncCacheElem * createCache(const RooArgSet *nset) const override
Interface function to create an internal cache object that represent each cached function configurati...
 
RooSetProxy _cacheObs
Variables to be cached.
 
RooFit::OwningPtr< RooArgSet > actualParameters(const RooArgSet &nset) const override
If this p.d.f is operated with a fixed set of observables, return all variables of the external input...
 
RooArgSet parameters() const
 
bool add(const RooAbsArg &var, bool valueServer, bool shapeServer, bool silent)
Overloaded RooCollection_t::add() method insert object into set and registers object as server to own...
 
void set(std::size_t binNumber, double weight, double wgtErr)
Set bin content of bin that was last loaded with get(std::size_t).
 
const RooArgSet * get() const override
Get bin centre of current bin.
 
void setCdfBoundaries(bool flag)
Set use of special boundary conditions for c.d.f.s.
 
const T & arg() const
Return reference to object held in proxy.
 
const char * GetName() const override
Returns name of object.
 
T * OwningPtr
An alias for raw pointers for indicating that the return type of a RooFit function is an owning point...