The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
Configuration.Gaudi_Test_MySuperAlg Class Reference
Inheritance diagram for Configuration.Gaudi_Test_MySuperAlg:
Collaboration diagram for Configuration.Gaudi_Test_MySuperAlg:

Protected Member Functions

 _initGraph (self)
 
- Protected Member Functions inherited from GaudiKernel.Configurable.SuperAlgorithm
 _makeAlg (self, typ, **kwargs)
 
 _visitSubNodes (self, visitor)
 

Additional Inherited Members

- Public Member Functions inherited from GaudiKernel.Configurable.SuperAlgorithm
 __new__ (cls, name=None, **kwargs)
 
 __init__ (self, name=None, **kwargs)
 
 name (self)
 
 getType (cls)
 
 properties (self)
 
 isApplicable (self)
 
 getGaudiType (cls)
 
 __repr__ (self)
 
 __setattr__ (self, name, value)
 
- Public Attributes inherited from GaudiKernel.Configurable.SuperAlgorithm
 graph = self._initGraph()
 
 name
 
- Protected Attributes inherited from GaudiKernel.Configurable.SuperAlgorithm
 _name = name or self.getType()
 

Detailed Description

Example implementation of a SuperAlgorithm specialization.

Definition at line 37 of file Configuration.py.

Member Function Documentation

◆ _initGraph()

Configuration.Gaudi_Test_MySuperAlg._initGraph ( self)
protected
Prepare the graph represented by the SuperAlgorithm.

Reimplemented from GaudiKernel.Configurable.SuperAlgorithm.

Definition at line 42 of file Configuration.py.

42 def _initGraph(self):
43 """
44 Prepare the graph represented by the SuperAlgorithm.
45 """
46 from Configurables import Gaudi__TestSuite__EventCounter as EventCounter
47 from Configurables import Gaudi__TestSuite__Prescaler as Prescaler
48 from Configurables import HelloWorld
49
50 p = self._makeAlg(Prescaler, name="Prescaler", PercentPass=50.0)
51 h = self._makeAlg(HelloWorld, name="HW")
52 c = self._makeAlg(EventCounter, name="Counter")
53 return p & h & c

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