Jpp  15.0.3
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tripod-XY:plot.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 script=${0##*/}
3 
4 if [ -z $JPP_DIR ]; then
5  echo "Variable JPP_DIR undefined."
6  exit
7 fi
8 
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
10 
11 set_variable: DEBUG ACOUSTICS_DEBUG 2
12 set_variable: WORKDIR ACOUSTICS_WORKDIR ./
13 set_variable: OPTION GRAPHICS_OPTION
14 set_variable: FORMAT GRAPHICS_FORMAT gif
15 set_variable+ BATCH GRAPHICS_BATCH -B
16 
17 if do_usage $*; then
18  usage "$script <tripod identifier>"
19 fi
20 
21 if (( $# != 1 )); then
22  fatal "Wrong number of arguments."
23 fi
24 
26 
27 source JAcoustics.sh --
28 
29 CHECK_EXIT_CODE
30 
31 set_variable TRIPOD_TXT $WORKDIR/tripodxy_${TRIPOD}.txt
32 set_variable TRIPOD_ROOT $WORKDIR/tripodxy_${TRIPOD}.root
33 
34 if [[ ! -f $TRIPOD_TXT ]] then
35  fatal "No tripod data file $TRIPOD_TXT."
36 fi
37 
38 JGraph2D \
39  -f $TRIPOD_TXT \
40  -o $TRIPOD_ROOT
41 
42 JPlot2D \
43  -f $TRIPOD_ROOT:\.\* \
44  -\> "#Deltax [m]" \
45  -\< "#Deltay [m]" \
46  -\^ "#chi^{2}/NDF" \
47  -O COLZ \
48  -T "[$TRIPOD]" \
49  $OPTION \
50  -o $WORKDIR/tripodxy_${TRIPOD}.$FORMAT $BATCH
51 
52 rm -f $TRIPOD_ROOT
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn only modules within the given range of floors are used fi case set_variable RANGE $argv[3]
then usage $script< detector >< run >< outputfile > fi case set_variable OPTION
Definition: JTuna.sh:26
then fatal Wrong number of arguments fi set_variable TRIPOD $argv[1] source JAcoustics sh CHECK_EXIT_CODE set_variable TRIPOD_TXT $WORKDIR tripodxy_
o $QUALITY_ROOT d $DEBUG!JPlot1D f
Definition: JDataQuality.sh:66
exit
Definition: JPizza.sh:36
then echo
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:20
do set_variable OUTPUT_DIRECTORY $WORKDIR T
&set_variable TRIPOD
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
Definition: JLegolas.sh:20
* usage
then JConvertDetectorFormat a $DETECTOR[1] o
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
then display $WORKDIR
Definition: plot-Domino.sh:128
script
Definition: JAcoustics.sh:2
*fatal Wrong option $OPTION
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null