Skip to content
Snippets Groups Projects

Resolve "Pion CI Workflow for EM Barrel"

Merged Jihee Kim requested to merge 8-pion-ci-workflow-for-em-barrel into master
1 file
+ 25
0
Compare changes
  • Side-by-side
  • Inline
@@ -42,6 +42,31 @@ if [[ "$?" -ne "0" ]] ; then
@@ -42,6 +42,31 @@ if [[ "$?" -ne "0" ]] ; then
exit 1
exit 1
fi
fi
 
# Run geant4 simulations
 
npsim --runType batch \
 
-v WARNING \
 
--part.minimalKineticEnergy 0.5*GeV \
 
--numberOfEvents ${JUGGLER_N_EVENTS} \
 
--compactFile topside/${JUGGLER_DETECTOR}.xml \
 
--inputFiles ${JUGGLER_FILE_NAME_TAG}.hepmc \
 
--outputFile sim_output/${JUGGLER_SIM_FILE}
 
 
if [[ "$?" -ne "0" ]] ; then
 
echo "ERROR running npdet"
 
exit 1
 
fi
 
 
# Run Juggler
 
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv \
 
gaudirun.py calorimeters/options/emcal_barrel_reco.py
 
if [[ "$?" -ne "0" ]] ; then
 
echo "ERROR running juggler"
 
exit 1
 
fi
 
# Directory for plots
# Directory for plots
mkdir -p results
mkdir -p results
 
# Move ROOT output file
 
mv ${JUGGLER_REC_FILE} sim_output/
 
Loading