Skip to content
Snippets Groups Projects

Set g4 dawn and ps viewer commands to ls

Merged Whitney Armstrong requested to merge batch_dawn into master
1 file
+ 10
2
Compare changes
  • Side-by-side
  • Inline
+ 10
2
#!/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
Loading