Skip to content
Snippets Groups Projects

Put back dvcs

Merged Whitney Armstrong requested to merge dvcs_fix into master
2 files
+ 6
7
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
4
@@ -34,7 +34,6 @@ pushd ${JUGGLER_DETECTOR}/build
@@ -34,7 +34,6 @@ pushd ${JUGGLER_DETECTOR}/build
cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j30 install
cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j30 install
popd
popd
pushd ${JUGGLER_DETECTOR}
curl -o test_proton_dvcs_eic.hepmc "https://eicweb.phy.anl.gov/api/v4/projects/345/jobs/artifacts/master/raw/data/test_proton_dvcs_eic.hepmc?job=compile"
curl -o test_proton_dvcs_eic.hepmc "https://eicweb.phy.anl.gov/api/v4/projects/345/jobs/artifacts/master/raw/data/test_proton_dvcs_eic.hepmc?job=compile"
if [[ "$?" -ne "0" ]] ; then
if [[ "$?" -ne "0" ]] ; then
@@ -42,13 +41,12 @@ if [[ "$?" -ne "0" ]] ; then
@@ -42,13 +41,12 @@ if [[ "$?" -ne "0" ]] ; then
exit 1
exit 1
fi
fi
## run geant4 simulations
## run geant4 simulations
npsim --runType batch \
npsim --runType batch \
--part.minimalKineticEnergy 1000*GeV \
--part.minimalKineticEnergy 1000*GeV \
-v WARNING \
-v WARNING \
--numberOfEvents ${JUGGLER_N_EVENTS} \
--numberOfEvents ${JUGGLER_N_EVENTS} \
--compactFile ${JUGGLER_DETECTOR}.xml \
--compactFile ${JUGGLER_DETECTOR}/${JUGGLER_DETECTOR}.xml \
--inputFiles test_proton_dvcs_eic.hepmc \
--inputFiles test_proton_dvcs_eic.hepmc \
--outputFile ${JUGGLER_SIM_FILE}
--outputFile ${JUGGLER_SIM_FILE}
if [[ "$?" -ne "0" ]] ; then
if [[ "$?" -ne "0" ]] ; then
@@ -58,7 +56,7 @@ fi
@@ -58,7 +56,7 @@ fi
# Need to figure out how to pass file name to juggler from the commandline
# Need to figure out how to pass file name to juggler from the commandline
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
gaudirun.py ../options/tracker_reconstruction.py
gaudirun.py options/tracker_reconstruction.py
if [[ "$?" -ne "0" ]] ; then
if [[ "$?" -ne "0" ]] ; then
echo "ERROR running juggler"
echo "ERROR running juggler"
exit 1
exit 1
Loading