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

analysis script fixes

parent eb7bbccf
No related branches found
No related tags found
1 merge request!106Resolve "Include synchrotron radiation benchmark"
...@@ -19,7 +19,7 @@ R__LOAD_LIBRARY(libDD4pod.so) ...@@ -19,7 +19,7 @@ R__LOAD_LIBRARY(libDD4pod.so)
#include "eicd/ReconstructedParticleCollection.h" #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"); 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"){ ...@@ -34,8 +34,8 @@ void synchrotron_raw(const char* fname = "sim_synchrotron.root"){
; ;
auto n_VertexBarrelHits = df0.Mean("n_VertexBarrelHits"); 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_VertexBarrelHits = " << *n_VertexBarrelHits << " / ev" << std::endl;
std::cout << "n_VertexEndcapHits = " << n_VertexEndcapHits << " / ev" << std::endl; std::cout << "n_VertexEndcapHits = " << *n_VertexEndcapHits << " / ev" << std::endl;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment