Belle II Software development
printElectronicNoise Class Reference

test SVD SensorInfo getters More...

Inheritance diagram for printElectronicNoise:

Public Member Functions

def beginRun (self)
 

Detailed Description

test SVD SensorInfo getters

  1. > prepend the GT you want to test
  2. > set the Experiment and Run number you want to test
  3. > basf2 dumpSimulationParameters.py
 print electronic noise 

Definition at line 25 of file dumpSimulationParameters.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
do everything here

Definition at line 28 of file dumpSimulationParameters.py.

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.
Definition: GeoCache.cc:214

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