13A test for issue 13 in gitlab. 
   14Two different sets of sub-event contexts are created, and the 
   15same algorithms (attached to a common control flow node) run in each 
   17The ViewTester is an algorithm specifically designed to create sub-event 
   18contexts, pass them to the scheduler, and report on the current context. 
   20Five instances of ViewTester are used as follows: 
   21 - Algorithm A1 creates two sub-event contexts 
   22   - Algorithms A2 and A3 run within the sub-event contexts 
   23 - Algorithm A4 creates two more sub-event contexts 
   24   - Algorithms A2 and A3 run again, in the new contexts 
   25 - Algorithm A5 runs in the whole event context, after the sub-events 
   29from Configurables 
import (
 
   31    AvalancheSchedulerSvc,
 
   61    SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=INFO
 
   83a1 = Test__ViewTester(
"A1")
 
   84a1.baseViewName = 
"viewOne" 
   85a1.viewNumber = viewsPerEvt
 
   86a1.viewNodeName = 
"viewNodeOne" 
   88a2 = Test__ViewTester(
"A2")
 
   91a3 = Test__ViewTester(
"A3")
 
   94a4 = Test__ViewTester(
"A4")
 
   95a4.baseViewName = 
"viewTwo" 
   96a4.viewNumber = viewsPerEvt
 
   97a4.viewNodeName = 
"viewNodeTwo" 
   99a5 = Test__ViewTester(
"A5")
 
  102for algo 
in [a1, a2, a3, a4, a5]:
 
  103    algo.Cardinality = cardinality
 
  104    algo.OutputLevel = INFO
 
  106extraNode = Gaudi__Sequencer(
 
  107    "extraNode", Members=[a2, a3], Sequential=
True, OutputLevel=INFO
 
  110viewNodeOne = Gaudi__Sequencer(
 
  118viewNodeTwo = Gaudi__Sequencer(
 
  126createViewSeq = Gaudi__Sequencer(
 
  128    Members=[a1, viewNodeOne, a4, viewNodeTwo, a5],
 
  140    EventLoop=slimeventloopmgr,
 
  141    TopAlg=[createViewSeq],
 
  142    MessageSvcType=
"InertMessageSvc",
 
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
 
The Application Manager class.