Angular analysis of B+->K*+(K+pi0)mumu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
2.1 KiB

  1. #!/bin/bash
  2. #Use as ./rerunBasic.sh RUN
  3. E_NO_ARGS=65
  4. if [ $# -eq 1 ] # Must have one command-line argument (run number)
  5. then
  6. run=$1
  7. echo "Rerruning everything for Run $run"
  8. else
  9. echo "Please invoke this script with one command-line argument in the following format:"
  10. echo "./rerunBasic.sh RUN"
  11. exit $E_NO_ARGS
  12. fi
  13. if [ $run = 12 ]
  14. then
  15. python run.py -convert -all -Run 1
  16. python run.py -dontCompile -convert -all -Run 2
  17. python run.py -dontCompile -MC -angCorr -Run 1 -scan
  18. python run.py -dontCompile -MC -angCorr -Run 2 -scan
  19. python run.py -dontCompile -MC -angCorr -Run 1
  20. python run.py -dontCompile -MC -angCorr -Run 2
  21. python run.py -dontCompile -MC -angRes -Run 1
  22. python run.py -dontCompile -MC -angRes -Run 2
  23. python run.py -dontCompile -MC -Run 12 -fit -Ref -nBins 1;
  24. python run.py -dontCompile -MC -Run 12 -fit -nBins 5;
  25. python run.py -dontCompile -Data -Run 12 -fit -Ref -nBins 1 -massDim;
  26. python run.py -dontCompile -Data -Run 12 -fit -nBins 5 -massDim;
  27. python run.py -dontCompile -Data -Run 12 -fit -Ref -nBins 1 -bkgOnly -upper;
  28. python run.py -dontCompile -Data -Run 12 -fit -nBins 5 -onlyBkg -upper;
  29. python run.py -dontCompile -Run 12 -v 2 -fit -Ref -nBins 1 -genMC -Ref
  30. python run.py -dontCompile -Run 12 -v 2 -fit -nBins 5 -genMC
  31. else
  32. python run.py -convert -all -Run $run
  33. python run.py -dontCompile -MC -angCorr -Run $run -scan
  34. python run.py -dontCompile -MC -angCorr -Run $run
  35. python run.py -dontCompile -MC -angRes -Run $run
  36. python run.py -dontCompile -MC -Run $run -fit -Ref -nBins 1;
  37. python run.py -dontCompile -MC -Run $run -fit -nBins 5;
  38. python run.py -dontCompile -Data -Run $run -fit -Ref -nBins 1 -massDim;
  39. python run.py -dontCompile -Data -Run $run -fit -nBins 5 -massDim;
  40. python run.py -dontCompile -Data -Run $run -fit -Ref -nBins 1 -bkgOnly -upper;
  41. python run.py -dontCompile -Data -Run $run -fit -nBins 5 -onlyBkg -upper;
  42. python run.py -dontCompile -Run $run -v 2 -fit -Ref -nBins 1 -genMC -Ref
  43. python run.py -dontCompile -Run $run -v 2 -fit -nBins 5 -genMC
  44. fi
  45. echo "All done"