make_splines.sh
Go to the documentation of this file.
1 #!/bin/sh
2 spline_output_suffix=_QE_splines.xml
3 
4 if [ "$1" = "EFF" ]; then
5  gmkspl -p 14,-14 -t 1000010010,1000010020,1000020040,1000060120,1000100200,1000130270,1000180400,1000260560,1000822080 \
6  -n 100 -e 100 -o ./splines/$1$spline_output_suffix --event-generator-list CCQE
7 else
8  gmkspl -p 14,-14 -t 1000060120 -n 100 -e 100 -o ./splines/$1$spline_output_suffix --event-generator-list CCQE
9 fi
10 
11 root_output_suffix=_QE_splines.root
12 gspl2root -f ./splines/$1$spline_output_suffix -p 14 -t 1000060120 -e 100 -o ./splines/$1$root_output_suffix
13 gspl2root -f ./splines/$1$spline_output_suffix -p -14 -t 1000060120 -e 100 -o ./splines/$1$root_output_suffix