15 from Configurables
import Gaudi__RootCnvSvc
as RootCnvSvc
16 from Configurables
import GaudiPersistency
17 from Configurables
import GaudiTesting__EvenEventsFilter
as EvenFilter
18 from Configurables
import GaudiTesting__OddEventsFilter
as OddFilter
19 from Configurables
import GaudiTesting__PutDataObjectAlg
as DataCreator
24 creator.Paths = [
"A",
"B",
"C",
"D"]
27 oddEvts = OddFilter(
"OddEvents")
28 evenEvts = EvenFilter(
"EvenEvents")
34 "DATAFILE='PFN:ConditionalOutput.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
37 stream.AlgDependentItemList[oddEvts.name()] = [
"/Event/A#1",
"/Event/B#1"]
38 stream.AlgDependentItemList[evenEvts.name()] = [
"/Event/A#1",
"/Event/C#1"]
40 FileCatalog(Catalogs=[
"xmlcatalog_file:ConditionalOutput.xml"])
45 RootCnvSvc(OutputLevel=INFO)
52 app.OutStream += [stream]
54 app.TopAlg = [creator, oddEvts, evenEvts]
58 app.HistogramPersistency =
"NONE"