The Gaudi Framework  v36r1 (3e2fb5a8)
Mix Namespace Reference

Classes

class  SimpleAlgo
 

Functions

def configure ()
 

Variables

string __author__ = "Vanya BELYAEV Ivan.Belyaev@itep.ru"
 
string __date__ = "2010-04-24"
 
 gaudi = AppMgr()
 
 myAlg3 = SimpleAlgo('Simple3')
 
 seq = gaudi.algorithm('MySequencer')
 

Function Documentation

◆ configure()

def Mix.configure ( )

Definition at line 56 of file Mix.py.

56 def configure():
57 
58  importOptions('Common.opts')
59 
61  TopAlg=[
62  HelloWorld(),
64  'MySequencer',
65  MeasureTime=True,
66  Members=[HelloWorld('Hello1'),
67  HelloWorld('Hello2')])
68  ],
69  # do not use any event input
70  EvtSel='NONE')
71 
72  gaudi = AppMgr()
73 
74  # create two "identical" algorithms:
75 
76  myAlg1 = SimpleAlgo('Simple1')
77  myAlg2 = SimpleAlgo('Simple2')
78 
79  # Adding something into TopAlg-sequence is OK:
80  gaudi.setAlgorithms([myAlg1] + gaudi.TopAlg)
81 
82  # Extending of "other"-sequences causes failures:
83  seq = gaudi.algorithm('MySequencer')
84 
85  seq.Members += ['HelloWorld/Hello3'] # it is ok
86  seq.Members += [myAlg2.name()] # it fails
87 
88  cpp.StatusCode.enableChecking()
89 
90 

Variable Documentation

◆ __author__

string Mix.__author__ = "Vanya BELYAEV Ivan.Belyaev@itep.ru"
private

Definition at line 24 of file Mix.py.

◆ __date__

string Mix.__date__ = "2010-04-24"
private

Definition at line 25 of file Mix.py.

◆ gaudi

Mix.gaudi = AppMgr()

Definition at line 103 of file Mix.py.

◆ myAlg3

Mix.myAlg3 = SimpleAlgo('Simple3')

Definition at line 109 of file Mix.py.

◆ seq

Mix.seq = gaudi.algorithm('MySequencer')

Definition at line 111 of file Mix.py.

Mix.configure
def configure()
Definition: Mix.py:56
HelloWorld
Definition: HelloWorld.h:24
GaudiKernel.ProcessJobOptions.importOptions
def importOptions(optsfile)
Definition: ProcessJobOptions.py:491
GaudiSequencer
Definition: GaudiSequencer.h:38
ApplicationMgr
Definition: ApplicationMgr.h:57