The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
DataOnDemand.py
Go to the documentation of this file.
1#!/usr/bin/env gaudirun.py
2
15from Configurables import DataCreator, GaudiTestSuiteCommonConf, MyDataAlgorithm
16from Gaudi.Configuration import *
17
18GaudiTestSuiteCommonConf()
19
20mdigi = DataCreator("MuonDigits", Data="Rec/Muon/Digits")
21mfoo = DataCreator("MuonFoos", Data="Rec/Muon/Foos")
22mold = DataCreator("MuonOld", Data="Rec/Muon/Old")
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
38ApplicationMgr(TopAlg=[MyDataAlgorithm()], ExtSvc=[dondem], EvtMax=10, EvtSel="NONE")
39
40EventDataSvc().EnableFaultHandler = True
The Application Manager class.
Trivial Algorithm for test purposes.
Definition DataCreator.h:20
The DataOnDemandSvc listens to incidents typically triggered by the data service of the configurable ...
Trivial Algorithm for tutotial purposes.