1 # Source this file to set the basic configuration needed by LArSoft
2 # and for the uBooNE-specific software that interfaces to LArSoft.
4 # Set up ups for LArSoft
5 # Sourcing this setup will add /grid/fermiapp/products/larsoft and
6 # /grid/fermiapp/products/common to $PRODUCTS
9 OASIS_LARSOFT_DIR=
"/cvmfs/oasis.opensciencegrid.org/fermilab/products/larsoft/"
10 FERMIAPP_LARSOFT_DIR=
"/grid/fermiapp/products/larsoft/"
11 OASIS_SBND_DIR=
"/cvmfs/oasis.opensciencegrid.org/sbnd/products/"
12 FERMIAPP_SBND_DIR=
"/grid/fermiapp/products/sbnd/"
13 FERMIAPP_COMMON_DIR=
"/grid/fermiapp/products/"
14 SBND_BLUEARC_DATA=
"/sbnd/data/"
16 #if [[ -d "${FERMIAPP_COMMON_DIR}" ]]; then
17 # echo "Setting up the Grid Fermiapp common UPS area...${FERMIAPP_COMMON_DIR}"
18 # source ${FERMIAPP_COMMON_DIR}/setups.sh
21 if [[ -d
"${FERMIAPP_LARSOFT_DIR}" ]]; then
22 echo
"Setting up the Grid Fermiapp larsoft UPS area...${FERMIAPP_LARSOFT_DIR}"
24 source ${FERMIAPP_LARSOFT_DIR}/setups
25 export PRODUCTS=${PRODUCTS}:/
grid/fermiapp/products/
common/
db
27 elif [[ -d
"${OASIS_LARSOFT_DIR}" ]]; then
28 echo
"Setting up the OASIS Fermilab UPS area...${OASIS_LARSOFT_DIR}"
30 source ${OASIS_LARSOFT_DIR}/setups.for.cvmfs
31 export PRODUCTS=${PRODUCTS}:/cvmfs/oasis.opensciencegrid.org/fermilab/products/
common/
db
34 if [[ -d
"${FERMIAPP_SBND_DIR}" ]]; then
35 echo
"Setting up the Grid Fermiapp sbnd UPS area...${FERMIAPP_SBND_DIR}"
37 # source ${FERMIAPP_SBND_DIR}/setups
38 export PRODUCTS=
"/grid/fermiapp/products/sbnd:$PRODUCTS"
40 elif [[ -d
"${OASIS_SBND_DIR}" ]]; then
41 echo
"Setting up the OASIS sbnd UPS area...${OASIS_SBND_DIR}"
43 source ${OASIS_SBND_DIR}/setups.for.cvmfs
46 # Add uBooNE path to FW_SEARCH_PATH
48 if [[ -d
"${SBND_BLUEARC_DATA}" ]]; then
50 [[ -
n $FW_SEARCH_PATH ]] && FW_SEARCH_PATH=`dropit -
e -
p $FW_SEARCH_PATH ${SBND_BLUEARC_DATA}`
51 export FW_SEARCH_PATH=${SBND_BLUEARC_DATA}:${FW_SEARCH_PATH}
56 # Set up the basic tools that will be needed
62 # Define the value of MRB_PROJECT. This can be used
63 # to drive other set-ups.
64 # We need to set this to 'larsoft' for now.
68 # Define environment variables that store the standard experiment name.
70 export JOBSUB_GROUP=
sbnd
71 export EXPERIMENT=
sbnd
72 export SAM_EXPERIMENT=
sbnd
76 export ART_WORKBOOK_OUTPUT_BASE=/
sbnd/data/users
77 export ART_WORKBOOK_WORKING_BASE=/
sbnd/app/users
78 export ART_WORKBOOK_QUAL=
"s2:e5:nu"
then source grid fermiapp products dune setup_dune_fermiapp sh exit else echo No setup file found exit fi setup
then setup git exit fi setup gitflow exit export MRB_PROJECT
then source cvmfs dune opensciencegrid org products dune setup_dune sh exit elif[-f/grid/fermiapp/products/dune/setup_dune_fermiapp.sh]
constexpr details::BinObj< T > bin(T value)
Returns a wrapper to print the specified data in binary format.
esac shift done rm f *xml find $SBNDCODE_DIR source fcl gen name *fcl while read fcl do if!echo $fcl grep q common
stream1 can override from command line with o or output services user sbnd
height to which particles are projected pnfs larsoft persistent physics cosmics Fermilab CORSIKA standard He_showers_ * db