Commit 6d5a3ccd authored by Lucas Mello Schnorr's avatar Lucas Mello Schnorr

put this outside to simplify program

parent b614e8cc
......@@ -8,11 +8,7 @@
int runAnalysis(int selected_event=0)
{
// Erase output txt files
ofstream esd_detail, s_event, events_number;
events_number.open ("events_number.dat");
events_number.close();
ofstream esd_detail, s_event;
s_event.open ("s-event.dat");
s_event << selected_event;
......
......@@ -117,6 +117,10 @@ elif [ "$DEFAULT_ANIMATION" = "false" ]; then
else
echo "The number of events in the file is ${n_events}."
fi
# Erase output txt files
rm -f ${FILE_WITH_NUMBER_OF_EVENTS}
exit
for ((i=0; i<n_events; i++)); do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment