26 def beginRun(self):
27 '''begin run'''
28
30
32 0, "FADCMaskedStrips_default_" + str(now.isoformat()) + "_INFO:_noFADCMaskedstrips")
33
35
36 for layer in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
37 layerNumber = layer.getLayerNumber()
38 for ladder in geoCache.getLadders(layer):
39 ladderNumber = ladder.getLadderNumber()
40 for sensor in geoCache.getSensors(ladder):
41 sensorNumber = sensor.getSensorNumber()
42 for side in (0, 1):
43 Nstrips = 768
44 print("setting masked strips default value (0, not masked) for " +
45 str(layerNumber) + "." + str(ladderNumber) + "." + str(sensorNumber))
46 if side == 0 and not layerNumber == 3:
47 Nstrips = 512
48
49 for strip in range(0, Nstrips):
50 payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), strip, 0)
51
52
53
54
55
57
58
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.