test SVD SensorInfo getters
More...
test SVD SensorInfo getters
- > prepend the GT you want to test
- > set the Experiment and Run number you want to test
- > basf2 dumpSimulationParameters.py
print electronic noise
Definition at line 26 of file dumpSimulationParameters.py.
◆ beginRun()
do everything here
Definition at line 29 of file dumpSimulationParameters.py.
30 """do everything here"""
34 print(
'printing ElectronicNoise for all ladder = 1 sensors')
35 for layer
in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
36 layerNumber = layer.getLayerNumber()
37 for ladder
in geoCache.getLadders(layer):
38 if not ladder.getLadderNumber() == 1:
40 for sensor
in geoCache.getSensors(ladder):
41 sensorNumber = sensor.getSensorNumber()
42 print(str(layerNumber) +
'.1.' + str(sensorNumber))
43 sensorInfo = geoCache.getSensorInfo(sensor)
44 print(
' U-side noise = '+str(sensorInfo.getElectronicNoiseU())+
' e-')
45 print(
' V-side noise = '+str(sensorInfo.getElectronicNoiseV())+
' e-')
static GeoCache & getInstance()
Return a reference to the singleton instance.
The documentation for this class was generated from the following file: