7source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
10set_variable: FORMAT GRAPHICS_FORMAT gif
11set_variable+ BATCH GRAPHICS_BATCH -B
14 usage "$script <input file> <input file>"
18 INPUT_FILES=($argv[1,2])
20 fatal "Wrong number of arguments."
23$JPP_DIR/examples/JSummaryslice/JCompareSummaryslice \
24 -f "$INPUT_FILES[1,2]" \
32 -\^ "number of events [a.u.]" \
61H2[h2]="high-rate veto"
62H2[h3]="FIFO (almost) full"
67JPrintRange2D -f summary.root:h1 | read -A BUFFER
69JLine -p "$BUFFER[1] $BUFFER[2] $BUFFER[4] $BUFFER[5]" -@ "width = 1" -o line.root
71for KEY VALUE in ${(kv)H2}; do
73 if [[ "$VALUE" == *"Hz"* ]]; then
78 if (( $(JPrintResult -f summary.root:$KEY -F GetNbinsX) <= 2 )); then
81 if (( $(JPrintResult -f summary.root:$KEY -F GetNbinsY) <= 2 )); then
86 if [[ "$KEY" == "h1" ]]; then
87 OPTIONS+=("-f line.root:TLine")
91 -f summary.root:$KEY \
98 -o $KEY.$FORMAT $BATCH