50 def beginRun(self):
51 """do everything here"""
53
54 print('printing AduEquivalent for all ladder = 1 sensors')
55 for layer in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
56 layerNumber = layer.getLayerNumber()
57 for ladder in geoCache.getLadders(layer):
58 if not ladder.getLadderNumber() == 1:
59 continue
60 for sensor in geoCache.getSensors(ladder):
61 sensorNumber = sensor.getSensorNumber()
62 print(str(layerNumber) + '.1.' + str(sensorNumber))
63 sensorInfo = geoCache.getSensorInfo(sensor)
64 print(' U-side ADU equivalent = '+str(sensorInfo.getAduEquivalentU())+' e-/ADC')
65 print(' V-side ADU equivalent = '+str(sensorInfo.getAduEquivalentV())+' e-/ADC')
66
67
68
69
70
71
static GeoCache & getInstance()
Return a reference to the singleton instance.