EventDataSvc Error in put while EvtStoreSvc works
Take the following reproducer:
from Gaudi.Configuration import ApplicationMgr, VERBOSE
from Configurables import EvtStoreSvc, Gaudi__Examples__VectorDataProducer as VDP
app = ApplicationMgr(OutputLevel=VERBOSE)
# Without the below tow lines we get: Error in put of /Event/VDP/OutputLocation
# whiteboard = EvtStoreSvc("EventDataSvc", EventSlots=1)
# app.ExtSvc.append(whiteboard)
vdp = VDP(name="VDP", OutputLocation="/Event/VDP/OutputLocation")
app.TopAlg = [vdp]
app.EvtMax = 1
app.EvtSel = "NONE"
app.HistogramPersistency = "NONE"
This will crash with ERROR Error in put of /Event/VDP/OutputLocation
Using just "OutputLocation" or "/Event/OutputLocation" won't result in an error but any other patterns do.
The EvtStoreSvc
doesn't error and works for any kind of locations I could throw at it.
Why is the default EventDataSvc
so picky about the possible TES Locations? Is that necessary?