From 2257d1cd6d2da4431b68049a3681f1d0ee5adb18 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Wed, 6 Jan 2021 22:43:02 -0600 Subject: [PATCH] modified: tracking/central_electrons.sh modified: tracking/scripts/rec_central_electrons.cxx --- tracking/central_electrons.sh | 2 +- tracking/scripts/rec_central_electrons.cxx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tracking/central_electrons.sh b/tracking/central_electrons.sh index 1e4ab7f6..3b8366c8 100644 --- a/tracking/central_electrons.sh +++ b/tracking/central_electrons.sh @@ -69,7 +69,7 @@ popd pwd mkdir -p results/tracking -root -b -q "tracking/scripts/rec_central_electrons.cxx+(\"${JUGGLER_DETECTOR}/${JUGGLER_REC_FILE}\")" +root -b -q "tracking/scripts/rec_central_electrons.cxx(\"${JUGGLER_DETECTOR}/${JUGGLER_REC_FILE}\")" if [[ "$?" -ne "0" ]] ; then echo "ERROR running root script" exit 1 diff --git a/tracking/scripts/rec_central_electrons.cxx b/tracking/scripts/rec_central_electrons.cxx index 0d1f9def..f96b7268 100644 --- a/tracking/scripts/rec_central_electrons.cxx +++ b/tracking/scripts/rec_central_electrons.cxx @@ -1,4 +1,8 @@ #include "ROOT/RDataFrame.hxx" +#include "TCanvas.h" +#include "TLegend.h" +#include "TH1D.h" + #include <iostream> #include "dd4pod/Geant4ParticleCollection.h" -- GitLab