Class podio::DatamodelDefinitionCollector

class DatamodelDefinitionCollector

Helper class to collect the datamodel (JSON) definitions that should be written.

Public Functions

void registerDatamodelDefinition(const podio::CollectionBase *coll, const std::string &name)

Register the datamodel definition of the EDM this collection is from to be written.

Parameters:
  • coll – A collection of an EDM

  • name – The name under which this collection is stored on file

std::vector<std::tuple<std::string, std::string>> getDatamodelDefinitionsToWrite() const

Get all the names and JSON definitions that need to be written.