28 def beginRun(self):
29 """do everything here"""
30
32
33 print('printing ElectronicNoise for all ladder = 1 sensors')
34 for layer in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
35 layerNumber = layer.getLayerNumber()
36 for ladder in geoCache.getLadders(layer):
37 if not ladder.getLadderNumber() == 1:
38 continue
39 for sensor in geoCache.getSensors(ladder):
40 sensorNumber = sensor.getSensorNumber()
41 print(str(layerNumber) + '.1.' + str(sensorNumber))
42 sensorInfo = geoCache.getSensorInfo(sensor)
43 print(' U-side noise = '+str(sensorInfo.getElectronicNoiseU())+' e-')
44 print(' V-side noise = '+str(sensorInfo.getElectronicNoiseV())+' e-')
45
46
static GeoCache & getInstance()
Return a reference to the singleton instance.