Belle II Software development
printMobility Class Reference
Inheritance diagram for printMobility:

Public Member Functions

def beginRun (self)
 

Detailed Description

print mobility

Definition at line 53 of file dumpSensorInfoParameters.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
do everything here

Definition at line 56 of file dumpSensorInfoParameters.py.

56 def beginRun(self):
57 """do everything here"""
59
60 layer = 3
61 ladder = 1
62 sensor = 1
63 vxdID = Belle2.VxdID(layer, ladder, sensor)
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# add your GT here:
87# gt = ""
88# b2conditions.prepend_globaltag(gt)
89
static GeoCache & getInstance()
Return a reference to the singleton instance.
Definition: GeoCache.cc:214
Class to uniquely identify a any structure of the PXD and SVD.
Definition: VxdID.h:33

The documentation for this class was generated from the following file: