Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooAbsProxy Class Referenceabstract

RooAbsProxy is the abstact interface for proxy classes.

Proxy classes hold pointers to other Roofit objects and process serverRedirect changes so that the proxied pointers are updated accordingly on a clone or copy of of the owning class

Definition at line 37 of file RooAbsProxy.h.

Public Member Functions

 RooAbsProxy ()
 Constructor.
 
 RooAbsProxy (const char *name, const RooAbsProxy &other)
 Copy constructor.
 
virtual ~RooAbsProxy ()
 
virtual TClassIsA () const
 
virtual const char * name () const
 
const RooArgSetnset () const
 
virtual void print (std::ostream &os, bool addContents=false) const
 Print proxy name.
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

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

Protected Member Functions

virtual void changeNormSet (const RooArgSet *newNormSet)
 Destructor.
 
virtual bool changePointer (const RooAbsCollection &newServerSet, bool nameChange=false, bool factoryInitMode=false)=0
 
virtual bool changePointer (std::unordered_map< RooAbsArg *, RooAbsArg * > const &replacements)=0
 

Protected Attributes

RooArgSet_nset = nullptr
 ! Normalization set to be used for evaluation of RooAbsPdf contents
 

Friends

class RooAbsArg
 
class RooAbsPdf
 

#include <RooAbsProxy.h>

Inheritance diagram for RooAbsProxy:
[legend]

Constructor & Destructor Documentation

◆ RooAbsProxy() [1/2]

RooAbsProxy::RooAbsProxy ( )

Constructor.

Definition at line 43 of file RooAbsProxy.cxx.

◆ RooAbsProxy() [2/2]

RooAbsProxy::RooAbsProxy ( const char *  name,
const RooAbsProxy other 
)

Copy constructor.

Definition at line 52 of file RooAbsProxy.cxx.

◆ ~RooAbsProxy()

virtual RooAbsProxy::~RooAbsProxy ( )
inlinevirtual

Definition at line 43 of file RooAbsProxy.h.

Member Function Documentation

◆ changeNormSet()

void RooAbsProxy::changeNormSet ( const RooArgSet newNormSet)
protectedvirtual

Destructor.

Definition at line 61 of file RooAbsProxy.cxx.

◆ changePointer() [1/2]

virtual bool RooAbsProxy::changePointer ( const RooAbsCollection newServerSet,
bool  nameChange = false,
bool  factoryInitMode = false 
)
protectedpure virtual

◆ changePointer() [2/2]

virtual bool RooAbsProxy::changePointer ( std::unordered_map< RooAbsArg *, RooAbsArg * > const &  replacements)
protectedpure virtual

◆ Class()

static TClass * RooAbsProxy::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 69 of file RooAbsProxy.h.

◆ DeclFileName()

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

Definition at line 69 of file RooAbsProxy.h.

◆ IsA()

◆ name()

virtual const char * RooAbsProxy::name ( ) const
inlinevirtual

◆ nset()

const RooArgSet * RooAbsProxy::nset ( ) const
inline

Definition at line 52 of file RooAbsProxy.h.

◆ print()

void RooAbsProxy::print ( std::ostream &  os,
bool  addContents = false 
) const
virtual

◆ Streamer()

◆ StreamerNVirtual()

void RooAbsProxy::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 69 of file RooAbsProxy.h.

Friends And Related Symbol Documentation

◆ RooAbsArg

friend class RooAbsArg
friend

Definition at line 62 of file RooAbsProxy.h.

◆ RooAbsPdf

friend class RooAbsPdf
friend

Definition at line 66 of file RooAbsProxy.h.

Member Data Documentation

◆ _nset

RooArgSet* RooAbsProxy::_nset = nullptr
protected

! Normalization set to be used for evaluation of RooAbsPdf contents

Definition at line 60 of file RooAbsProxy.h.

Libraries for RooAbsProxy:

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