Belle II Software  release-08-01-10
defaultCrossTalkStripsImporter Class Reference
Inheritance diagram for defaultCrossTalkStripsImporter:
Collaboration diagram for defaultCrossTalkStripsImporter:

Public Member Functions

def beginRun (self)
 

Detailed Description

default cross talk strips importer

Definition at line 23 of file SVDDefaultCrossTalkStripsImporter.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
begin run

Definition at line 26 of file SVDDefaultCrossTalkStripsImporter.py.

26  def beginRun(self):
27  '''begin run'''
28 
30 
32  0, "CrossTalkStrips_default_" + str(now.isoformat()) + "_INFO:_noCrossTalkstrips")
34 
35  for layer in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
36  layerNumber = layer.getLayerNumber()
37  for ladder in geoCache.getLadders(layer):
38  ladderNumber = ladder.getLadderNumber()
39  for sensor in geoCache.getSensors(ladder):
40  sensorNumber = sensor.getSensorNumber()
41  for side in (0, 1):
42  print("setting crossTalk strips default value (0, good strip) for " +
43  str(layerNumber) + "." + str(ladderNumber) + "." + str(sensorNumber))
44  payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), 1, 0)
45 
46  Belle2.Database.Instance().storeData(Belle2.SVDCrossTalkStripsCalibrations.name, payload, iov)
47 
48 
static IntervalOfValidity always()
Function that returns an interval of validity that is always valid, c.f.
base class for calibrations classes
static GeoCache & getInstance()
Return a reference to the singleton instance.
Definition: GeoCache.cc:214
static Database & Instance()
Instance of a singleton Database.
Definition: Database.cc:42

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