/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
GenTools::Configure Class Reference

List of all members.

Public Member Functions

def __init__
def register

Public Attributes

 generator
 helper

Detailed Description

Definition at line 7 of file __init__.py.


Constructor & Destructor Documentation

def GenTools::Configure::__init__ (   self,
  algname = "Generator",
  genname = "Kinematics",
  helper = None,
  use_sim_subseq = False 
)
Create default configuration for GenTools.  This creates a
GtGenerator algorithm of the given algname and genname and
adds it to the list of top algorithms.  You can then configure
one of various different GenTools.Helpers object and register
them with register().  If you pass a pre-created helper object
in this constructor it will be register()ed for you.

Definition at line 9 of file __init__.py.

00010                                                                                                 :
00011         ''' Create default configuration for GenTools.  This creates a
00012         GtGenerator algorithm of the given algname and genname and
00013         adds it to the list of top algorithms.  You can then configure
00014         one of various different GenTools.Helpers object and register
00015         them with register().  If you pass a pre-created helper object
00016         in this constructor it will be register()ed for you.
00017         '''
00018         self.generator = GenToolsConf.GtGenerator(algname)
00019         self.generator.GenName = genname
00020         if helper:
00021             self.register(helper)
00022         if not use_sim_subseq:
00023             from Gaudi.Configuration import ApplicationMgr
00024             theApp = ApplicationMgr()
00025             theApp.TopAlg.append(self.generator)
00026             pass
00027             
00028         return


Member Function Documentation

def GenTools::Configure::register (   self,
  helper 
)
Register an instance of a specific configuration helper (Gun, HepEVT, etc)

Definition at line 29 of file __init__.py.

00030                               :
00031         '''
00032         Register an instance of a specific configuration helper (Gun, HepEVT, etc)
00033         '''
00034         self.helper = helper
00035         self.generator.GenTools = helper.tools()
00036         return


Member Data Documentation

Definition at line 15 of file __init__.py.

Definition at line 31 of file __init__.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:18:51 for GenTools by doxygen 1.7.4