From 94ffed4f721bd6bd0c352009c2bf11b37ef28e80 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wouter.deconinck@umanitoba.ca>
Date: Thu, 16 Sep 2021 20:01:43 +0000
Subject: [PATCH] No url, just file
---
benchmarks/single/analyze.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/benchmarks/single/analyze.cxx b/benchmarks/single/analyze.cxx
index c99e15f1..e48cf2e7 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) {
--
GitLab