28 def beginRun(self):
29 """do everything here"""
30
32
34 str(now.isoformat()) + "_INFO:_fakeNULLpedestals")
35
37
38 for layer in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
39 layerNumber = layer.getLayerNumber()
40 for ladder in geoCache.getLadders(layer):
41 ladderNumber = ladder.getLadderNumber()
42 for sensor in geoCache.getSensors(ladder):
43 sensorNumber = sensor.getSensorNumber()
44 for side in (0, 1):
45 Nstrips = 768
46 if side == 0:
47 Nstrips = 512
48 if layerNumber == 3:
49 Nstrips = 768
50
51 for strip in range(0, Nstrips):
52 payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), strip, pedestal)
53
55
56
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.