Jpp - the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
footprint-TxTy: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 
12 set_variable WORKDIR ${ACOUSTICS_WORKDIR:-./}
13 set_variable BACKGROUND ${ACOUSTICS_BACKGROUND:+-B}
14 
15 if ( do_usage $* ); then
16  usage "$script"
17 fi
18 
19 set_variable FOOTPRINT_TXT $WORKDIR/footprint.txt
20 set_variable FOOTPRINT_ROOT $WORKDIR/footprint.root
21 
22 if [[ ! -f $FOOTPRINT_TXT ]] then
23  fatal "No footprint data file $FOOTPRINT_TXT."
24 fi
25 
26 JGraph2D \
27  -f $FOOTPRINT_TXT \
28  -o $FOOTPRINT_ROOT
29 
30 typeset -Z 4 STRING
31 
32 JPlot2D \
33  -f ${FOOTPRINT_ROOT}:\.\* \
34  -\> "Tx" \
35  -\< "Ty" \
36  -\^ "RMS" \
37  -N "X 505" \
38  -N "Y 505" \
39  -O COLZ \
40  -T "" \
41  -o $WORKDIR/footprint.gif $BACKGROUND
42 
43 rm -f $FOOTPRINT_ROOT
44 
45 
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
exit
Definition: JPizza.sh:36
then JPizza f
Definition: JPizza.sh:46
then echo
do set_variable OUTPUT_DIRECTORY $WORKDIR T
do $DIR JTransitTime o
Definition: JTransitTime.sh:44
* usage
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable ACOUSTICS_DEBUG
Definition: JAcoustics.sh:17
then display $WORKDIR
Definition: plot-Domino.sh:127
then usage $script[input file[working directory[option]]] nWhere option can be N
Definition: JMuonPostfit.sh:37
script
Definition: JAcoustics.sh:2
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
Definition: JLegolas.sh:28
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62