3 # source sourceme-ups.sh [version [qual]]
5 # This sets up a bash shell to use UPS products to supply WCT build
6 # and runtime environment. For building see wct-configure-for-ups.sh
7 # in this same directory. Although Wire Cell Toolkit does not depend
8 # on LArSoft, the environment is configured by piggy-backing on a
9 # "larsoft" UPS product of the given version and qualifiers.
11 version=${1:-v06_76_00}
14 source /cvmfs/larsoft.opensciencegrid.org/products/setup
16 setup larsoft $version -q $quals
21 # installed system git on Fermilab systems is too old so also set it up.
25 srcdir=$(dirname $(dirname $(readlink -f $BASH_SOURCE)))
27 export WIRECELL_DATA=$srcdir/cfg
28 echo "You will need to add your wire-cell-data directory to \$WIRECELL_DATA (currently $WIRECELL_DATA)"