PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
|
#include <SIOReader.h>
Public Member Functions | |
SIOReader () | |
~SIOReader ()=default | |
SIOReader (const SIOReader &)=delete | |
SIOReader & | operator= (const SIOReader &)=delete |
void | openFile (const std::string &filename) override |
void | closeFile () override |
void | readEvent () override |
Read all collections requested. | |
void | goToEvent (unsigned iEvent) override |
std::shared_ptr< CollectionIDTable > | getCollectionIDTable () override |
Read CollectionIDTable from SIO file. | |
unsigned | getEntries () const override |
get the number of events available from this reader | |
bool | isValid () const override |
Check if file is valid. | |
podio::version::Version | currentFileVersion () const override |
Get the podio version with which the current file has been written. | |
void | endOfEvent () override |
Prepare the reader to read the next event. | |
Public Member Functions inherited from podio::IReader | |
virtual | ~IReader ()=default |
virtual CollectionBase * | readCollection (const std::string &name)=0 |
virtual std::shared_ptr< CollectionIDTable > | getCollectionIDTable ()=0 |
Get CollectionIDTable of read-in data. | |
virtual GenericParameters * | readEventMetaData ()=0 |
read event meta data from file | |
virtual std::map< int, GenericParameters > * | readCollectionMetaData ()=0 |
virtual std::map< int, GenericParameters > * | readRunMetaData ()=0 |
virtual unsigned | getEntries () const =0 |
get the number of events available from this reader | |
virtual void | endOfEvent ()=0 |
Prepare the reader to read the next event. | |
virtual bool | isValid () const =0 |
Check if reader is valid. | |
virtual void | openFile (const std::string &filename)=0 |
virtual void | closeFile ()=0 |
virtual void | readEvent ()=0 |
virtual void | goToEvent (unsigned iEvent)=0 |
virtual podio::version::Version | currentFileVersion () const =0 |
Get the podio version with which the current file has been written. | |
This class has the function to read available data from disk and to prepare collections and buffers.
Definition at line 30 of file SIOReader.h.
podio::SIOReader::SIOReader | ( | ) |
Definition at line 15 of file SIOReader.cc.
|
default |
|
delete |
|
overridevirtual |
Implements podio::IReader.
Definition at line 74 of file SIOReader.cc.
Referenced by main().
|
inlineoverridevirtual |
Get the podio version with which the current file has been written.
Implements podio::IReader.
Definition at line 61 of file SIOReader.h.
Referenced by main().
|
overridevirtual |
Prepare the reader to read the next event.
Implements podio::IReader.
Definition at line 107 of file SIOReader.cc.
Referenced by main().
|
inlineoverridevirtual |
Read CollectionIDTable from SIO file.
Implements podio::IReader.
Definition at line 50 of file SIOReader.h.
|
inlineoverridevirtual |
get the number of events available from this reader
Implements podio::IReader.
Definition at line 54 of file SIOReader.h.
Referenced by main().
|
overridevirtual |
Implements podio::IReader.
Definition at line 113 of file SIOReader.cc.
|
overridevirtual |
Check if file is valid.
Implements podio::IReader.
Definition at line 103 of file SIOReader.cc.
Referenced by openFile().
|
overridevirtual |
Implements podio::IReader.
Definition at line 62 of file SIOReader.cc.
Referenced by main().
|
overridevirtual |
Read all collections requested.
Implements podio::IReader.
Definition at line 78 of file SIOReader.cc.