12 store.setReader(&reader);
15 writer.registerForWrite(
"info");
16 writer.registerForWrite(
"mcparticles");
17 writer.registerForWrite(
"hits");
18 writer.registerForWrite(
"clusters");
21 for (
unsigned i = 0; i < nEvents; ++i) {
23 std::cout <<
"reading event " << i << std::endl;
unsigned getEntries() const override
get the number of events available from this reader
podio::version::Version currentFileVersion() const override
Get the podio version with which the current file has been written.
void closeFile() override
void openFile(const std::string &filename) override
void endOfEvent() override
Prepare the reader to read the next event.
void processEvent(StoreT &store, int eventNum, podio::version::Version fileVersion)