From 148817bf59e38fa3ebf2fc7586167ef45397c61a Mon Sep 17 00:00:00 2001 From: hadaq Date: Mon, 28 Aug 2017 17:54:45 +0200 Subject: [PATCH] tool for checking rising and trailing edges --- users/gsi_dirc/check_tot.sh | 236 ++++++++++++++++++++++++++++++++++++ 1 file changed, 236 insertions(+) create mode 100755 users/gsi_dirc/check_tot.sh diff --git a/users/gsi_dirc/check_tot.sh b/users/gsi_dirc/check_tot.sh new file mode 100755 index 0000000..a711c79 --- /dev/null +++ b/users/gsi_dirc/check_tot.sh @@ -0,0 +1,236 @@ + +if test -z "$1"; then + echo "usage: ./check_tot.sh filename" + exit +fi + +NN=5000 +echo 'analysing first' +echo ${NN} +echo 'events...' + +# this is the famous Carsten programming style... + +hldprint < check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + +hldprint <> check_tot.dat + +EOF + +hldprint <> check_tot.dat + +EOF + + + +./check_tot + -- 2.43.0