#!/bin/bash

export PATH=/afs/slac/g/lcls/package/python/python2.7.9/linux-x86_64/bin:$PATH
export LD_LIBRARY_PATH=/afs/slac/g/lcls/package/python/python2.7.9/linux-x86_64/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/afs/slac/g/lcls/package/boost/1.57.0/linux-x86_64/lib/:$LD_LIBRARY_PATH


export LD_LIBRARY_PATH=/afs/slac/g/lcls/package/cpsw/framework/devel-yaml/O.linux-x86_64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/afs/slac/g/lcls/package/yaml-cpp/yaml-cpp-0.5.3/linux-x86_64/lib:$LD_LIBRARY_PATH

export PYTHONPATH=/afs/slac/g/lcls/package/cpsw/framework/devel-yaml/O.linux-x86_64:$PYTHONPATH

# Base directory
export BASE=${PWD}

# QT Base Directory, required for compile
export QTDIR=/afs/slac/g/reseng/qt/qt_4.7.4_x64

# QWT Base Directory, uncomment to compile online gui
#export QWTDIR=/afs/slac/g/reseng/qt/qwt_6.0_x64

# Root base directory, uncomment to compile root programs
export ROOTSYS=/afs/slac/g/reseng/root/root_v5.26.00

# Python search path, uncomment to compile python script support
export PYTHONPATH=${BASE}/python/lib64/python/

# Setup path
export PATH=${BASE}/bin:${QTDIR}/bin:${PATH}

# Setup library path
export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}

export LD_LIBRARY_PATH=${QWTDIR}/lib:${LD_LIBRARY_PATH}

# Optional root
export PATH=${ROOTSYS}/bin:${PATH}
export LD_LIBRARY_PATH=${ROOTSYS}/lib:${LD_LIBRARY_PATH}
