From 227de60e99fce465f98e82f28934e0945140b66a Mon Sep 17 00:00:00 2001 From: Samir Amar-Youcef Date: Fri, 19 Dec 2014 13:59:30 +0100 Subject: [PATCH] add readme file --- s-curves/analysis_gui/GUI/run.sh | 21 +++++++++++++-------- s-curves/analysis_gui/GUI/runana.sh | 2 +- s-curves/analysis_gui/readme.txt | 9 +++++++++ 3 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 s-curves/analysis_gui/readme.txt diff --git a/s-curves/analysis_gui/GUI/run.sh b/s-curves/analysis_gui/GUI/run.sh index 3173fa5..49ecc62 100755 --- a/s-curves/analysis_gui/GUI/run.sh +++ b/s-curves/analysis_gui/GUI/run.sh @@ -1,11 +1,16 @@ -# export LD_LIBRARY_PATH=/d/jspc22/dabc/lib/:$LD_LIBRARY_PATH -# echo "Input: $1" -# echo "Output: $4" -# ./unpacker $1 $2 $3 $4 -# echo "Finished!" - +# --> Unpacker from folder: cpp_based-on-dabc-lib +export LD_LIBRARY_PATH=/d/jspc22/dabc/lib/:$LD_LIBRARY_PATH echo "Input: $1" -# echo "Output: $4" -./unpackerB $1 +echo "Output: $4" +. ../../cpp_based-on-dabc-lib/unpacker $1 $2 $3 $4 echo "Finished!" + + + +# --> Unpacker from folder: cpp_standalone + +# echo "Input: $1" +# # echo "Output: $4" +# . ../../cpp_standalone/unpackerB $1 +# echo "Finished!" diff --git a/s-curves/analysis_gui/GUI/runana.sh b/s-curves/analysis_gui/GUI/runana.sh index feb8a1b..231f3be 100755 --- a/s-curves/analysis_gui/GUI/runana.sh +++ b/s-curves/analysis_gui/GUI/runana.sh @@ -1,7 +1,7 @@ echo "Input: $1" # echo "Mode: $2" rndmpxl=`pwd`/rndmpxl.ini -time ./Mi26Ana $1 $rndmpxl $2 $3 $4 $5 +time . ../ANA/Mi26Ana $1 $rndmpxl $2 $3 $4 $5 # echo "Finished!" # # echo "./Mi26Ana $1 $rndmpxl $2 $3 $4 $5" diff --git a/s-curves/analysis_gui/readme.txt b/s-curves/analysis_gui/readme.txt new file mode 100644 index 0000000..3af75f1 --- /dev/null +++ b/s-curves/analysis_gui/readme.txt @@ -0,0 +1,9 @@ + +1. Compile the code + - ANA + - GUI + - Unpacker (note: there are 2 different unpacker available) + +2. Un-/comment the part in GUI/runana.sh according to which unpacker you choose + +3. To run the analysis GUI, you have to make ROOT available in the console first \ No newline at end of file -- 2.43.0