PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
|
#include <ROOTFrameWriter.h>
Public Member Functions | |
ROOTFrameWriter (const std::string &filename) | |
~ROOTFrameWriter ()=default | |
ROOTFrameWriter (const ROOTFrameWriter &)=delete | |
ROOTFrameWriter & | operator= (const ROOTFrameWriter &)=delete |
void | writeFrame (const podio::Frame &frame, const std::string &category) |
void | writeFrame (const podio::Frame &frame, const std::string &category, const std::vector< std::string > &collsToWrite) |
void | finish () |
Definition at line 24 of file ROOTFrameWriter.h.
podio::ROOTFrameWriter::ROOTFrameWriter | ( | const std::string & | filename | ) |
Definition at line 13 of file ROOTFrameWriter.cc.
|
default |
|
delete |
void podio::ROOTFrameWriter::finish | ( | ) |
Write the current file, including all the necessary metadata to read it again.
Definition at line 120 of file ROOTFrameWriter.cc.
|
delete |
void podio::ROOTFrameWriter::writeFrame | ( | const podio::Frame & | frame, |
const std::string & | category | ||
) |
Store the given frame with the given category. Store all available collections from the Frame.
NOTE: The contents of the first Frame that is written in this way determines the contents that will be written for all subsequent Frames.
Definition at line 17 of file ROOTFrameWriter.cc.
Referenced by writeFrame().
void podio::ROOTFrameWriter::writeFrame | ( | const podio::Frame & | frame, |
const std::string & | category, | ||
const std::vector< std::string > & | collsToWrite | ||
) |
Store the given Frame with the given category. Store only the collections that are passed.
NOTE: The contents of the first Frame that is written in this way determines the contents that will be written for all subsequent Frames.
Definition at line 21 of file ROOTFrameWriter.cc.