16 from Configurables
import Gaudi__RootCnvSvc
as RootCnvSvc, GaudiPersistency
17 from Configurables
import GaudiTesting__OddEventsFilter
as OddFilter
18 from Configurables
import GaudiTesting__EvenEventsFilter
as EvenFilter
19 from Configurables
import GaudiTesting__PutDataObjectAlg
as DataCreator
23 creator.Paths = [
'A',
'B',
'C',
'D']
26 oddEvts = OddFilter(
'OddEvents')
27 evenEvts = EvenFilter(
'EvenEvents')
32 stream.Output =
"DATAFILE='PFN:ConditionalOutput.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
34 stream.AlgDependentItemList[oddEvts.name()] = [
'/Event/A#1',
'/Event/B#1']
35 stream.AlgDependentItemList[evenEvts.name()] = [
'/Event/A#1',
'/Event/C#1']
37 FileCatalog(Catalogs=[
"xmlcatalog_file:ConditionalOutput.xml"])
42 RootCnvSvc(OutputLevel=INFO)
49 app.OutStream += [stream]
51 app.TopAlg = [creator, oddEvts, evenEvts]
55 app.HistogramPersistency =
"NONE"