#!/bin/csh
#rat environment
setenv ROOTSYS $SNOPLUS_CVMFS_DIR/sw/dependencies/root-5.34.36
setenv RAT_SCONS $SNOPLUS_CVMFS_DIR/sw/dependencies/scons-2.3.4
source $SNOPLUS_CVMFS_DIR/sw/dependencies/geant4.10.0.p02/bin/geant4.csh
setenv BZIPROOT $SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.6
setenv PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-5.34.36/bin:$SNOPLUS_CVMFS_DIR/sw/dependencies/geant4.10.0.p02/bin:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-7.26.0/bin:${PATH}
if(${?PYTHONPATH}) then
setenv PYTHONPATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-5.34.36/lib:${PYTHONPATH}
else
setenv PYTHONPATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-5.34.36/lib
endif
if(${?LD_LIBRARY_PATH}) then
setenv LD_LIBRARY_PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-5.34.36/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-7.26.0/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.6/lib:${LD_LIBRARY_PATH}
else
setenv LD_LIBRARY_PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-5.34.36/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-7.26.0/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.6/lib
endif
if(${?DYLD_LIBRARY_PATH}) then
setenv DYLD_LIBRARY_PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-5.34.36/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-7.26.0/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.6/lib:${DYLD_LIBRARY_PATH}
else
setenv DYLD_LIBRARY_PATH $SNOPLUS_CVMFS_DIR/sw/dependencies/root-5.34.36/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/curl-7.26.0/lib:$SNOPLUS_CVMFS_DIR/sw/dependencies/bzip2-1.0.6/lib
endif
source $SNOPLUS_CVMFS_DIR/sw/6.5.2/rat-6.5.2/env.csh
