13 from ROOT
import Belle2
28 """ print velocity """
31 """do everything here"""
39 sensorInfo = geoCache.getSensorInfo(vxdID)
40 print(
'printing velocity VS thickness for' + str(layer) +
'.' + str(ladder) +
'.' + str(sensor))
41 thickness = sensorInfo.getThickness()
44 for s
in range(0, N + 1):
46 z = - thickness / 2 + step * s
47 print(
'Z = ' + str(z * 1e4) +
' um')
49 sensorInfo.getVelocity(-1, r.TVector3(0, 0, z)).Print()
51 sensorInfo.getVelocity(+1, r.TVector3(0, 0, z)).Print()
58 """do everything here"""
65 sensorInfo = geoCache.getSensorInfo(vxdID)
66 print(
'printing mobility VS thickness for' + str(layer) +
'.' + str(ladder) +
'.' + str(sensor))
67 thickness = sensorInfo.getThickness()
70 for s
in range(0, N + 1):
72 z = - thickness / 2 + step * s
73 print(
'Z = ' + str(z * 1e4) +
' um')
75 sensorInfo.getEField(r.TVector3(0, 0, z)).Print()
77 sensorInfo.getBField(r.TVector3(0, 0, z)).Print()
78 print(
'electorn hall factor = ' + str(sensorInfo.getHallFactor(-1)))
79 print(
' electron mobility = ' + str(sensorInfo.getElectronMobility(sensorInfo.getEField(r.TVector3(0, 0, z)).Mag())))
80 print(
' hole mobility = ' + str(sensorInfo.getHoleMobility(sensorInfo.getEField(r.TVector3(0, 0, z)).Mag())))
81 print(
'hole hall factor = ' + str(sensorInfo.getHallFactor(+1)))
83 print(
'TEMPERATURE = ' + str(sensorInfo.getTemperature))
90 main = b2.create_path()
92 eventinfosetter = b2.register_module(
'EventInfoSetter')
93 eventinfosetter.param(
'expList', [1003])
94 eventinfosetter.param(
'runList', [0])
95 eventinfosetter.param(
'evtNumList', [1])
96 main.add_module(eventinfosetter)
98 main.add_module(
"Gearbox")
99 main.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