PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
|
#include <DatamodelRegistryIOHelpers.h>
Public Member Functions | |
void | registerDatamodelDefinition (const podio::CollectionBase *coll, const std::string &name) |
std::vector< std::tuple< std::string, std::string > > | getDatamodelDefinitionsToWrite () const |
Get all the names and JSON definitions that need to be written. | |
Helper class to collect the datamodel (JSON) definitions that should be written.
Definition at line 18 of file DatamodelRegistryIOHelpers.h.
std::vector< std::tuple< std::string, std::string > > podio::DatamodelDefinitionCollector::getDatamodelDefinitionsToWrite | ( | ) | const |
Get all the names and JSON definitions that need to be written.
Definition at line 18 of file DatamodelRegistryIOHelpers.cc.
Referenced by podio::ROOTFrameWriter::finish(), and podio::SIOFrameWriter::finish().
void podio::DatamodelDefinitionCollector::registerDatamodelDefinition | ( | const podio::CollectionBase * | coll, |
const std::string & | name | ||
) |
Register the datamodel definition of the EDM this collection is from to be written.
coll | A collection of an EDM |
name | The name under which this collection is stored on file |
Definition at line 6 of file DatamodelRegistryIOHelpers.cc.
Referenced by podio::ROOTFrameWriter::writeFrame(), and podio::SIOFrameWriter::writeFrame().