Skip to content
Snippets Groups Projects
Commit 7dad9e3d authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: ecal/emcal_electrons.sh

parent 6bd3562e
No related branches found
No related tags found
1 merge request!17Use JUGGLER_INSTALL_PREFIX to point to juggler build
......@@ -8,6 +8,10 @@ if [[ ! -n "${JUGGLER_N_EVENTS}" ]] ; then
export JUGGLER_N_EVENTS=100
fi
if [[ ! -n "${JUGGLER_INSTALL_PREFIX}" ]] ; then
export JUGGLER_INSTALL_PREFIX="/usr/local"
fi
if [[ ! -n "${E_start}" ]] ; then
export E_start=0.0
fi
......@@ -49,7 +53,7 @@ npsim --runType batch \
--inputFiles ../${JUGGLER_FILE_NAME_TAG}.hepmc \
--outputFile ${JUGGLER_SIM_FILE}
# Need to figure out how to pass file name to juggler from the commandline
xenv -x /usr/local/Juggler.xenv gaudirun.py ../ecal/options/crystal_calorimeter_reco.py
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv gaudirun.py ../ecal/options/crystal_calorimeter_reco.py
ls -l
popd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment