#!/bin/csh
#rat environment
setenv ROOTSYS $SNOPLUS_CVMFS_DIR/sw/dependencies/root-6.30.06
source $ROOTSYS/obj/bin/thisroot.sh
setenv RAT_SCONS $SNOPLUS_CVMFS_DIR/sw/dependencies/scons-3.1.2
source $SNOPLUS_CVMFS_DIR/sw/dependencies/geant4.10.00.p04/bin/geant4.csh
setenv BZIPROOT $SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.8
setenv PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-6.30.06/bin:$SNOPLUS_CVMFS_DIR/sw/dependencies/geant4.10.00.p04/bin:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-8.8.0/bin:${PATH}
if(${?PYTHONPATH}) then
setenv PYTHONPATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-6.30.06/lib:${PYTHONPATH}
else
setenv PYTHONPATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-6.30.06/lib
endif
if(${?LD_LIBRARY_PATH}) then
setenv LD_LIBRARY_PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-6.30.06/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-8.8.0/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.8/lib:${LD_LIBRARY_PATH}
else
setenv LD_LIBRARY_PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/gsl-2.7.1/lib/:$SNOPLUS_CVMFS_DIR/sw/dependencies/root-6.30.06/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-8.8.0/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.8/lib
endif
if(${?DYLD_LIBRARY_PATH}) then
setenv DYLD_LIBRARY_PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-6.30.06/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-8.8.0/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.8/lib:${DYLD_LIBRARY_PATH}
else
setenv DYLD_LIBRARY_PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-6.30.06/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-8.8.0/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.8/lib
endif
source $SNOPLUS_CVMFS_DIR/sw/8.0.8/rat-8.0.8/env.csh
