Newer
Older
TB_Chris / Kepler / options / .svn / text-base / singleChipExample.py.svn-base
@iaro iaro on 9 May 2016 983 bytes first attempt of automated anal
  1. # Basic configuration file.
  2. # Execute with: gaudirun.py singleChipExample.py
  3.  
  4. from Gaudi.Configuration import *
  5.  
  6. from Configurables import Kepler
  7.  
  8. # Set the path to the directory/files to be processed
  9. Kepler().InputFiles = ["singleChipRun/"]
  10. # Set the alignment file
  11. Kepler().AlignmentFile = "singleAlignment.dat"
  12. # Set the masked pixels file
  13. Kepler().PixelConfigFile = "PixelMask.dat"
  14. # Set the number of events to run over
  15. Kepler().EvtMax = 4300
  16.  
  17. # Set the configuration of the individual algorithms
  18. from Configurables import TbClustering
  19. TbClustering().PrintConfiguration = True
  20.  
  21. # Combat specific.
  22. def combatRun():
  23. from Configurables import TbEventBuilder, TbClustering
  24. seq = GaudiSequencer("Telescope")
  25. seq.Members = [TbEventBuilder(), TbClustering()]
  26. seq = GaudiSequencer("Monitoring")
  27. from Configurables import TbHitMonitor, TbClusterPlots, TbTrackPlots
  28. seq.Members = [TbHitMonitor(), TbClusterPlots()]
  29.  
  30. appendPostConfigAction(combatRun)