Skip to content
Snippets Groups Projects

Single simulation test on standard reconstruction

Merged Wouter Deconinck requested to merge single-benchmark into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -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) {
Loading