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

modified: clustering/barrel_clusters.sh

parent 74f54422
Branches
Tags v0.2.0
1 merge request!26Updated cluster script
......@@ -23,24 +23,24 @@ echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}"
## Build the detector constructors.
#git clone https://eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git
#mkdir ${JUGGLER_DETECTOR}/build
#pushd ${JUGGLER_DETECTOR}/build
#cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j30 install
#popd
git clone https://eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git
mkdir ${JUGGLER_DETECTOR}/build
pushd ${JUGGLER_DETECTOR}/build
cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j30 install
popd
#root -b -q "clustering/scripts/gen_central_electrons.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")"
root -b -q "clustering/scripts/gen_central_electrons.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")"
pushd ${JUGGLER_DETECTOR}
#ls -l
### run geant4 simulations
#npsim --runType batch \
# --part.minimalKineticEnergy 1000*GeV \
# -v WARNING \
# --numberOfEvents ${JUGGLER_N_EVENTS} \
# --compactFile ${JUGGLER_DETECTOR}.xml \
# --inputFiles ../${JUGGLER_FILE_NAME_TAG}.hepmc \
# --outputFile ${JUGGLER_SIM_FILE}
npsim --runType batch \
--part.minimalKineticEnergy 1000*GeV \
-v WARNING \
--numberOfEvents ${JUGGLER_N_EVENTS} \
--compactFile ${JUGGLER_DETECTOR}.xml \
--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 ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv gaudirun.py ../clustering/options/calorimeter_clustering.py
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment