12from ROOT
import Belle2
27 """ print velocity """
30 """do everything here"""
38 sensorInfo = geoCache.getSensorInfo(vxdID)
39 print(
'printing velocity VS thickness for' + str(layer) +
'.' + str(ladder) +
'.' + str(sensor))
40 thickness = sensorInfo.getThickness()
43 for s
in range(0, N + 1):
45 z = - thickness / 2 + step * s
46 print(
'Z = ' + str(z * 1e4) +
' um')
48 sensorInfo.getVelocity(-1, r.Math.XYZVector(0, 0, z)).Print()
50 sensorInfo.getVelocity(+1, r.Math.XYZVector(0, 0, z)).Print()
57 """do everything here"""
64 sensorInfo = geoCache.getSensorInfo(vxdID)
65 print(
'printing mobility VS thickness for' + str(layer) +
'.' + str(ladder) +
'.' + str(sensor))
66 thickness = sensorInfo.getThickness()
69 for s
in range(0, N + 1):
71 z = - thickness / 2 + step * s
72 print(
'Z = ' + str(z * 1e4) +
' um')
74 sensorInfo.getEField(r.Math.XYZVector(0, 0, z)).Print()
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)))
83 print(
'TEMPERATURE = ' + str(sensorInfo.getTemperature))
90main = b2.create_path()
92eventinfosetter = b2.register_module(
'EventInfoSetter')
93eventinfosetter.param(
'expList', [1003])
94eventinfosetter.param(
'runList', [0])
95eventinfosetter.param(
'evtNumList', [1])
96main.add_module(eventinfosetter)
98main.add_module(
"Gearbox")
99main.add_module(
'Geometry')
static GeoCache & getInstance()
Return a reference to the singleton instance.
Class to uniquely identify a any structure of the PXD and SVD.
test SVD SensorInfo getters