diff --git a/benchmarks/rich/include/Tools.h b/benchmarks/rich/include/Tools.h
index c34a142a9708ce45730ed6113f3ae77733de05ca..8458626dc52bc85f1bf77d17637eaeca5cc5737b 100644
--- a/benchmarks/rich/include/Tools.h
+++ b/benchmarks/rich/include/Tools.h
@@ -17,6 +17,7 @@
 #include <Evaluator/DD4hepUnits.h>
 
 // data model
+#include <edm4hep/EDM4hepVersion.h>
 #include <edm4hep/SimTrackerHitCollection.h>
 #include <edm4hep/utils/kinematics.h>
 
@@ -67,7 +68,11 @@ namespace benchmarks {
       // -------------------------------------------------------------------------------------
       // get photon wavelength
       static double GetPhotonWavelength(const edm4hep::SimTrackerHit& hit, std::shared_ptr<spdlog::logger> log) {
+#if EDM4HEP_BUILD_VERSION >= EDM4HEP_VERSION(0, 99, 0)
+        auto phot = hit.getParticle();
+#else
         auto phot = hit.getMCParticle();
+#endif
         if(!phot.isAvailable()) {
           log->error("no MCParticle in hit");
           return -1.0;
diff --git a/benchmarks/rich/src/benchmark.cc b/benchmarks/rich/src/benchmark.cc
index d988601f1727dd71d7e6a13548e4aa021b470359..afe8c3518bd7a24c37c07e6cd9040c03b53f90a8 100644
--- a/benchmarks/rich/src/benchmark.cc
+++ b/benchmarks/rich/src/benchmark.cc
@@ -8,7 +8,12 @@
 
 #include <TFile.h>
 
+#include <podio/podioVersion.h>
+#if podio_VERSION >= PODIO_VERSION(0, 99, 0)
+#include <podio/ROOTReader.h>
+#else
 #include <podio/ROOTFrameReader.h>
+#endif
 #include <podio/Frame.h>
 
 #include "SimHitAnalysis.h"
@@ -264,7 +269,11 @@ int main(int argc, char** argv) {
   // -------------------------------------------------------------
 
   // open the input files
+#if podio_VERSION >= PODIO_VERSION(0, 99, 0)
+  podio::ROOTReader podioReader;
+#else
   podio::ROOTFrameReader podioReader;
+#endif
   m_log->warn("podio::ROOTFrameReader cannot yet support multiple files; reading only the first");
   // podioReader.openFiles(rec_files);
   podioReader.openFile(rec_files.front());