| The Gaudi Framework v32r1 (f65d50dc)

Variables
ManySmallAlgs Namespace Reference

## Variables
int | evtslots = 5
int | evtMax = 1000
int | cardinality = 10
int | threads = 5
bool | nested = True
bool | sequence = True
float | filterPass = 50.0
| whiteboard
| slimeventloopmgr
| scheduler
| OutputLevel
list | allAlgs = []
| alg = Prescaler("alg" + str(i))
| Cardinality
| PercentPass
| baseSeq
list | allSeqs = []
list | allSeqSeqs = []
list | seqAlgs = allAlgs[10 * i:10 * (i + 1)]
| seq
list | seqSeqs = allSeqs[10 * i:10 * (i + 1)]
| filterAlg = Prescaler("filterAlg" + str(i))
| Members
| EvtMax
| EvtSel
| ExtSvc
| EventLoop
| TopAlg
| MessageSvcType

## Detailed Description

    A totally synthetic test of scheduler performance, with a large number of CF nodes and algorithms, but each algorithm does no work.

    In the flat mode (nested=False) 1000 algorithms are added directly to the base CF node as a baseline measurement.

    In nested mode the algorithms are grouped into sets of under a parent CF node.
    Those nodes are then given 2 different CF node parents (20 in total) which include a prescale algorithm.

    In sequential mode (sequence=True) the prescale algorithms will randomly deactivate CF nodes at a frequency given by filterPass

## Variable Documentation

## ◆ alg

ManySmallAlgs.alg = Prescaler("alg" + str(i))

Definition at line 69 of file ManySmallAlgs.py.

## ◆ allAlgs

list ManySmallAlgs.allAlgs = []

Definition at line 67 of file ManySmallAlgs.py.

## ◆ allSeqs

list ManySmallAlgs.allSeqs = []

Definition at line 84 of file ManySmallAlgs.py.

## ◆ allSeqSeqs

list ManySmallAlgs.allSeqSeqs = []

Definition at line 85 of file ManySmallAlgs.py.

## ◆ baseSeq

ManySmallAlgs.baseSeq

Initial value:
1 = GaudiSequencer(
2 "baseSeq",
3 Members=allAlgs,
4 Sequential=sequence,
5 ModeOR=True,
6 ShortCircuit=False,
7 OutputLevel=FATAL)
GaudiSequencer
Sequencer for executing several algorithms, stopping when one is faulty.
Definition: GaudiSequencer.h:28

Definition at line 75 of file ManySmallAlgs.py.

## ◆ cardinality

int ManySmallAlgs.cardinality = 10

Definition at line 21 of file ManySmallAlgs.py.

## ◆ Cardinality

ManySmallAlgs.Cardinality

Definition at line 71 of file ManySmallAlgs.py.

## ◆ EventLoop

ManySmallAlgs.EventLoop

Definition at line 141 of file ManySmallAlgs.py.

## ◆ evtMax

int ManySmallAlgs.evtMax = 1000

Definition at line 20 of file ManySmallAlgs.py.

## ◆ EvtMax

ManySmallAlgs.EvtMax

Definition at line 138 of file ManySmallAlgs.py.

## ◆ EvtSel

ManySmallAlgs.EvtSel

Definition at line 139 of file ManySmallAlgs.py.

## ◆ evtslots

int ManySmallAlgs.evtslots = 5

Definition at line 19 of file ManySmallAlgs.py.

## ◆ ExtSvc

ManySmallAlgs.ExtSvc

Definition at line 140 of file ManySmallAlgs.py.

## ◆ filterAlg

ManySmallAlgs.filterAlg = Prescaler("filterAlg" + str(i))

Definition at line 101 of file ManySmallAlgs.py.

## ◆ filterPass

float ManySmallAlgs.filterPass = 50.0

Definition at line 25 of file ManySmallAlgs.py.

## ◆ Members

ManySmallAlgs.Members

Definition at line 132 of file ManySmallAlgs.py.

## ◆ MessageSvcType

ManySmallAlgs.MessageSvcType

Definition at line 143 of file ManySmallAlgs.py.

## ◆ nested

bool ManySmallAlgs.nested = True

Definition at line 23 of file ManySmallAlgs.py.

## ◆ OutputLevel

ManySmallAlgs.OutputLevel

Definition at line 62 of file ManySmallAlgs.py.

## ◆ PercentPass

ManySmallAlgs.PercentPass

Definition at line 72 of file ManySmallAlgs.py.

## ◆ scheduler

ManySmallAlgs.scheduler

Initial value:
1 = AvalancheSchedulerSvc(
2 ThreadPoolSize=threads,
3 ShowControlFlow=False,
4 ShowDataDependencies=False,
5 OutputLevel=INFO)
AvalancheSchedulerSvc
Definition: AvalancheSchedulerSvc.h:100

Definition at line 52 of file ManySmallAlgs.py.

## ◆ seq

ManySmallAlgs.seq

Initial value:
1 = GaudiSequencer(
2 "seq" + str(i),
3 Members=seqAlgs,
4 Sequential=sequence,
5 ModeOR=False,
6 ShortCircuit=True,
7 OutputLevel=FATAL)
GaudiSequencer
Sequencer for executing several algorithms, stopping when one is faulty.
Definition: GaudiSequencer.h:28

Definition at line 89 of file ManySmallAlgs.py.

## ◆ seqAlgs

list ManySmallAlgs.seqAlgs = allAlgs[10 * i:10 * (i + 1)]

Definition at line 88 of file ManySmallAlgs.py.

## ◆ seqSeqs

list ManySmallAlgs.seqSeqs = allSeqs[10 * i:10 * (i + 1)]

Definition at line 99 of file ManySmallAlgs.py.

## ◆ sequence

bool ManySmallAlgs.sequence = True

Definition at line 24 of file ManySmallAlgs.py.

## ◆ slimeventloopmgr

ManySmallAlgs.slimeventloopmgr

Initial value:
1 = HiveSlimEventLoopMgr(
2 SchedulerName="AvalancheSchedulerSvc", OutputLevel=INFO)
HiveSlimEventLoopMgr
Definition: HiveSlimEventLoopMgr.h:22

Definition at line 42 of file ManySmallAlgs.py.

## ◆ threads

int ManySmallAlgs.threads = 5

Definition at line 22 of file ManySmallAlgs.py.

## ◆ TopAlg

ManySmallAlgs.TopAlg

Definition at line 142 of file ManySmallAlgs.py.

## ◆ whiteboard

ManySmallAlgs.whiteboard

Initial value:
1 = HiveWhiteBoard(
2 "EventDataSvc", EventSlots=evtslots, OutputLevel=FATAL)
HiveWhiteBoard
Data service base class.
Definition: HiveWhiteBoard.cpp:119

Definition at line 33 of file ManySmallAlgs.py.