Skip to content

Should writing metadata during event loop be allowed for MetadataSvc? #302

@m-fila

Description

@m-fila

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions