Base class from which all concrete algtool classes should be derived.
Definition at line 231 of file PyAthenaComps.py.
◆ __init__()
def python.PyAthenaComps.AlgTool.__init__ |
( |
|
self, |
|
|
|
name = None , |
|
|
|
parent = None , |
|
|
** |
kw |
|
) |
| |
Definition at line 236 of file PyAthenaComps.py.
236 def __init__(self, name=None, parent=None, **kw):
237 kw.setdefault(
'OutputLevel', 3)
238 if name
is None: name = kw.get(
'name', self.__class__.__name__)
239 if not (parent
is None):
240 if isinstance(parent, str): name =
"%s.%s" % (parent,name)
241 else: name =
"%s.%s" % (parent.name(),name)
243 super(AlgTool, self).
__init__(name, **kw)
244 self._pyath_evtstore =
None
245 self._pyath_detstore =
None
246 self._pyath_condstore =
None
247 self.__component_type__ =
"AlgTool"
◆ condStore()
def python.PyAthenaComps.AlgTool.condStore |
( |
|
self | ) |
|
Definition at line 265 of file PyAthenaComps.py.
266 if not self._pyath_condstore:
267 import AthenaPython.PyAthena
as PyAthena
268 self._pyath_condstore = PyAthena.py_svc(
'StoreGateSvc/ConditionStore')
269 return self._pyath_condstore
◆ detStore()
def python.PyAthenaComps.AlgTool.detStore |
( |
|
self | ) |
|
Definition at line 258 of file PyAthenaComps.py.
259 if not self._pyath_detstore:
260 import AthenaPython.PyAthena
as PyAthena
261 self._pyath_detstore = PyAthena.py_svc(
'StoreGateSvc/DetectorStore')
262 return self._pyath_detstore
◆ evtStore()
def python.PyAthenaComps.AlgTool.evtStore |
( |
|
self | ) |
|
Definition at line 251 of file PyAthenaComps.py.
252 if not self._pyath_evtstore:
253 import AthenaPython.PyAthena
as PyAthena
254 self._pyath_evtstore = PyAthena.py_svc(
'StoreGateSvc/StoreGateSvc')
255 return self._pyath_evtstore
◆ finalize()
def python.PyAthenaComps.AlgTool.finalize |
( |
|
self | ) |
|
Definition at line 297 of file PyAthenaComps.py.
298 raise NotImplementedError(
299 "You have to implement PyAthena.AlgTool.finalize() !"
◆ initialize()
def python.PyAthenaComps.AlgTool.initialize |
( |
|
self | ) |
|
Definition at line 278 of file PyAthenaComps.py.
279 raise NotImplementedError(
280 "You have to implement PyAthena.AlgTool.initialize() !"
◆ reinitialize()
def python.PyAthenaComps.AlgTool.reinitialize |
( |
|
self | ) |
|
Definition at line 290 of file PyAthenaComps.py.
290 def reinitialize(self):
291 self.msg.
info(
"==> re-initialize..." )
292 return StatusCode.Success
◆ sysFinalize()
def python.PyAthenaComps.AlgTool.sysFinalize |
( |
|
self | ) |
|
Definition at line 294 of file PyAthenaComps.py.
294 def sysFinalize(self):
295 return self.finalize()
◆ sysInitialize()
def python.PyAthenaComps.AlgTool.sysInitialize |
( |
|
self | ) |
|
Definition at line 271 of file PyAthenaComps.py.
271 def sysInitialize(self):
272 if hasattr(self,
'OutputLevel'):
276 return self.initialize()
◆ sysReinitialize()
def python.PyAthenaComps.AlgTool.sysReinitialize |
( |
|
self | ) |
|
Definition at line 283 of file PyAthenaComps.py.
283 def sysReinitialize(self):
284 if hasattr(self,
'OutputLevel'):
288 return self.reinitialize()
◆ __component_type__
python.PyAthenaComps.AlgTool.__component_type__ |
|
private |
◆ _pyath_condstore
python.PyAthenaComps.AlgTool._pyath_condstore |
|
private |
◆ _pyath_detstore
python.PyAthenaComps.AlgTool._pyath_detstore |
|
private |
◆ _pyath_evtstore
python.PyAthenaComps.AlgTool._pyath_evtstore |
|
private |
The documentation for this class was generated from the following file: