The Gaudi Framework
master (6507eef1)
Toggle main menu visibility
Loading...
Searching...
No Matches
DataOnDemand.py
Go to the documentation of this file.
1
#!/usr/bin/env gaudirun.py
2
15
from
Configurables
import
DataCreator, GaudiTestSuiteCommonConf, MyDataAlgorithm
16
from
Gaudi.Configuration
import
*
17
18
GaudiTestSuiteCommonConf()
19
20
mdigi =
DataCreator
(
"MuonDigits"
, Data=
"Rec/Muon/Digits"
)
21
mfoo =
DataCreator
(
"MuonFoos"
, Data=
"Rec/Muon/Foos"
)
22
mold =
DataCreator
(
"MuonOld"
, Data=
"Rec/Muon/Old"
)
23
dondem =
DataOnDemandSvc
(
24
UsePreceedingPath=
True
,
25
NodeMap={
26
"Rec"
:
"DataObject"
,
27
"Rec/Muon"
:
"DataObject"
,
28
"Rec/Foo"
:
"DataObject"
,
29
},
30
AlgMap={mdigi.Data: mdigi, mfoo.Data: mfoo},
31
# obsolete property:
32
Algorithms=[
"DATA='%s' TYPE='%s'"
% (mold.Data, mold.getFullName())],
33
# obsolete property:
34
Nodes=[
"DATA='Rec/Obsolete' TYPE='DataObject'"
],
35
Dump=
False
,
36
)
37
38
ApplicationMgr
(TopAlg=[
MyDataAlgorithm
()], ExtSvc=[dondem], EvtMax=10, EvtSel=
"NONE"
)
39
40
EventDataSvc().EnableFaultHandler =
True
ApplicationMgr
The Application Manager class.
Definition
ApplicationMgr.h:54
DataCreator
Trivial Algorithm for test purposes.
Definition
DataCreator.h:20
DataOnDemandSvc
The DataOnDemandSvc listens to incidents typically triggered by the data service of the configurable ...
Definition
DataOnDemandSvc.h:87
MyDataAlgorithm
Trivial Algorithm for tutotial purposes.
Definition
MyDataAlgorithm.h:21
Gaudi.Configuration
Definition
Configuration.py:1
GaudiTestSuite
options
DataOnDemand.py
Generated on
for The Gaudi Framework by
1.17.0