Back to home page

EIC code displayed by LXR

 
 

    


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 PodioInput, ReadTestConsumer
0007 podioinput = PodioInput("PodioReader", collections=["mcparticles"], OutputLevel=DEBUG)
0008 checker = ReadTestConsumer()
0009 
0010 out = PodioOutput("out", filename="test.root")
0011 out.outputCommands = ["keep *"]
0012 
0013 ApplicationMgr(
0014     TopAlg = [podioinput, checker,
0015               out
0016               ],
0017     EvtSel = 'NONE',
0018     EvtMax   = 5,
0019     ExtSvc = [podioevent],
0020     OutputLevel=DEBUG
0021  )
0022