PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
|
#include <TimedReader.h>
Public Member Functions | |
template<typename... Args> | |
TimedReader (benchmark::BenchmarkRecorder &recorder, Args &&... args) | |
~TimedReader () | |
CollectionBase * | readCollection (const std::string &name) override |
std::shared_ptr< CollectionIDTable > | getCollectionIDTable () override |
Get CollectionIDTable of read-in data. | |
GenericParameters * | readEventMetaData () override |
read event meta data from file | |
std::map< int, GenericParameters > * | readCollectionMetaData () override |
std::map< int, GenericParameters > * | readRunMetaData () override |
unsigned | getEntries () const override |
get the number of events available from this reader | |
void | endOfEvent () override |
Prepare the reader to read the next event. | |
bool | isValid () const override |
Check if reader is valid. | |
void | openFile (const std::string &filename) override |
void | closeFile () override |
void | readEvent () override |
void | goToEvent (unsigned ev) override |
podio::version::Version | currentFileVersion () const override |
Get the podio version with which the current file has been written. | |
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. | |
Definition at line 15 of file TimedReader.h.
|
inline |
Definition at line 20 of file TimedReader.h.
|
inline |
Definition at line 32 of file TimedReader.h.
|
inlineoverridevirtual |
Implements podio::IReader.
Definition at line 90 of file TimedReader.h.
Referenced by main().
|
inlineoverridevirtual |
Get the podio version with which the current file has been written.
Implements podio::IReader.
Definition at line 103 of file TimedReader.h.
|
inlineoverridevirtual |
Prepare the reader to read the next event.
Implements podio::IReader.
Definition at line 73 of file TimedReader.h.
|
inlineoverridevirtual |
Get CollectionIDTable of read-in data.
Implements podio::IReader.
Definition at line 50 of file TimedReader.h.
|
inlineoverridevirtual |
get the number of events available from this reader
Implements podio::IReader.
Definition at line 68 of file TimedReader.h.
|
inlineoverridevirtual |
Implements podio::IReader.
Definition at line 98 of file TimedReader.h.
|
inlineoverridevirtual |
Check if reader is valid.
Implements podio::IReader.
Definition at line 82 of file TimedReader.h.
|
inlineoverridevirtual |
Implements podio::IReader.
Definition at line 86 of file TimedReader.h.
Referenced by main().
|
inlineoverridevirtual |
Read Collection of given name Does not set references yet.
Implements podio::IReader.
Definition at line 41 of file TimedReader.h.
|
inlineoverridevirtual |
Implements podio::IReader.
Definition at line 59 of file TimedReader.h.
|
inlineoverridevirtual |
Implements podio::IReader.
Definition at line 94 of file TimedReader.h.
|
inlineoverridevirtual |
read event meta data from file
Implements podio::IReader.
Definition at line 55 of file TimedReader.h.
|
inlineoverridevirtual |
Implements podio::IReader.
Definition at line 63 of file TimedReader.h.