Newer
Older
TB_Chris / Kepler / options / alignment / .svn / text-base / minuit_alignment.sh.svn-base
  1. #!/bin/bash
  2.  
  3. RUNNUMBER=$1
  4.  
  5. cp Alignment.dat Alignment_old.dat
  6. gaudirun.py example.py minuit_alignment.py \
  7. --option="from Configurables import Kepler, TbAlignment" \
  8. --option="Kepler().InputFiles = [\"eos/lhcb/testbeam/velo/timepix3/July2014/RawData/Run$RUNNUMBER/\"]" \
  9. --option="Kepler().PixelConfigFile = \"eos/lhcb/testbeam/velo/timepix3/July2014/RootFiles/Run$RUNNUMBER/Conditions/PixelMask.dat\"" \
  10. --option="TbAlignment().AlignmentTechnique = \"Method1\""
  11.  
  12. cp Alignment_out.dat Alignment.dat
  13. gaudirun.py example.py minuit_alignment.py \
  14. --option="from Configurables import Kepler, TbAlignment" \
  15. --option="Kepler().InputFiles = [\"eos/lhcb/testbeam/velo/timepix3/July2014/RawData/Run$RUNNUMBER/\"]" \
  16. --option="Kepler().PixelConfigFile = \"eos/lhcb/testbeam/velo/timepix3/July2014/RootFiles/Run$RUNNUMBER/Conditions/PixelMask.dat\"" \
  17. --option="TbAlignment().AlignmentTechnique = \"Method0\""
  18.  
  19. cp Alignment_out.dat Alignment.dat
  20. gaudirun.py example.py minuit_alignment.py \
  21. --option="from Configurables import Kepler, TbAlignment" \
  22. --option="Kepler().InputFiles = [\"eos/lhcb/testbeam/velo/timepix3/July2014/RawData/Run$RUNNUMBER/\"]" \
  23. --option="Kepler().PixelConfigFile = \"eos/lhcb/testbeam/velo/timepix3/July2014/RootFiles/Run$RUNNUMBER/Conditions/PixelMask.dat\"" \
  24. --option="TbAlignment().AlignmentTechnique = \"Method0\"" --option="TbAlignment().FitStrategy = 2"
  25.  
  26. cp Alignment_out.dat Alignment_$RUNNUMBER.dat
  27. gaudirun.py example.py minuit_alignment.py \
  28. --option="from Configurables import Kepler" \
  29. --option="Kepler().InputFiles = [\"eos/lhcb/testbeam/velo/timepix3/July2014/RawData/Run$RUNNUMBER/\"]" \
  30. --option="Kepler().PixelConfigFile = \"eos/lhcb/testbeam/velo/timepix3/July2014/RootFiles/Run$RUNNUMBER/Conditions/PixelMask.dat\"" \
  31. --option="Kepler().Alignment = False" \
  32. --option="Kepler().Monitoring = True"
  33. mv Kepler-histos.root Kepler-histos_$RUNNUMBER.root
  34.