Skip to content
Snippets Groups Projects
Commit 3836f38c authored by Wouter Deconinck's avatar Wouter Deconinck Committed by Wouter Deconinck
Browse files

No url, just file

parent 40c73e09
Branches
Tags
1 merge request!80Single simulation test on standard reconstruction
This commit is part of merge request !80. Comments created here will be created in the context of that merge request.
...@@ -5,10 +5,11 @@ ...@@ -5,10 +5,11 @@
#include <eicd/ReconstructedParticleData.h> #include <eicd/ReconstructedParticleData.h>
int analyze(std::string name) int analyze(std::string file)
{ {
// open dataframe // open dataframe
ROOT::RDataFrame df("events", url, {"mcparticles2", "GeneratedParticles", "ReconstructedParticles"}); ROOT::RDataFrame df("events", file, {"mcparticles2", "GeneratedParticles", "ReconstructedParticles"});
// count total events // count total events
auto count = df.Count(); auto count = df.Count();
if (count == 0) { if (count == 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment