Skip to content
Snippets Groups Projects
Commit 54e91df2 authored by adrien-matta's avatar adrien-matta
Browse files

* adding missing script

parent 46406c70
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# exit on error, and verbose
set -ev
# can run the app
npanalysis -h
# Compile Example1
cd ../NPAnalysis/Example1
cmake ./
if [ -e Makefile ]
then
make
else
ninja
fi
# Moving reference test simulation
cp $NPTOOL/Examples/Example1_Simu.root $NPTOOL/Outputs/Simulation/Example1.root
npanalysis -R RunToTreat.txt -O Example1
echo ".q" | root -l ShowResult.cxx
# Compile Example2
cd ../Example2
cmake ./
if [ -e Makefile ]
then
make
else
ninja
fi
cp $NPTOOL/Examples/Example2_Simu.root $NPTOOL/Outputs/Simulation/Example2.root
npanalysis -R RunToTreat.txt -O Example2
echo ".q" | root -l ShowResult.cxx
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment