Newer
Older
TB_Chris / Kepler / options / .svn / text-base / example.py.svn-base
  1. # Basic configuration file.
  2. # Execute with: gaudirun.py $KEPLERROOT/options/example.py
  3. from Gaudi.Configuration import *
  4. from Configurables import Kepler
  5.  
  6. # Set the path to the directory/files to be processed
  7. path = 'eos/lhcb/testbeam/velo/timepix3/'
  8. RUN = '9187'
  9. if int(RUN) < 2000:
  10. path += 'July'
  11. elif int(RUN) < 2815:
  12. path += 'Oct'
  13. elif int(RUN) < 4000:
  14. path += 'Nov'
  15. else:
  16. path += 'Dec'
  17. path += '2014'
  18.  
  19. Kepler().InputFiles = [path + '/RawData/Run' + RUN + '/']
  20. Kepler().PixelConfigFile = ["eos/lhcb/testbeam/velo/timepix3/July2014/RootFiles/Run1236/Conditions/PixelConfig.dat"]
  21. Kepler().AlignmentFile = path + '/RootFiles/Run' + RUN + '/Conditions/Alignment' + RUN + 'mille.dat'
  22. #Kepler().AlignmentFile = 'ResStudies/Alignments/dut/Alignment2509.dat'
  23. Kepler().HistogramFile= 'Kepler_histos_' + RUN + '.root'
  24.  
  25. # Set the number of events to run over
  26. Kepler().EvtMax = 1000
  27.  
  28. # Set the configuration of the individual algorithms, e. g.
  29. from Configurables import TbEventBuilder
  30. #TbEventBuilder().MinPlanesWithHits = 5
  31.  
  32. from Configurables import TbClustering
  33. TbClustering().PrintConfiguration = True
  34.  
  35. from Configurables import TbTracking
  36. TbTracking().PrintConfiguration = True
  37.