The Gaudi Framework  master (2e57474e)
Loading...
Searching...
No Matches
NTupleDiskBuffer.py
Go to the documentation of this file.
11"""
12Ntuples of every shape the column-wise converter handles, so that the same job run
13with and without NTupleSvc.DiskBuffer can be compared. The output stream is set by
14the caller (NTupleSvc.Output) so both runs can share a directory.
15"""
16
17from Configurables import (
18 ApplicationMgr,
19 HistogramPersistencySvc,
20 NTupleAlgorithm,
21 WideNTupleAlgorithm,
22)
23
24# many trees, few entries: the shape the disk buffer is for
26 "Wide",
27 NTuples=6,
28 Columns=36,
29 EntriesPerTuple=50,
30 MaxArraySize=5,
31 Directory="MyTuples/wide",
32)
33# one tree with more entries than fit in a basket
35 "Deep",
36 NTuples=1,
37 Columns=9,
38 EntriesPerTuple=3000,
39 MaxArraySize=8,
40 Directory="MyTuples/deep/er",
41)
42# booked but never written
44 "Empty", NTuples=1, Columns=9, EntriesPerTuple=0, Directory="MyTuples/empty"
45)
46
48 # NTupleAlgorithm adds a row-wise tuple, which the disk buffer must leave alone
49 TopAlg=[NTupleAlgorithm(), wide, deep, empty],
50 EvtMax=3000,
51 EvtSel="NONE",
52 HistogramPersistency="ROOT",
53)
The Application Manager class.
HistogramPersistencySvc class implementation definition.
Books a configurable grid of column-wise tuples: many trees, many columns, few entries.