diff --git a/tracking/central_electrons.sh b/tracking/central_electrons.sh index 1e4ab7f6053b56826913835c99d11fc6a616f0c9..3b8366c84b018e7e1b2d6d98494a7873eaa576cf 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 0d1f9defd81b28d9849ae440815a28ef0a9c4c7b..f96b72681abbdbf9d1224324c7bea0f14b55f317 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"