class RooExpensiveObjectCache::ExpensiveObject



RooExpensiveObjectCache is a singleton class that serves as repository for objects that are expensive to calculate. Owners of such objects can registers these here with associated parameter values for which the object is valid, so that other instances can, at a later moment retrieve these precalculated objects

Function Members (Methods)

public:
virtual~ExpensiveObject()
static TClass*Class()
RooExpensiveObjectCache::ExpensiveObjectExpensiveObject()
RooExpensiveObjectCache::ExpensiveObjectExpensiveObject(const RooExpensiveObjectCache::ExpensiveObject& other)
RooExpensiveObjectCache::ExpensiveObjectExpensiveObject(const char* ownerName, TObject& payload, TIterator* paramIter)
virtual TClass*IsA() const
Bool_tmatches(TClass* tc, const RooArgSet& params)
RooExpensiveObjectCache::ExpensiveObject&operator=(const RooExpensiveObjectCache::ExpensiveObject&)
const char*ownerName() const
const TObject*payload() const
TObject*payload()
voidprint()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
map<TString,Int_t>_catRefParamsNames and values of discrete-valued reference parameters
TString_ownerNameName of RooAbsArg object that is associated to cache contents
TObject*_payloadPayload
map<TString,Double_t>_realRefParamsNames and values of real-valued reference parameters

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

ExpensiveObject(const char* ownerName, TObject& payload, TIterator* paramIter)
 Construct ExpensiveObject oject for inPayLoad and store reference values
 for all RooAbsReal and RooAbsCategory parameters in params.
ExpensiveObject(const RooExpensiveObjectCache::ExpensiveObject& other)
~ExpensiveObject()
Bool_t matches(TClass* tc, const RooArgSet& params)
 Check object type ;
void print()
ExpensiveObject(const RooExpensiveObjectCache::ExpensiveObject& other)
{ _payload = 0 ; }
const TObject* payload()
{ return _payload ; }
TObject* payload()
{ return _payload ; }
const char* ownerName()
{ return _ownerName.Data() ; }

Last change: Thu Nov 13 09:42:40 2008
Last generated: 2008-11-13 09:42
Copyright (c) 2000-2005, Regents of the University of California *

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.