run_in_tmux.sh 495 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env zsh
  2. config="analysis/config.yaml"
  3. release=cmake-build-release
  4. out_dir=../hists/
  5. mkdir -p $out_dir
  6. tmux new-window -n 'Run' "htop"
  7. run () {
  8. tmux split-window -h "./$release/tracking_eff -c $config \
  9. source-file-key=${1} \
  10. output-file=$out_dir/${1}.root"
  11. sleep 1
  12. }
  13. run extra-narrow-window-t3
  14. run narrow-window-t3
  15. # run wide-window
  16. run extra-wide-window-t3
  17. # run old-seeding
  18. tmux select-layout even-vertical