Belle II Software  release-08-01-10
printElectronicNoise Class Reference

test SVD SensorInfo getters More...

Inheritance diagram for printElectronicNoise:
Collaboration diagram for printElectronicNoise:

Public Member Functions

def beginRun (self)
 

Detailed Description

test SVD SensorInfo getters

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

Definition at line 26 of file dumpSimulationParameters.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
do everything here

Definition at line 29 of file dumpSimulationParameters.py.

29  def beginRun(self):
30  """do everything here"""
31 
33 
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:
39  continue
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-')
46 
47 
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: