### PAMELA Environment set-up, change according to  your machine installation
SCRIPT_DIR=`pwd`
#source /home/pamela/pamela_software/pam_env.sh pro
# Note a file check is needed here ....
source $SCRIPT_DIR/pam_env.sh new
#####
export PAM_DBHOST=mysql://localhost/pamelaprod #must be exported
export TREAT_OUT=/home/nikolas/RES
export G4VMC_DIR=/cern/geant4_vmc/pro
export PLATFORM=linux
export VGM_SYSTEM=Linux-g++
#####
export PATH=`echo $PATH |sed 's/\/cern\/ROOT\/pro/\/cern\/ROOT\/new/g'` 
export LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH |sed 's/\/cern\/ROOT\/pro/\/cern\/ROOT\/new/g'` 
export ROOTSYS=/cern/ROOT/new
##### 
##### Let's override the G4WORKDIR default definition 
#####
export  G4WORKDIR=${SCRIPT_DIR%/*}
echo G4WORKDIR  set to $G4WORKDIR


