PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
podio::SIOEventMetaDataBlock Class Reference

#include <SIOBlock.h>

+ Inheritance diagram for podio::SIOEventMetaDataBlock:

Public Member Functions

 SIOEventMetaDataBlock ()
 
 SIOEventMetaDataBlock (const SIOEventMetaDataBlock &)=delete
 
SIOEventMetaDataBlockoperator= (const SIOEventMetaDataBlock &)=delete
 
void read (sio::read_device &device, sio::version_type version) override
 
void write (sio::write_device &device) override
 

Public Attributes

podio::GenericParametersmetadata {nullptr}
 

Detailed Description

A block for handling the EventMeta data

Definition at line 160 of file SIOBlock.h.

Constructor & Destructor Documentation

◆ SIOEventMetaDataBlock() [1/2]

podio::SIOEventMetaDataBlock::SIOEventMetaDataBlock ( )
inline

Definition at line 162 of file SIOBlock.h.

162 : sio::block("EventMetaData", sio::version::encode_version(0, 2)) {
163 }

◆ SIOEventMetaDataBlock() [2/2]

podio::SIOEventMetaDataBlock::SIOEventMetaDataBlock ( const SIOEventMetaDataBlock )
delete

Member Function Documentation

◆ operator=()

SIOEventMetaDataBlock & podio::SIOEventMetaDataBlock::operator= ( const SIOEventMetaDataBlock )
delete

◆ read()

void podio::SIOEventMetaDataBlock::read ( sio::read_device &  device,
sio::version_type  version 
)
override

Definition at line 68 of file SIOBlock.cc.

68 {
69 readGenericParameters(device, *metadata, version);
70}
podio::GenericParameters * metadata
Definition: SIOBlock.h:171
void readGenericParameters(sio::read_device &device, GenericParameters &params, sio::version_type version)
Definition: SIOBlock.cc:59

◆ write()

void podio::SIOEventMetaDataBlock::write ( sio::write_device &  device)
override

Definition at line 72 of file SIOBlock.cc.

72 {
74}
void writeGenericParameters(sio::write_device &device, const GenericParameters &params)
Definition: SIOBlock.cc:52

Member Data Documentation

◆ metadata

podio::GenericParameters* podio::SIOEventMetaDataBlock::metadata {nullptr}

Definition at line 171 of file SIOBlock.h.

Referenced by read(), and write().


The documentation for this class was generated from the following files: