Putting parameters during event loop (algorithm execution) isn't allowed for the old MetaDataHandle:
|
if (m_podio_data_service) { |
|
if (m_podio_data_service->targetFSMState() == Gaudi::StateMachine::RUNNING) { |
|
throw GaudiException("MetaDataHandle policy violation", "Put cannot be used during the event loop", |
|
StatusCode::FAILURE); |
|
} |
For the new MetadataSvc it's possible as this check seems to be missing. Is this an intended feature or an oversight?