The Gaudi Framework  v31r0 (aeb156f0)
BasicViewTest 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")
 
 Cardinality
 
 viewNode
 
 createViewSeq
 
 EvtMax
 
 EvtSel
 
 ExtSvc
 
 EventLoop
 
 TopAlg
 
 MessageSvcType
 

Detailed Description

A test for basic functionality of sub-event scheduling.
Algorithms A2 and A3 should run twice per event, in sub-event contexts.

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

Four 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 runs in the whole event context, after the sub-events

Variable Documentation

BasicViewTest.a1 = Test__ViewTester("A1")

Definition at line 63 of file BasicViewTest.py.

BasicViewTest.a2 = Test__ViewTester("A2")

Definition at line 68 of file BasicViewTest.py.

BasicViewTest.a3 = Test__ViewTester("A3")

Definition at line 71 of file BasicViewTest.py.

BasicViewTest.a4 = Test__ViewTester("A4")

Definition at line 74 of file BasicViewTest.py.

BasicViewTest.baseViewName

Definition at line 64 of file BasicViewTest.py.

int BasicViewTest.cardinality = 1

Definition at line 24 of file BasicViewTest.py.

BasicViewTest.Cardinality

Definition at line 78 of file BasicViewTest.py.

BasicViewTest.createViewSeq
Initial value:
2  "createViewSeq",
3  Members=[a1, viewNode, a4],
4  Sequential=True,
5  OutputLevel=INFO)
Sequencer for executing several algorithms, stopping when one is faulty.

Definition at line 84 of file BasicViewTest.py.

BasicViewTest.EventLoop

Definition at line 97 of file BasicViewTest.py.

int BasicViewTest.evtMax = 10

Definition at line 23 of file BasicViewTest.py.

BasicViewTest.EvtMax

Definition at line 94 of file BasicViewTest.py.

BasicViewTest.EvtSel

Definition at line 95 of file BasicViewTest.py.

int BasicViewTest.evtslots = 1

Definition at line 22 of file BasicViewTest.py.

BasicViewTest.ExtSvc

Definition at line 96 of file BasicViewTest.py.

BasicViewTest.MessageSvcType

Definition at line 99 of file BasicViewTest.py.

BasicViewTest.OutputLevel

Definition at line 57 of file BasicViewTest.py.

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

Definition at line 51 of file BasicViewTest.py.

BasicViewTest.slimeventloopmgr
Initial value:
2  SchedulerName="AvalancheSchedulerSvc", OutputLevel=INFO)

Definition at line 41 of file BasicViewTest.py.

int BasicViewTest.threads = 1

Definition at line 25 of file BasicViewTest.py.

BasicViewTest.TopAlg

Definition at line 98 of file BasicViewTest.py.

BasicViewTest.viewNode
Initial value:
2  "viewNode", Members=[a2, a3], Sequential=False, OutputLevel=INFO)
Sequencer for executing several algorithms, stopping when one is faulty.

Definition at line 81 of file BasicViewTest.py.

BasicViewTest.viewNodeName

Definition at line 66 of file BasicViewTest.py.

BasicViewTest.viewNumber

Definition at line 65 of file BasicViewTest.py.

int BasicViewTest.viewsPerEvt = 2

Definition at line 26 of file BasicViewTest.py.

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

Definition at line 33 of file BasicViewTest.py.