Skip to content
Snippets Groups Projects
Commit 52d91c74 authored by zoujh@ihep.ac.cn's avatar zoujh@ihep.ac.cn
Browse files

revise the consistency of plcio_write/read options

parent f83257f6
No related branches found
No related tags found
No related merge requests found
...@@ -7,12 +7,13 @@ dsvc = CEPCDataSvc("EventDataSvc", input="test.root") ...@@ -7,12 +7,13 @@ dsvc = CEPCDataSvc("EventDataSvc", input="test.root")
from Configurables import PlcioReadAlg from Configurables import PlcioReadAlg
alg = PlcioReadAlg("PlcioReadAlg") alg = PlcioReadAlg("PlcioReadAlg")
alg.InputCol.Path = "MCParticleCol" alg.HeaderCol.Path = "EventHeader"
alg.InputCol.Path = "MCParticle"
from Configurables import PodioInput from Configurables import PodioInput
podioinput = PodioInput("PodioReader", collections=[ podioinput = PodioInput("PodioReader", collections=[
"EventHeaderCol", "EventHeader",
"MCParticleCol" "MCParticle"
]) ])
# ApplicationMgr # ApplicationMgr
......
...@@ -7,6 +7,7 @@ dsvc = CEPCDataSvc("EventDataSvc") ...@@ -7,6 +7,7 @@ dsvc = CEPCDataSvc("EventDataSvc")
from Configurables import PlcioWriteAlg from Configurables import PlcioWriteAlg
alg = PlcioWriteAlg("PlcioWriteAlg") alg = PlcioWriteAlg("PlcioWriteAlg")
alg.HeaderCol.Path = "EventHeader"
alg.OutputCol.Path = "MCParticle" alg.OutputCol.Path = "MCParticle"
from Configurables import PodioOutput from Configurables import PodioOutput
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment