ffttest.sh
Go to the documentation of this file.
1 #! /bin/bash
2 
3 experiment=''
4 if [ $# -gt 0 ]; then
5  experiment=$1
6 fi
7 
8 if [ x$experiment = x ]; then
9  echo "Usage: ffttest.sh <experiment>"
10  exit 1
11 fi
12 
13 if [ $experiment = microboone ];then
14  experiment=uboone
15 fi
16 
17 fcl1=simwire_${experiment}.fcl
18 if [ ! -f $fcl1 ]; then
19  echo "$fcl1 not found."
20  exit 1
21 fi
22 
23 fcl2=ffttest_${experiment}.fcl
24 if [ ! -f $fcl2 ]; then
25  echo "$fcl2 not found."
26  exit 1
27 fi
28 
29 lar -c $fcl1
30 lar -c $fcl2