56 def beginRun(self):
57 """do everything here"""
59
60 layer = 3
61 ladder = 1
62 sensor = 1
64 sensorInfo = geoCache.getSensorInfo(vxdID)
65 print('printing mobility VS thickness for' + str(layer) + '.' + str(ladder) + '.' + str(sensor))
66 thickness = sensorInfo.getThickness()
67 N = 10
68 step = thickness / N
69 for s in range(0, N + 1):
70 print()
71 z = - thickness / 2 + step * s
72 print('Z = ' + str(z * 1e4) + ' um')
73 print(' E-field')
74 sensorInfo.getEField(r.Math.XYZVector(0, 0, z)).Print()
75 print(' B-field')
76 sensorInfo.getBField(r.Math.XYZVector(0, 0, z)).Print()
77 print('electorn hall factor = ' + str(sensorInfo.getHallFactor(-1)))
78 print(' electron mobility = ' +
79 str(sensorInfo.getElectronMobility(sensorInfo.getEField(r.Math.XYZVector(0, 0, z)).Mag())))
80 print(' hole mobility = ' + str(sensorInfo.getHoleMobility(sensorInfo.getEField(r.Math.XYZVector(0, 0, z)).Mag())))
81 print('hole hall factor = ' + str(sensorInfo.getHallFactor(+1)))
82
83 print('TEMPERATURE = ' + str(sensorInfo.getTemperature))
84
85
86
87
88
89
static GeoCache & getInstance()
Return a reference to the singleton instance.
Class to uniquely identify a any structure of the PXD and SVD.