10 reader.openFile(
"example.root");
11 store.setReader(&reader);
15 writer.registerForWrite(
"info");
16 writer.registerForWrite(
"mcparticles");
17 writer.registerForWrite(
"hits");
18 writer.registerForWrite(
"clusters");
20 unsigned nEvents = reader.getEntries();
21 for (
unsigned i = 0; i < nEvents; ++i) {
23 std::cout <<
"reading event " << i << std::endl;
void processEvent(StoreT &store, int eventNum, podio::version::Version fileVersion)