Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooExpensiveObjectCache::ExpensiveObject Class Reference

Definition at line 48 of file RooExpensiveObjectCache.h.

Public Member Functions

 ExpensiveObject ()=default
 
 ExpensiveObject (Int_t uid, const char *ownerName, TObject &payload, RooArgSet const &params)
 Construct ExpensiveObject object for inPayLoad and store reference values for all RooAbsReal and RooAbsCategory parameters in params.
 
 ExpensiveObject (Int_t uid, const ExpensiveObject &other)
 
virtual ~ExpensiveObject ()
 
virtual TClassIsA () const
 
bool matches (TClass *tc, const RooArgSet &params)
 Check object type ;.
 
const char * ownerName () const
 
TObjectpayload ()
 
const TObjectpayload () const
 
void print () const
 
void setPayload (TObject *obj)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
Int_t uid () const
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

std::map< TString, Int_t_catRefParams
 Names and values of discrete-valued reference parameters.
 
TString _ownerName
 Name of RooAbsArg object that is associated to cache contents.
 
TObject_payload = nullptr
 Payload.
 
std::map< TString, double_realRefParams
 Names and values of real-valued reference parameters.
 
Int_t _uid = 0
 Unique element ID ;.
 

#include <RooExpensiveObjectCache.h>

Constructor & Destructor Documentation

◆ ExpensiveObject() [1/3]

RooExpensiveObjectCache::ExpensiveObject::ExpensiveObject ( )
default

◆ ExpensiveObject() [2/3]

RooExpensiveObjectCache::ExpensiveObject::ExpensiveObject ( Int_t  uid,
const char *  ownerName,
TObject payload,
RooArgSet const &  params 
)

Construct ExpensiveObject object for inPayLoad and store reference values for all RooAbsReal and RooAbsCategory parameters in params.

Definition at line 178 of file RooExpensiveObjectCache.cxx.

◆ ExpensiveObject() [3/3]

RooExpensiveObjectCache::ExpensiveObject::ExpensiveObject ( Int_t  uid,
const ExpensiveObject other 
)

Definition at line 203 of file RooExpensiveObjectCache.cxx.

◆ ~ExpensiveObject()

RooExpensiveObjectCache::ExpensiveObject::~ExpensiveObject ( )
virtual

Definition at line 216 of file RooExpensiveObjectCache.cxx.

Member Function Documentation

◆ Class()

static TClass * RooExpensiveObjectCache::ExpensiveObject::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooExpensiveObjectCache::ExpensiveObject::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t RooExpensiveObjectCache::ExpensiveObject::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 71 of file RooExpensiveObjectCache.h.

◆ DeclFileName()

static const char * RooExpensiveObjectCache::ExpensiveObject::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 71 of file RooExpensiveObjectCache.h.

◆ IsA()

virtual TClass * RooExpensiveObjectCache::ExpensiveObject::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 71 of file RooExpensiveObjectCache.h.

◆ matches()

bool RooExpensiveObjectCache::ExpensiveObject::matches ( TClass tc,
const RooArgSet params 
)

Check object type ;.

Definition at line 228 of file RooExpensiveObjectCache.cxx.

◆ ownerName()

const char * RooExpensiveObjectCache::ExpensiveObject::ownerName ( ) const
inline

Definition at line 60 of file RooExpensiveObjectCache.h.

◆ payload() [1/2]

TObject * RooExpensiveObjectCache::ExpensiveObject::payload ( )
inline

Definition at line 58 of file RooExpensiveObjectCache.h.

◆ payload() [2/2]

const TObject * RooExpensiveObjectCache::ExpensiveObject::payload ( ) const
inline

Definition at line 57 of file RooExpensiveObjectCache.h.

◆ print()

void RooExpensiveObjectCache::ExpensiveObject::print ( ) const

Definition at line 271 of file RooExpensiveObjectCache.cxx.

◆ setPayload()

void RooExpensiveObjectCache::ExpensiveObject::setPayload ( TObject obj)
inline

Definition at line 59 of file RooExpensiveObjectCache.h.

◆ Streamer()

virtual void RooExpensiveObjectCache::ExpensiveObject::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void RooExpensiveObjectCache::ExpensiveObject::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 71 of file RooExpensiveObjectCache.h.

◆ uid()

Int_t RooExpensiveObjectCache::ExpensiveObject::uid ( ) const
inline

Definition at line 56 of file RooExpensiveObjectCache.h.

Member Data Documentation

◆ _catRefParams

std::map<TString, Int_t> RooExpensiveObjectCache::ExpensiveObject::_catRefParams
protected

Names and values of discrete-valued reference parameters.

Definition at line 68 of file RooExpensiveObjectCache.h.

◆ _ownerName

TString RooExpensiveObjectCache::ExpensiveObject::_ownerName
protected

Name of RooAbsArg object that is associated to cache contents.

Definition at line 69 of file RooExpensiveObjectCache.h.

◆ _payload

TObject* RooExpensiveObjectCache::ExpensiveObject::_payload = nullptr
protected

Payload.

Definition at line 66 of file RooExpensiveObjectCache.h.

◆ _realRefParams

std::map<TString, double> RooExpensiveObjectCache::ExpensiveObject::_realRefParams
protected

Names and values of real-valued reference parameters.

Definition at line 67 of file RooExpensiveObjectCache.h.

◆ _uid

Int_t RooExpensiveObjectCache::ExpensiveObject::_uid = 0
protected

Unique element ID ;.

Definition at line 65 of file RooExpensiveObjectCache.h.

Libraries for RooExpensiveObjectCache::ExpensiveObject:

The documentation for this class was generated from the following files: