4#include "podio/podioVersion.h"
23class CollectionIDTable;
24class GenericParameters;
46 virtual void openFile(
const std::string& filename) = 0;
virtual CollectionBase * readCollection(const std::string &name)=0
virtual std::shared_ptr< CollectionIDTable > getCollectionIDTable()=0
Get CollectionIDTable of read-in data.
virtual bool isValid() const =0
Check if reader is valid.
virtual podio::version::Version currentFileVersion() const =0
Get the podio version with which the current file has been written.
virtual void endOfEvent()=0
Prepare the reader to read the next event.
virtual void openFile(const std::string &filename)=0
virtual std::map< int, GenericParameters > * readRunMetaData()=0
virtual GenericParameters * readEventMetaData()=0
read event meta data from file
virtual ~IReader()=default
virtual void goToEvent(unsigned iEvent)=0
virtual unsigned getEntries() const =0
get the number of events available from this reader
virtual void closeFile()=0
virtual void readEvent()=0
virtual std::map< int, GenericParameters > * readCollectionMetaData()=0