forked from sgnoohc/VVVNanoLooper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.sh
16 lines (16 loc) · 883 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
source rooutil/bin/thisrooutil.sh
source rooutil/bin/setuproot.sh
export condorPath="/home/users/kdownham/Triboson/VVVNanoLooper/condor"
export skimDir="/ceph/cms/store/user/kdownham/skimOutput/3LepTau_4Lep"
#export looperOutput="/ceph/cms/store/user/kdownham/VVVAnalysis/110123_Synchronization"
export looperOutput="/ceph/cms/store/user/kdownham/VVVAnalysis/012924_LeptonSFs"
xgboost_cfg=${CMSSW_BASE}/config/toolbox/${SCRAM_ARCH}/tools/selected/py3-xgboost.xml
xgboost_version="$(grep -e 'tool name' ${xgboost_cfg} | grep 'py3-xgboost')"
xgboost_version="${xgboost_version##*=\"}"
xgboost_version="${xgboost_version%%\"*}"
xgboost_path="/cvmfs/cms.cern.ch/${SCRAM_ARCH}/external/py3-xgboost/${xgboost_version}/lib/python3.8/site-packages/xgboost"
export LD_LIBRARY_PATH=${xgboost_path}/lib:$LD_LIBRARY_PATH
export XGBOOST_PATH=${xgboost_path}
cd ProjectMetis
source setup.sh
cd ..