#
# Unset everything
# 
unset PAM_HOME
unset PAM_SOFTWARE
unset PAM_BIN
unset PAM_LIB
unset PAM_SRC
unset PAM_INC
unset PAM_DOC
unset PAM_MACRO
unset PAM_CALIB
unset PAM_YODA
unset FEV_PLUGIN
unset PAM_BIT
unset LINUX_DISTRO
unset CERN
unset CERN_LEVEL
unset CERN_ROOT
unset ROOTSYS
unset CC
unset CXX
#
# PAMELA SOFTWARE
#
export PAM_HOME=/cern
export PAM_SOFTWARE=$PAM_HOME/PAMELA
#
export PAM_DBHOST=mysql://localhost/nikonov
export PAM_DBUSER=nikonov
export PAM_DBPSW=PamMc2009
#
# new variables
# 
export 	  PAM_L0=/DATA/
export 	  PAM_L0TSA=/DATA/
export 	  PAM_L0FIA=$PAM_L0
export 	  PAM_L0FIB=$PAM_L0
export 	  PAM_L0NAA=$PAM_L0
#
export 	  PAM_L2=/DATA/
#
export    PAM_BIN=$PAM_SOFTWARE/bin
export    PAM_LIB=$PAM_SOFTWARE/lib
export    PAM_SRC=$PAM_SOFTWARE/src
export    PAM_INC=$PAM_SOFTWARE/inc
export    PAM_DOC=$PAM_SOFTWARE/docs
export    PAM_MACROS=$PAM_SOFTWARE/macros
export    PAM_CALIB=$PAM_SOFTWARE/calib
export    PAM_YODA=$PAM_SOFTWARE
export    FEV_PLUGIN=$PAM_SOFTWARE/plugins/
#
export LD_LIBRARY_PATH=$PAM_YODA/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$PAM_LIB:$LD_LIBRARY_PATH
export PATH=$PAM_BIN:$PATH
#
# OTHER SETTINGS
#
export PAM_BIT=-m32
export ARCH=`uname`
#
export CVS_RSH=ssh
export CVSROOT=/afs/ba.infn.it/user/pamela/src/CVS


ROOTSYS=/cern/ROOT
export ROOTSYS
PATH=$ROOTSYS/bin:${PATH}
export PATH
export LD_LIBRARY_PATH=${ROOTSYS}/lib/:${LD_LIBRARY_PATH}


#export TMVA=/gpfs/wizard/flight/production/installed/pamela_software_8threduction/TMVA/
#export LD_LIBRARY_PATH=$TMVA/lib:$LD_LIBRARY_PATH
#
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
export WELC=" Welcome to PAMELA 8th reduction environment "

echo ""
echo $WELC
echo ""

alias whichprod='echo $WELC';
