Jpp  18.2.1-ARCA-DF-PATCH
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JAAnetDynamics.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 #
3 #
4 # \author mdejong
5 #
6 version=1.0
7 script=${0##*/}
8 
9 if [ -z $JPP_DIR ]; then
10  echo "Variable JPP_DIR undefined."
11  exit
12 fi
13 
14 source $JPP_DIR/setenv.sh $JPP_DIR
15 
18 set_variable DIR $JPP_DIR/examples/JAAnet/
19 set_variable: FORMAT GRAPHICS_FORMAT gif
20 set_variable+ BATCH GRAPHICS_BATCH -B
21 
22 if do_usage $*; then
23  usage "$script <input file>"
24 fi
25 
26 if (( $# != 1 )); then
27  fatal "Wrong number of parameters."
28 fi
29 
31 
32 
33 function clean()
34 {
35  rm -f ${TMPDIR:-/tmp}/dynamics.root
36 }
37 
38 
39 $DIR/JAAnetDynamics \
40  -f $INPUT_FILE \
41  -o ${TMPDIR:-/tmp}/dynamics.root \
42  -d $DEBUG
43 
44 JPlot1D \
45  -w 1200x600 \
46  -f ${TMPDIR:-/tmp}/dynamics.root:orientation \
47  -f ${TMPDIR:-/tmp}/dynamics.root:position \
48  -f ${TMPDIR:-/tmp}/dynamics.root:gandalf \
49  -\^ "coverage" \
50  -t "$TIMESTAMP" \
51  -T "" \
52  -O "][" \
53  -L BL \
54  -o coverage.$FORMAT $BATCH
55 
56 clean
data_type w[N+1][M+1]
Definition: JPolint.hh:867
then usage $script< detector identifier >< startdate\"YYYY-MM-DDHH:MM:SS\"><finaldate\"YYYY-MM-DDHH:MM:SS\"><QA/QCfile> fi case set_variable QAQC_TXT $argv[4]
Definition: JDataMonitor.sh:24
version
Definition: JEditTuneHV.sh:5
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
Definition: JDataQuality.sh:76
usr share Modules init zsh export TMPDIR
exit
Definition: JPizza.sh:36
then
Definition: datalogs.sh:31
then fatal Wrong number of arguments fi DIR
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
then rm
Definition: sftpput.zsh:30
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:21
case $OPTION in clean clean
do set_variable OUTPUT_DIRECTORY $WORKDIR T
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 JFileTuna f $INPUT_FILE
Definition: file-Tuna.sh:66
set_variable INPUT_FILE
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
then echo
Definition: JQAQC.sh:90
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62