diff --git a/benchmarks/synchrotron/analysis/synchrotron_sim.cxx b/benchmarks/synchrotron/analysis/synchrotron_sim.cxx index 10a4a98ff5626d1012645b2744c5f7c06d19276f..00b0835b404c389f7b4b794758378842b8498dbb 100644 --- a/benchmarks/synchrotron/analysis/synchrotron_sim.cxx +++ b/benchmarks/synchrotron/analysis/synchrotron_sim.cxx @@ -19,7 +19,7 @@ R__LOAD_LIBRARY(libDD4pod.so) #include "eicd/ReconstructedParticleCollection.h" -void synchrotron_raw(const char* fname = "sim_synchrotron.root"){ +void synchrotron_sim(const char* fname = "sim_synchrotron.root"){ fmt::print(fmt::emphasis::bold | fg(fmt::color::forest_green), "Running synchrotron analysis...\n"); @@ -34,8 +34,8 @@ void synchrotron_raw(const char* fname = "sim_synchrotron.root"){ ; auto n_VertexBarrelHits = df0.Mean("n_VertexBarrelHits"); - auto n_VertexEndcapHits = df0.Mean("n_VertexEncdapHits"); + auto n_VertexEndcapHits = df0.Mean("n_VertexEndcapHits"); - std::cout << "n_VertexBarrelHits = " << n_VertexBarrelHits << " / ev" << std::endl; - std::cout << "n_VertexEndcapHits = " << n_VertexEndcapHits << " / ev" << std::endl; + std::cout << "n_VertexBarrelHits = " << *n_VertexBarrelHits << " / ev" << std::endl; + std::cout << "n_VertexEndcapHits = " << *n_VertexEndcapHits << " / ev" << std::endl; }