Jpp  15.0.3
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tripod-Z: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: FORMAT GRAPHICS_FORMAT gif
14 set_variable+ BATCH GRAPHICS_BATCH -B
15 
16 if do_usage $*; then
17  usage "$script <tripod identifier>"
18 fi
19 
20 if (( $# != 1 )); then
21  fatal "Wrong number of arguments."
22 fi
23 
25 
26 source JAcoustics.sh --
27 
28 CHECK_EXIT_CODE
29 
30 set_variable TRIPOD_TXT $WORKDIR/tripodz_${TRIPOD}.txt
31 set_variable TRIPOD_ROOT $WORKDIR/tripodz_${TRIPOD}.root
32 
33 if [[ ! -f $TRIPOD_TXT ]] then
34  fatal "No tripod data file $TRIPOD_TXT."
35 fi
36 
37 JGraph \
38  -f $TRIPOD_TXT \
39  -o $TRIPOD_ROOT
40 
41 JPlot1D \
42  -f $TRIPOD_ROOT:\.\* \
43  -\> "#Deltaz [m]" \
44  -\^ "#chi^{2}/NDF" \
45  -T "[$TRIPOD]" \
46  -o $WORKDIR/tripodz_${TRIPOD}.$FORMAT $BATCH
47 
48 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]
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
then fatal Wrong number of arguments fi set_variable TRIPOD $argv[1] source JAcoustics sh CHECK_EXIT_CODE set_variable TRIPOD_TXT $WORKDIR tripodz_
Definition: tripod-Z:fit.sh:32
script
Definition: JAcoustics.sh:2
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null