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

Public Member Functions

def beginRun (self)
 

Detailed Description

 print ADU equivalent

Definition at line 47 of file dumpSimulationParameters.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
do everything here

Definition at line 50 of file dumpSimulationParameters.py.

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# add your GT here:
69# gt = ""
70# b2conditions.prepend_globaltag(gt)
71
static GeoCache & getInstance()
Return a reference to the singleton instance.
Definition: GeoCache.cc:214

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