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

modified: tracking/central_electrons.sh

parent 2a47dafc
No related branches found
No related tags found
1 merge request!28Added analysis script to the tracking job
This commit is part of merge request !28. Comments created here will be created in the context of that merge request.
...@@ -23,34 +23,34 @@ echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}" ...@@ -23,34 +23,34 @@ echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}"
## Build the detector constructors. ## Build the detector constructors.
#git clone https://eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git git clone https://eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git
#mkdir ${JUGGLER_DETECTOR}/build mkdir ${JUGGLER_DETECTOR}/build
#pushd ${JUGGLER_DETECTOR}/build pushd ${JUGGLER_DETECTOR}/build
#cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j30 install cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j30 install
#popd popd
## generate the input events ## generate the input events
#root -b -q "tracking/scripts/gen_central_electrons.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")" root -b -q "tracking/scripts/gen_central_electrons.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
# #
pushd ${JUGGLER_DETECTOR} pushd ${JUGGLER_DETECTOR}
## 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}.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
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment