diff --git a/benchmarks/single/analyze.cxx b/benchmarks/single/analyze.cxx index c99e15f1e34187a72fb7b685e42a8b9582fdcf07..e48cf2e7acbab610643f9af14ef19954855171c3 100644 --- a/benchmarks/single/analyze.cxx +++ b/benchmarks/single/analyze.cxx @@ -5,10 +5,11 @@ #include <eicd/ReconstructedParticleData.h> -int analyze(std::string name) +int analyze(std::string file) { // open dataframe - ROOT::RDataFrame df("events", url, {"mcparticles2", "GeneratedParticles", "ReconstructedParticles"}); + ROOT::RDataFrame df("events", file, {"mcparticles2", "GeneratedParticles", "ReconstructedParticles"}); + // count total events auto count = df.Count(); if (count == 0) {