20 return(2*phi + 50 - tech)
33 nhash = nhash % techCut
39 range = techCut - precCut +1
44 nhash = nhash % precCut
53 nhash = nhash % etaCut
60 nhash = nhash % phiDiv
70 nhash = nhash % chamCut
75 wireLay = nhash/wireDiv +1
77 nhash = nhash % wireDiv
86 print '\n****Warning! Chamber layer = ' +
str(chamLay) +
'. 2 expected!****\n'
87 print 'chamLay: ' +
str(chamLay) +
', eta: ' +
str(eta) + \
88 ', sector ' +
str(sector) +
', wireLayer ' +
str(wireLay) + \
89 ', direction: ' + prec +
', strip: ' +
str(strip)
96 hash =
input(
'Enter a hash ID (negative to quit): ')