Newer
Older
TB_Chris / Kepler / options / alignment / .svn / text-base / millepede.py.svn-base
  1. from Gaudi.Configuration import *
  2.  
  3. from Configurables import Kepler
  4. # Add TbAlignment to the Telescope sequence.
  5. Kepler().Alignment = True
  6.  
  7. #chombach modifications
  8.  
  9.  
  10.  
  11. from Configurables import TbEventBuilder
  12. # Skip noise events.
  13. TbEventBuilder().MinPlanesWithHits = 5
  14.  
  15.  
  16. # List of devices under test
  17. duts = [4]
  18.  
  19. from Configurables import TbTracking
  20. # Exclude DUTs from the pattern recognition.
  21. TbTracking().MaskedPlanes = duts
  22. # Require clusters on all telescope planes.
  23. TbTracking().MinNClusters = 8
  24.  
  25. from Configurables import TbAlignment
  26. TbAlignment().AlignmentTechnique = "Millepede"
  27. # Set the number of tracks to process.
  28. TbAlignment().NTracks = 10000
  29. # Set the reference plane (fixed position).
  30. TbAlignment().ReferencePlane = 3
  31. # Set the degrees of freedom (x, y, z, rx, ry, rz).
  32. TbAlignment().DoFs = [0, 0, 1, 0, 0, 0]
  33. TbAlignment().ParametersResidualsXY = ("", -0.2, 0.2, 100)
  34. TbAlignment().MaskedPlanes = duts
  35. TbAlignment().PrintConfiguration = True
  36. TbAlignment().ResCutInit = 1.3
  37. TbAlignment().ResCut = 0.06
  38. TbAlignment().NIterations = 6