Commit 1a1ef438 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

Set g4 dawn and ps viewer commands to ls

This way they do nothing when running the simulation in batch.
We only want the .prim files.

	modified:   bin/make_dawn_views
parent 36268359
#!/bin/bash
#git clone --depth 1 https://eicweb.phy.anl.gov/EIC/datasets.git
export DAWN_PS_PREVIEWER="ls"
export DAWN_PS_PREVIEWER="ls "
export G4DAWNFILE_VIEWER="ls -lrth "
export G4DAWNFILE_PS_VIEWER="ls "
function print_the_help {
echo "USAGE: ${0} [-s <skip_events>] -d <dawn_run_dir> "
......@@ -94,7 +96,13 @@ if [ "${DETECTOR_ONLY}" -eq "1" ] ; then
-o derp.root -n 1 \
--ui csh --vis -b -m macro/dawn_picture.mac &
sleep 10
sleep 10
echo "sleeping 20 secs .. "
sleep 10
echo "sleeping 10 secs "
sleep 5
echo "sleeping 5 secs "
sleep 5
kill %1
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment