# NOTE: this script has been generated by the ALICE HLT stand-alone
# build system. Commit changes to the setenv.*sh.in templates in BASE.
#
+# bugs,questions: @PACKAGE_BUGREPORT@
+# @PACKAGE_STRING@
+#
# ####################################################################
#
# @AUTOGENERATED_WARNING@
# NOTE: this script has been generated by the ALICE HLT stand-alone
# build system. Commit changes to the setenv.*sh.in templates in BASE.
#
+# bugs,questions: @PACKAGE_BUGREPORT@
+# @PACKAGE_STRING@
+#
# ####################################################################
#
# @AUTOGENERATED_WARNING@
--- /dev/null
+#!/bin/bash
+# $Id$
+# helper script to start the AliEVE and show barrel tracks
+#
+# usage: startAliEVE-barrel-tracks.sh <esd-file>
+#
+# NOTE: this script has been generated by the ALICE HLT stand-alone
+# build system. Commit changes to
+# HLT/exa/startAliEVE-barrel-tracks.sh.in
+#
+# bugs,questions: Matthias.Richter@ift.uib.no
+#
+# ####################################################################
+#
+# @AUTOGENERATED_WARNING@
+#
+# ####################################################################
+
+while test $# -gt 0 ; do
+ arg=`echo $1 | sed 's|--[-_a-zA-Z0-9]*=||'`
+ case $1 in
+ --help) do_help=1 ;;
+ --verbose) verbose=1 ;;
+
+ -*)
+ echo unknown argument $1;
+ do_help=1;
+ break;
+ ;;
+
+ *)
+ esd=$1 && break;;
+
+ esac
+ shift
+done
+
+if test "x$esd" != "x"; then
+ if ! [ -e $esd ]; then
+ echo can not find file $esd
+ exit -1
+ fi
+else
+ if ! [ -e AliESDs.root ]; then
+ echo can not find default ESD file AliESDs.root
+ echo
+ do_help=1
+ fi
+fi
+
+if [ "x$do_help" != "x" ] ; then
+
+cat <<EOF
+usage `basename $0` [OPTION] [esd file]
+
+Helper script to start AliEve and display the barrel tracks. An optional
+ESD file can be specified, by default AliESDs.root is taken.
+Options
+--help print this help
+--verbose be verbose
+
+send bug reports and suggestions to @PACKAGE_BUGREPORT@
+`basename $0` version @PACKAGE_STRING@
+EOF
+exit 0
+fi
+
+esd=\"$esd\"
+which aliroot 2> /dev/null || source `dirname $0`/setenv.sh
+
+test "x$verbose" != "x" && echo alieve $ALICE_ROOT/EVE/macros/alieve_init.C\'\(\"./\", 0, $esd\)\' $ALICE_ROOT/EVE/alice-macros/geom_simple.C $ALICE_ROOT/EVE/alice-macros/esd_tracks.C
+alieve $ALICE_ROOT/EVE/macros/alieve_init.C\(\"./\",\ 0,\ $esd\) $ALICE_ROOT/EVE/alice-macros/geom_simple.C $ALICE_ROOT/EVE/alice-macros/esd_tracks.C
+