The Gaudi Framework
master (2e57474e)
Toggle main menu visibility
Loading...
Searching...
No Matches
NTupleDiskBuffer.py
Go to the documentation of this file.
1
11
"""
12
Ntuples of every shape the column-wise converter handles, so that the same job run
13
with and without NTupleSvc.DiskBuffer can be compared. The output stream is set by
14
the caller (NTupleSvc.Output) so both runs can share a directory.
15
"""
16
17
from
Configurables
import
(
18
ApplicationMgr,
19
HistogramPersistencySvc,
20
NTupleAlgorithm,
21
WideNTupleAlgorithm,
22
)
23
24
# many trees, few entries: the shape the disk buffer is for
25
wide =
WideNTupleAlgorithm
(
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
34
deep =
WideNTupleAlgorithm
(
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
43
empty =
WideNTupleAlgorithm
(
44
"Empty"
, NTuples=1, Columns=9, EntriesPerTuple=0, Directory=
"MyTuples/empty"
45
)
46
47
ApplicationMgr
(
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
)
54
HistogramPersistencySvc
(OutputFile=
""
)
ApplicationMgr
The Application Manager class.
Definition
ApplicationMgr.h:54
HistogramPersistencySvc
HistogramPersistencySvc class implementation definition.
Definition
HistogramPersistencySvc.h:56
NTupleAlgorithm
Definition
NTupleAlgorithm.h:19
WideNTupleAlgorithm
Books a configurable grid of column-wise tuples: many trees, many columns, few entries.
Definition
WideNTupleAlgorithm.cpp:32
GaudiTestSuite
options
NTupleDiskBuffer.py
Generated on
for The Gaudi Framework by
1.17.0