25 def beginRun(self):
26 '''begin run'''
27
29
31 0, "CrossTalkStrips_default_" + str(now.isoformat()) + "_INFO:_noCrossTalkstrips")
33
34 for layer in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
35 layerNumber = layer.getLayerNumber()
36 for ladder in geoCache.getLadders(layer):
37 ladderNumber = ladder.getLadderNumber()
38 for sensor in geoCache.getSensors(ladder):
39 sensorNumber = sensor.getSensorNumber()
40 for side in (0, 1):
41 print("setting crossTalk strips default value (0, good strip) for " +
42 str(layerNumber) + "." + str(ladderNumber) + "." + str(sensorNumber))
43 payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), 1, 0)
44
46
47
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.
static Database & Instance()
Instance of a singleton Database.