ATLAS Offline Software
Public Member Functions | List of all members
python.PyAthena.ModuleFacade Class Reference
Inheritance diagram for python.PyAthena.ModuleFacade:
Collaboration diagram for python.PyAthena.ModuleFacade:

Public Member Functions

def __init__ (self, module)
 
def __getattr__ (self, k)
 

Detailed Description

a helper class to allow easy retrieval of automatically generated
configurables (stolen from PyRoot)

Definition at line 178 of file PyAthena.py.

Constructor & Destructor Documentation

◆ __init__()

def python.PyAthena.ModuleFacade.__init__ (   self,
  module 
)

Definition at line 182 of file PyAthena.py.

182  def __init__( self, module ):
183  types.ModuleType.__init__(self, module.__name__)
184  self.__dict__[ 'module' ] = module
185  self.__dict__[ '__doc__' ] = module.__doc__
186  self.__dict__[ '__name__' ] = module.__name__
187  self.__dict__[ '__file__' ] = module.__file__
188 
189  from .Bindings import py_svc
190  self.__dict__ ['py_svc'] = py_svc
191 
192  from .Bindings import py_tool
193  self.__dict__ ['py_tool'] = py_tool
194 
195  from .Bindings import py_alg
196  self.__dict__ ['py_alg'] = py_alg
197 
198  self.__dict__ ['load_library'] = load_library
199  self.__dict__ ['find_library'] = find_library
200  self.__dict__ ['reload_module'] = reload_module
201  self.__dict__ ['py_reload'] = py_reload
202 

Member Function Documentation

◆ __getattr__()

def python.PyAthena.ModuleFacade.__getattr__ (   self,
  k 
)

Definition at line 203 of file PyAthena.py.

203  def __getattr__(self, k):
204  if k in self.__dict__:
205  return self.__dict__.get(k)
206  if k.startswith('__'):
207  return types.ModuleType.__getattribute__(self, k)
208  if k in __pseudo_all__: v = getattr(PyAthenaComps, k)
209  else: v = _pycat.init(k)
210  object.__getattribute__(self, '__dict__')[k] = v
211  return v
212 

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
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition: hcg.cxx:127