PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
|
Typedefs | |
using | StoreCollection = std::pair< const std::string &, const podio::CollectionBase * > |
Functions | |
std::pair< sio::buffer, sio::record_info > | readRecord (sio::ifstream &stream, bool decompress=true, std::size_t initBufferSize=sio::mbyte) |
Read the record into a buffer and potentially uncompress it. | |
std::shared_ptr< SIOCollectionIDTableBlock > | createCollIDBlock (const std::vector< StoreCollection > &collections, const podio::CollectionIDTable &collIdTable) |
Create the collection ID block from the passed collections. | |
sio::block_list | createBlocks (const std::vector< StoreCollection > &collections, const podio::GenericParameters ¶meters) |
Create all blocks to store the passed collections and parameters into a record. | |
sio::ifstream::pos_type | writeRecord (const sio::block_list &blocks, const std::string &recordName, sio::ofstream &stream, std::size_t initBufferSize=sio::mbyte, bool compress=true) |
Write the passed record and return where it starts in the file. | |
using podio::sio_utils::StoreCollection = typedef std::pair<const std::string&, const podio::CollectionBase*> |
Definition at line 36 of file sioUtils.h.
|
inline |
Create all blocks to store the passed collections and parameters into a record.
Definition at line 64 of file sioUtils.h.
Referenced by podio::SIOFrameWriter::writeFrame().
|
inline |
Create the collection ID block from the passed collections.
Definition at line 39 of file sioUtils.h.
Referenced by podio::SIOFrameWriter::writeFrame().
|
inline |
Read the record into a buffer and potentially uncompress it.
Definition at line 18 of file sioUtils.h.
Referenced by podio::SIOLegacyReader::readNextEntry(), and podio::SIOFrameReader::readNextEntry().
|
inline |
Write the passed record and return where it starts in the file.
Definition at line 82 of file sioUtils.h.
Referenced by podio::SIOFrameWriter::finish(), podio::SIOWriter::finish(), podio::SIOFrameWriter::SIOFrameWriter(), podio::SIOWriter::writeEvent(), and podio::SIOFrameWriter::writeFrame().