Skip to content
Snippets Groups Projects
Commit 94ffed4f authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

No url, just file

parent d04cf57b
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment