Jpp  15.0.3
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JAcousticsTriggerMonitor.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 ./
14 set_variable: FORMAT GRAPHICS_FORMAT gif
15 set_variable+ BATCH GRAPHICS_BATCH -B
16 
17 if do_usage $*; then
18  usage "$script (input file)+"
19 fi
20 
21 if (( $# > 0 )); then
23 else
24  fatal "Wrong number of arguments."
25 fi
26 
27 set_variable MONITOR_FILE $WORKDIR/monitor.root
28 
29 $JPP_DIR/examples/JAcoustics/JAcousticsTriggerMonitor \
30  -f "$INPUT_FILES[*]" \
31  -o $MONITOR_FILE \
32  -d $DEBUG
33 
34 JPlot1D \
35  -w 1200x600 \
36  -f "${MONITOR_FILE}:G\[.*\].size" \
37  -\^ "size" \
38  -t "$TIMESTAMP" \
39  -S 0.6 \
40  -T "$RUN" \
41  -L BR \
42  -o $WORKDIR/size-${RUN}.$FORMAT $BATCH
43 
44 JPlot1D \
45  -w 1200x600 \
46  -f "${MONITOR_FILE}:G\[.*\].rms" \
47  -\^ "rms [s]" \
48  -t "$TIMESTAMP" \
49  -S 0.6 \
50  -T "$RUN" \
51  -L BR \
52  -o $WORKDIR/rms-${RUN}.$FORMAT $BATCH
53 
54 JPlot1D \
55  -w 1200x600 \
56  -f "${MONITOR_FILE}:G\[.*\].quality" \
57  -y "0 6" \
58  -\^ "10log(quality)" \
59  -t "$TIMESTAMP" \
60  -S 0.6 \
61  -T "$RUN" \
62  -L BR \
63  -o $WORKDIR/quality-${RUN}.$FORMAT $BATCH
64 
65 JPlot1D \
66  -w 1200x600 \
67  -f "${MONITOR_FILE}:G\[.*\].overlays" \
68  -\^ "overlays" \
69  -t "$TIMESTAMP" \
70  -S 0.6 \
71  -T "$RUN" \
72  -L BR \
73  -o $WORKDIR/overlays-${RUN}.$FORMAT $BATCH
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]
data_type w[N+1][M+1]
Definition: JPolint.hh:741
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
then rm i $OUTPUT_FILE fi let RUN
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
do sput $STRING $FLOOR sget MODULE INPUT_FILES
Definition: JCanberra.sh:73
do set_variable SIGMA_NS set_variable OUTLIERS set_variable OUTPUT_FILE matrix[${ALPHA_DEG}\deg\] root $JPP JMatrixNZ a $DETECTOR f $INPUT_FILE o $OUTPUT_FILE S
Definition: JMatrixNZ.sh:58
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
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
static void monitor()
Definition: DataQueue.cc:32
static const char *const TIMESTAMP
Time stamp of earliest UTC time.
script
Definition: JAcoustics.sh:2
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null