The Gaudi Framework  v30r3 (a5ef0a68)
ViewThenViewTest Namespace Reference

Variables

int evtslots = 1
 
int evtMax = 10
 
int cardinality = 1
 
int threads = 1
 
int viewsPerEvt = 2
 
 whiteboard = HiveWhiteBoard("EventDataSvc", EventSlots=evtslots)
 
 slimeventloopmgr
 
 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=threads, OutputLevel=INFO)
 
 OutputLevel
 
 a1 = Test__ViewTester("A1")
 
 baseViewName
 
 viewNumber
 
 viewNodeName
 
 a2 = Test__ViewTester("A2")
 
 a3 = Test__ViewTester("A3")
 
 a4 = Test__ViewTester("A4")
 
 a5 = Test__ViewTester("A5")
 
 a6 = Test__ViewTester("A6")
 
 a7 = Test__ViewTester("A7")
 
 Cardinality
 
 viewNodeOne
 
 viewNodeTwo
 
 createViewSeq
 
 EvtMax
 
 EvtSel
 
 ExtSvc
 
 EventLoop
 
 TopAlg
 
 MessageSvcType
 

Detailed Description

A test for scheduling multiple sub-event contexts.
The main sequence has two steps of creating and running sub-events.

The ViewTester is an algorithm specifically designed to create sub-event
contexts, pass them to the scheduler, and report on the current context.

Seven instances of ViewTester are used as follows:
 - Algorithm A1 creates two sub-event contexts
   - Algorithms A2 and A3 run within the sub-event contexts
 - Algorithm A4 creates two more sub-event contexts
   - Algorithms A5 and A6 run within the new sub-event contexts
 - Algorithm A7 runs in the whole event context, after the sub-events

Variable Documentation

ViewThenViewTest.a1 = Test__ViewTester("A1")

Definition at line 66 of file ViewThenViewTest.py.

ViewThenViewTest.a2 = Test__ViewTester("A2")

Definition at line 71 of file ViewThenViewTest.py.

ViewThenViewTest.a3 = Test__ViewTester("A3")

Definition at line 74 of file ViewThenViewTest.py.

ViewThenViewTest.a4 = Test__ViewTester("A4")

Definition at line 77 of file ViewThenViewTest.py.

ViewThenViewTest.a5 = Test__ViewTester("A5")

Definition at line 82 of file ViewThenViewTest.py.

ViewThenViewTest.a6 = Test__ViewTester("A6")

Definition at line 85 of file ViewThenViewTest.py.

ViewThenViewTest.a7 = Test__ViewTester("A7")

Definition at line 88 of file ViewThenViewTest.py.

ViewThenViewTest.baseViewName

Definition at line 67 of file ViewThenViewTest.py.

int ViewThenViewTest.cardinality = 1

Definition at line 27 of file ViewThenViewTest.py.

ViewThenViewTest.Cardinality

Definition at line 92 of file ViewThenViewTest.py.

ViewThenViewTest.createViewSeq
Initial value:
1 = GaudiSequencer("createViewSeq",
2  Members=[a1, viewNodeOne, a4, viewNodeTwo, a7],
3  Sequential=True,
4  OutputLevel=VERBOSE)
Sequencer for executing several algorithms, stopping when one is faulty.

Definition at line 105 of file ViewThenViewTest.py.

ViewThenViewTest.EventLoop

Definition at line 116 of file ViewThenViewTest.py.

int ViewThenViewTest.evtMax = 10

Definition at line 26 of file ViewThenViewTest.py.

ViewThenViewTest.EvtMax

Definition at line 113 of file ViewThenViewTest.py.

ViewThenViewTest.EvtSel

Definition at line 114 of file ViewThenViewTest.py.

int ViewThenViewTest.evtslots = 1

Definition at line 25 of file ViewThenViewTest.py.

ViewThenViewTest.ExtSvc

Definition at line 115 of file ViewThenViewTest.py.

ViewThenViewTest.MessageSvcType

Definition at line 118 of file ViewThenViewTest.py.

ViewThenViewTest.OutputLevel

Definition at line 60 of file ViewThenViewTest.py.

ViewThenViewTest.scheduler = AvalancheSchedulerSvc(ThreadPoolSize=threads, OutputLevel=INFO)

Definition at line 54 of file ViewThenViewTest.py.

ViewThenViewTest.slimeventloopmgr
Initial value:
2  SchedulerName="AvalancheSchedulerSvc", OutputLevel=DEBUG)

Definition at line 44 of file ViewThenViewTest.py.

int ViewThenViewTest.threads = 1

Definition at line 28 of file ViewThenViewTest.py.

ViewThenViewTest.TopAlg

Definition at line 117 of file ViewThenViewTest.py.

ViewThenViewTest.viewNodeName

Definition at line 69 of file ViewThenViewTest.py.

ViewThenViewTest.viewNodeOne
Initial value:
1 = GaudiSequencer("viewNodeOne",
2  Members=[a2, a3],
3  Sequential=False,
4  OutputLevel=VERBOSE)
Sequencer for executing several algorithms, stopping when one is faulty.

Definition at line 95 of file ViewThenViewTest.py.

ViewThenViewTest.viewNodeTwo
Initial value:
1 = GaudiSequencer("viewNodeTwo",
2  Members=[a5, a6],
3  Sequential=False,
4  OutputLevel=VERBOSE)
Sequencer for executing several algorithms, stopping when one is faulty.

Definition at line 100 of file ViewThenViewTest.py.

ViewThenViewTest.viewNumber

Definition at line 68 of file ViewThenViewTest.py.

int ViewThenViewTest.viewsPerEvt = 2

Definition at line 29 of file ViewThenViewTest.py.

ViewThenViewTest.whiteboard = HiveWhiteBoard("EventDataSvc", EventSlots=evtslots)

Definition at line 36 of file ViewThenViewTest.py.