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

Rename analysis scripts to more generic names

parent 69a5e7b0
No related branches found
No related tags found
1 merge request!108Analysis: dis_analysis_ecal, dis_analysis_hcal, dis_analysis_raw
This commit is part of merge request !108. Comments created here will be created in the context of that merge request.
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "eicd/CalorimeterHitData.h" #include "eicd/CalorimeterHitData.h"
#include "eicd/ClusterData.h" #include "eicd/ClusterData.h"
int dis_electrons_ecal(const std::string& config_name) int rec_analysis_ecal(const std::string& config_name)
{ {
// read our configuration // read our configuration
std::ifstream config_file{config_name}; std::ifstream config_file{config_name};
......
...@@ -128,9 +128,9 @@ cat << EOF > ${CONFIG} ...@@ -128,9 +128,9 @@ cat << EOF > ${CONFIG}
"test_tag": "${BEAM_TAG}" "test_tag": "${BEAM_TAG}"
} }
EOF EOF
root -b -q "benchmarks/dis/analysis/dis_electrons_raw.cxx+(\"${CONFIG}\")" root -b -q "benchmarks/dis/analysis/rec_analysis_raw.cxx+(\"${CONFIG}\")"
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running dis_electron_raw script" echo "ERROR running rec_analysis_raw script"
exit 1 exit 1
fi fi
...@@ -145,9 +145,9 @@ cat << EOF > ${CONFIG} ...@@ -145,9 +145,9 @@ cat << EOF > ${CONFIG}
"test_tag": "${BEAM_TAG}" "test_tag": "${BEAM_TAG}"
} }
EOF EOF
root -b -q "benchmarks/dis/analysis/dis_electrons_ecal.cxx+(\"${CONFIG}\")" root -b -q "benchmarks/dis/analysis/rec_analysis_ecal.cxx+(\"${CONFIG}\")"
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running dis_electron_ecal script" echo "ERROR running rec_analysis_ecal script"
exit 1 exit 1
fi fi
...@@ -162,9 +162,9 @@ cat << EOF > ${CONFIG} ...@@ -162,9 +162,9 @@ cat << EOF > ${CONFIG}
"test_tag": "${BEAM_TAG}" "test_tag": "${BEAM_TAG}"
} }
EOF EOF
root -b -q "benchmarks/dis/analysis/dis_electrons_hcal.cxx+(\"${CONFIG}\")" root -b -q "benchmarks/dis/analysis/rec_analysis_hcal.cxx+(\"${CONFIG}\")"
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running dis_electron_hcal script" echo "ERROR running rec_analysis_hcal script"
exit 1 exit 1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment