ATLAS Offline Software
Loading...
Searching...
No Matches
python.PyAthena.ModuleFacade Class Reference
Inheritance diagram for python.PyAthena.ModuleFacade:
Collaboration diagram for python.PyAthena.ModuleFacade:

Public Member Functions

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

Private Attributes

 __dict__

Detailed Description

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

Definition at line 177 of file PyAthena.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 181 of file PyAthena.py.

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

Member Function Documentation

◆ __getattr__()

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

Definition at line 202 of file PyAthena.py.

202 def __getattr__(self, k):
203 if k in self.__dict__:
204 return self.__dict__.get(k)
205 if k.startswith('__'):
206 return types.ModuleType.__getattribute__(self, k)
207 if k in __pseudo_all__: v = getattr(PyAthenaComps, k)
208 else: v = _pycat.init(k)
209 object.__getattribute__(self, '__dict__')[k] = v
210 return v
211
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition hcg.cxx:132

Member Data Documentation

◆ __dict__

python.PyAthena.ModuleFacade.__dict__
private

Definition at line 203 of file PyAthena.py.


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