7 # ------------------------------------------------------------------------------------------
9 # Utility script to test JNanoBeacons/JOptimizeVoltage.
11 # ------------------------------------------------------------------------------------------
16 JNANODIR="/data/stu18q3km3/src/Jpp/trunk/examples/JNanobeacon"
18 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
20 if ( do_usage $* ); then
21 usage "$script [edit the different options within]"
25 #------------------------------------
26 # Input-Output definitions
27 #------------------------------------
39 in_detx="/afs/in2p3.fr/home/r/rgracia/sps/KM3NeT/ORCA/Calibration/data/det/ORCA/KM3NeT_00000029_20170920.detx"
41 runs=(2745 2746 2747 2748 2749 2750 2751 2752 2753)
43 pulsedir="$WORKDIR/out/ORCA/JPulseFinder"
47 for i in {1..$((${#runs[@]}))}
51 infile="$pulsedir/JPF_${runs[i]}.root"
53 outfile="$pulsedir/Pulse_classification_${runs[i]}.root"
56 pulse_classification \