diff --git a/src/examples/PodioExample/PodioExample.cc b/src/examples/PodioExample/PodioExample.cc index d54999782..2bf703814 100644 --- a/src/examples/PodioExample/PodioExample.cc +++ b/src/examples/PodioExample/PodioExample.cc @@ -21,7 +21,7 @@ void create_hits_file() { - EventInfo eventinfo1(7, 0, 22); + MutableEventInfo eventinfo1(7, 0, 22); EventInfoCollection eventinfos1; eventinfos1.push_back(eventinfo1); @@ -38,7 +38,7 @@ void create_hits_file() { podio::ROOTFrameWriter writer("hits.root"); writer.writeFrame(event1, "events"); - EventInfo eventinfo2(8, 0, 22); + MutableEventInfo eventinfo2(8, 0, 22); EventInfoCollection eventinfos2; eventinfos2.push_back(eventinfo2); diff --git a/src/examples/TimesliceExample/MyFileReader.h b/src/examples/TimesliceExample/MyFileReader.h index 75e927052..1d027e98e 100644 --- a/src/examples/TimesliceExample/MyFileReader.h +++ b/src/examples/TimesliceExample/MyFileReader.h @@ -41,11 +41,11 @@ struct MyFileReader : public JEventSource { // Furnish this event with info object if (GetLevel() == JEventLevel::Timeslice) { TimesliceInfoCollection info; - info.push_back(TimesliceInfo(event_nr, 0)); // event nr, run nr + info.push_back(MutableTimesliceInfo(event_nr, 0)); // event nr, run nr event.InsertCollection(std::move(info), "ts_info"); } else { - EventInfoCollection info; + MutableEventInfoCollection info; info.push_back(EventInfo(event_nr, 0, 0)); // event nr, timeslice nr, run nr event.InsertCollection(std::move(info), "evt_info"); }