diff --git a/Examples/options/plcio_read.py b/Examples/options/plcio_read.py index 3d639dca744a65976e928dbf537888c0db0039ae..d8b0b7395def1db1c04df844372967d7b42d4ab1 100644 --- a/Examples/options/plcio_read.py +++ b/Examples/options/plcio_read.py @@ -7,12 +7,13 @@ dsvc = CEPCDataSvc("EventDataSvc", input="test.root") from Configurables import PlcioReadAlg alg = PlcioReadAlg("PlcioReadAlg") -alg.InputCol.Path = "MCParticleCol" +alg.HeaderCol.Path = "EventHeader" +alg.InputCol.Path = "MCParticle" from Configurables import PodioInput podioinput = PodioInput("PodioReader", collections=[ - "EventHeaderCol", - "MCParticleCol" + "EventHeader", + "MCParticle" ]) # ApplicationMgr diff --git a/Examples/options/plcio_write.py b/Examples/options/plcio_write.py index 0096c2df8cbcdf2ec6137ce9705ef05bf9d951f8..378aae8406012a0f008c3ce3ff6a5fb306297938 100644 --- a/Examples/options/plcio_write.py +++ b/Examples/options/plcio_write.py @@ -7,6 +7,7 @@ dsvc = CEPCDataSvc("EventDataSvc") from Configurables import PlcioWriteAlg alg = PlcioWriteAlg("PlcioWriteAlg") +alg.HeaderCol.Path = "EventHeader" alg.OutputCol.Path = "MCParticle" from Configurables import PodioOutput