File indexing completed on 2025-01-30 10:30:21
0001 from Gaudi.Configuration import *
0002 from Configurables import ApplicationMgr, EICDataSvc, PodioOutput
0003
0004 podioevent = EICDataSvc("EventDataSvc", inputs=["derp.root"], OutputLevel=DEBUG)
0005
0006 from Configurables import Jug__Base__InputCopier_edm4hep__MCParticleCollection_edm4hep__MCParticleCollection_ as MCCopier
0007 from Configurables import PodioInput, ReadTestConsumer
0008 podioinput = PodioInput("PodioReader", collections=["mcparticles"], OutputLevel=DEBUG)
0009 checker = ReadTestConsumer()
0010 copier = MCCopier("copier", inputCollection="mcparticles", outputCollection="mcparticles2",OutputLevel=DEBUG)
0011
0012 out = PodioOutput("out", filename="test.root")
0013 out.outputCommands = ["keep *"]
0014
0015 ApplicationMgr(
0016 TopAlg = [podioinput, checker,copier,
0017 out
0018 ],
0019 EvtSel = 'NONE',
0020 EvtMax = 5,
0021 ExtSvc = [podioevent],
0022 OutputLevel=DEBUG
0023 )
0024