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

modified: multiple_tracks.sh

parent fae56f1d
No related branches found
No related tags found
1 merge request!181Track Finding: Number of proto-tracks
...@@ -54,38 +54,38 @@ export JUGGLER_REC_FILE="rec_${JUGGLER_FILE_NAME_TAG}.root" ...@@ -54,38 +54,38 @@ export JUGGLER_REC_FILE="rec_${JUGGLER_FILE_NAME_TAG}.root"
echo "JUGGLER_N_EVENTS = ${JUGGLER_N_EVENTS}" echo "JUGGLER_N_EVENTS = ${JUGGLER_N_EVENTS}"
echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}" echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}"
### generate the input events ## generate the input events
#root -b -q "benchmarks/track_finding/scripts/gen_multiple_tracks.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")" root -b -q "benchmarks/track_finding/scripts/gen_multiple_tracks.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")"
#if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
# echo "ERROR running script" echo "ERROR running script"
# exit 1 exit 1
#fi fi
#
#echo "Running geant4 simulation" echo "Running geant4 simulation"
### 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 ${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml \ --compactFile ${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml \
# --inputFiles ${JUGGLER_FILE_NAME_TAG}.hepmc \ --inputFiles ${JUGGLER_FILE_NAME_TAG}.hepmc \
# --outputFile ${JUGGLER_SIM_FILE} --outputFile ${JUGGLER_SIM_FILE}
#if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
# echo "ERROR running script" echo "ERROR running script"
# exit 1 exit 1
#fi fi
#rootls -t ${JUGGLER_SIM_FILE} rootls -t ${JUGGLER_SIM_FILE}
#
#if [[ -z "${ANALYSIS_ONLY}" ]] ; if [[ -z "${ANALYSIS_ONLY}" ]] ;
#then then
# # 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 gaudirun.py benchmarks/track_finding/options/track_reconstruction.py xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv gaudirun.py benchmarks/track_finding/options/track_reconstruction.py
# if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
# echo "ERROR running juggler" echo "ERROR running juggler"
# exit 1 exit 1
# fi fi
#fi fi
rootls -t ${JUGGLER_REC_FILE} rootls -t ${JUGGLER_REC_FILE}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment