ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
python.root_pickle.Root_Proxy Class Reference
Inheritance diagram for python.root_pickle.Root_Proxy:
Collaboration diagram for python.root_pickle.Root_Proxy:

Public Member Functions

def __init__ (self, f, pid)
 
def __getattr__ (self, a)
 

Private Member Functions

def __obj (self)
 

Private Attributes

 __f
 
 __pid
 
 __o
 

Static Private Attributes

tuple __slots__ = ('__f', '__pid', '__o')
 

Detailed Description

Definition at line 337 of file root_pickle.py.

Constructor & Destructor Documentation

◆ __init__()

def python.root_pickle.Root_Proxy.__init__ (   self,
  f,
  pid 
)

Definition at line 339 of file root_pickle.py.

339  def __init__ (self, f, pid):
340  self.__f = f
341  self.__pid = intern(pid)
342  self.__o = None
343  return

Member Function Documentation

◆ __getattr__()

def python.root_pickle.Root_Proxy.__getattr__ (   self,
  a 
)

Definition at line 344 of file root_pickle.py.

344  def __getattr__ (self, a):
345  if self.__o is None:
346  self.__o = self.__f.Get (self.__pid)
347  if self.__o.__class__.__module__ != 'ROOT':
348  self.__o.__class__.__module__ = 'ROOT'
349  return getattr (self.__o, a)

◆ __obj()

def python.root_pickle.Root_Proxy.__obj (   self)
private

Definition at line 350 of file root_pickle.py.

350  def __obj (self):
351  if self.__o is None:
352  self.__o = self.__f.Get (self.__pid)
353  if self.__o.__class__.__module__ != 'ROOT':
354  self.__o.__class__.__module__ = 'ROOT'
355  return self.__o

Member Data Documentation

◆ __f

python.root_pickle.Root_Proxy.__f
private

Definition at line 340 of file root_pickle.py.

◆ __o

python.root_pickle.Root_Proxy.__o
private

Definition at line 342 of file root_pickle.py.

◆ __pid

python.root_pickle.Root_Proxy.__pid
private

Definition at line 341 of file root_pickle.py.

◆ __slots__

tuple python.root_pickle.Root_Proxy.__slots__ = ('__f', '__pid', '__o')
staticprivate

Definition at line 338 of file root_pickle.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18