The Gaudi Framework  v32r2 (46d42edc)
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

◆ a1

ViewThenViewTest.a1 = Test__ViewTester("A1")

Definition at line 65 of file ViewThenViewTest.py.

◆ a2

ViewThenViewTest.a2 = Test__ViewTester("A2")

Definition at line 70 of file ViewThenViewTest.py.

◆ a3

ViewThenViewTest.a3 = Test__ViewTester("A3")

Definition at line 73 of file ViewThenViewTest.py.

◆ a4

ViewThenViewTest.a4 = Test__ViewTester("A4")

Definition at line 76 of file ViewThenViewTest.py.

◆ a5

ViewThenViewTest.a5 = Test__ViewTester("A5")

Definition at line 81 of file ViewThenViewTest.py.

◆ a6

ViewThenViewTest.a6 = Test__ViewTester("A6")

Definition at line 84 of file ViewThenViewTest.py.

◆ a7

ViewThenViewTest.a7 = Test__ViewTester("A7")

Definition at line 87 of file ViewThenViewTest.py.

◆ baseViewName

ViewThenViewTest.baseViewName

Definition at line 66 of file ViewThenViewTest.py.

◆ cardinality

int ViewThenViewTest.cardinality = 1

Definition at line 26 of file ViewThenViewTest.py.

◆ Cardinality

ViewThenViewTest.Cardinality

Definition at line 91 of file ViewThenViewTest.py.

◆ createViewSeq

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

Definition at line 100 of file ViewThenViewTest.py.

◆ EventLoop

ViewThenViewTest.EventLoop

Definition at line 113 of file ViewThenViewTest.py.

◆ evtMax

int ViewThenViewTest.evtMax = 10

Definition at line 25 of file ViewThenViewTest.py.

◆ EvtMax

ViewThenViewTest.EvtMax

Definition at line 110 of file ViewThenViewTest.py.

◆ EvtSel

ViewThenViewTest.EvtSel

Definition at line 111 of file ViewThenViewTest.py.

◆ evtslots

int ViewThenViewTest.evtslots = 1

Definition at line 24 of file ViewThenViewTest.py.

◆ ExtSvc

ViewThenViewTest.ExtSvc

Definition at line 112 of file ViewThenViewTest.py.

◆ MessageSvcType

ViewThenViewTest.MessageSvcType

Definition at line 115 of file ViewThenViewTest.py.

◆ OutputLevel

ViewThenViewTest.OutputLevel

Definition at line 59 of file ViewThenViewTest.py.

◆ scheduler

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

Definition at line 53 of file ViewThenViewTest.py.

◆ slimeventloopmgr

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

Definition at line 43 of file ViewThenViewTest.py.

◆ threads

int ViewThenViewTest.threads = 1

Definition at line 27 of file ViewThenViewTest.py.

◆ TopAlg

ViewThenViewTest.TopAlg

Definition at line 114 of file ViewThenViewTest.py.

◆ viewNodeName

ViewThenViewTest.viewNodeName

Definition at line 68 of file ViewThenViewTest.py.

◆ viewNodeOne

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

Definition at line 94 of file ViewThenViewTest.py.

◆ viewNodeTwo

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

Definition at line 97 of file ViewThenViewTest.py.

◆ viewNumber

ViewThenViewTest.viewNumber

Definition at line 67 of file ViewThenViewTest.py.

◆ viewsPerEvt

int ViewThenViewTest.viewsPerEvt = 2

Definition at line 28 of file ViewThenViewTest.py.

◆ whiteboard

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

Definition at line 35 of file ViewThenViewTest.py.