The Gaudi Framework  v30r3 (a5ef0a68)
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 64 of file BasicViewTest.py.

BasicViewTest.a2 = Test__ViewTester("A2")

Definition at line 69 of file BasicViewTest.py.

BasicViewTest.a3 = Test__ViewTester("A3")

Definition at line 72 of file BasicViewTest.py.

BasicViewTest.a4 = Test__ViewTester("A4")

Definition at line 75 of file BasicViewTest.py.

BasicViewTest.baseViewName

Definition at line 65 of file BasicViewTest.py.

int BasicViewTest.cardinality = 1

Definition at line 25 of file BasicViewTest.py.

BasicViewTest.Cardinality

Definition at line 79 of file BasicViewTest.py.

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

Definition at line 87 of file BasicViewTest.py.

BasicViewTest.EventLoop

Definition at line 98 of file BasicViewTest.py.

int BasicViewTest.evtMax = 10

Definition at line 24 of file BasicViewTest.py.

BasicViewTest.EvtMax

Definition at line 95 of file BasicViewTest.py.

BasicViewTest.EvtSel

Definition at line 96 of file BasicViewTest.py.

int BasicViewTest.evtslots = 1

Definition at line 23 of file BasicViewTest.py.

BasicViewTest.ExtSvc

Definition at line 97 of file BasicViewTest.py.

BasicViewTest.MessageSvcType

Definition at line 100 of file BasicViewTest.py.

BasicViewTest.OutputLevel

Definition at line 58 of file BasicViewTest.py.

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

Definition at line 52 of file BasicViewTest.py.

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

Definition at line 42 of file BasicViewTest.py.

int BasicViewTest.threads = 1

Definition at line 26 of file BasicViewTest.py.

BasicViewTest.TopAlg

Definition at line 99 of file BasicViewTest.py.

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

Definition at line 82 of file BasicViewTest.py.

BasicViewTest.viewNodeName

Definition at line 67 of file BasicViewTest.py.

BasicViewTest.viewNumber

Definition at line 66 of file BasicViewTest.py.

int BasicViewTest.viewsPerEvt = 2

Definition at line 27 of file BasicViewTest.py.

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

Definition at line 34 of file BasicViewTest.py.