#!/bin/tcsh
#
# This file was generated by the SBMS system (see SBMS/sbms_setenv.py)
#
# Generation date: 04:44AM on December 08, 2016
#
#       User: gluex
#       Host: jlabl3.jlab.org
#   platform: Linux jlabl3.jlab.org 2.6.32-642.3.1.el6.x86_64 #1 SMP Sun Jun 26 18:16:44 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
# BMS_OSNAME: Linux_RHEL6-x86_64-gcc4.9.2


# Make sure LD_LIBRARY_PATH is set
if ( ! $?LD_LIBRARY_PATH ) then
   setenv LD_LIBRARY_PATH
endif

# Make sure PYTHONPATH is set
if ( ! $?PYTHONPATH ) then
   setenv PYTHONPATH
endif

# HDDS
setenv HDDS_HOME /u/scratch/gluex/nightly/2017-01-01/Linux_RHEL6-x86_64-gcc4.9.2/hdds

# JANA
setenv JANA_HOME /group/halld/Software/builds/Linux_RHEL6-x86_64-gcc4.9.2/jana/jana_0.7.5p2^evio446/Linux_RHEL6-x86_64-gcc4.9.2
setenv JANA_CALIB_URL mysql://ccdb_user@hallddb.jlab.org/ccdb
setenv JANA_GEOMETRY_URL xmlfile://${HDDS_HOME}/main_HDDS.xml
setenv JANA_PLUGIN_PATH ${JANA_HOME}/plugins:${JANA_HOME}/lib
setenv PATH ${JANA_HOME}/bin:${PATH}

# HALLD
setenv HALLD_HOME /u/scratch/gluex/nightly/2017-01-16/Linux_RHEL6-x86_64-gcc4.9.2/sim-recon

#/u/scratch/gluex/nightly/2017-01-16/Linux_RHEL6-x86_64-gcc4.9.2

setenv HALLD_MY     /home/somov/work/plugins/time_window

setenv BMS_OSNAME Linux_RHEL6-x86_64-gcc4.9.2
setenv PATH ${HALLD_HOME}/${BMS_OSNAME}/bin:${PATH}
setenv JANA_PLUGIN_PATH ${HALLD_HOME}/${BMS_OSNAME}/plugins:${JANA_PLUGIN_PATH}
setenv LD_LIBRARY_PATH ${HALLD_HOME}/${BMS_OSNAME}/lib:${LD_LIBRARY_PATH}
setenv PYTHONPATH ${HALLD_HOME}/${BMS_OSNAME}/lib/python:${PYTHONPATH}

# CCDB
setenv CCDB_HOME /group/halld/Software/builds/Linux_RHEL6-x86_64-gcc4.9.2/ccdb/ccdb_1.06.02
if ( -e $CCDB_HOME/environment.csh ) then
  source $CCDB_HOME/environment.csh
endif
setenv CCDB_CONNECTION ${JANA_CALIB_URL}

# RCDB
setenv RCDB_HOME /group/halld/Software/builds/Linux_RHEL6-x86_64-gcc4.9.2/rcdb/rcdb_0.01
if ( -e $RCDB_HOME/environment.csh ) then
  source $RCDB_HOME/environment.csh
endif
setenv RCDB_CONNECTION mysql://rcdb@hallddb.jlab.org/rcdb

# ROOT
setenv ROOTSYS /group/halld/Software/builds/Linux_RHEL6-x86_64-gcc4.9.2/root/root-6.08.00
setenv PATH ${ROOTSYS}/bin:${PATH}
setenv LD_LIBRARY_PATH ${ROOTSYS}/lib:${LD_LIBRARY_PATH}

# CERNLIB
setenv CERN /group/halld/Software/builds/Linux_RHEL6-x86_64-gcc4.9.2/cernlib
setenv CERN_LEVEL 2005
setenv PATH ${CERN}/${CERN_LEVEL}/bin:${PATH}
setenv LD_LIBRARY_PATH ${CERN}/${CERN_LEVEL}/lib:${LD_LIBRARY_PATH}

# Xerces
setenv XERCESCROOT /group/halld/Software/builds/Linux_RHEL6-x86_64-gcc4.9.2/xerces-c/xerces-c-3.1.4
setenv PATH ${XERCESCROOT}/bin:${PATH}
setenv LD_LIBRARY_PATH ${XERCESCROOT}/lib:${LD_LIBRARY_PATH}

# EVIO
setenv EVIOROOT /group/halld/Software/builds/Linux_RHEL6-x86_64-gcc4.9.2/evio/evio-4.4.6/Linux-x86_64
setenv LD_LIBRARY_PATH ${EVIOROOT}/lib:${LD_LIBRARY_PATH}
