34 def beginRun(self):
35 """
36 call the functions to import the cluster parameters
37 """
39
40
41 clsParam = SVDPositionErrorFunction()
42
44 clsParam,
45 "CoGOnlyPositionError_default_" +
46 str(
47 now.isoformat()) +
48 "_INFO:_formulas=rel05")
49
51
52 for layer in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
53 layerNumber = layer.getLayerNumber()
54 for ladder in geoCache.getLadders(layer):
55 ladderNumber = ladder.getLadderNumber()
56 for sensor in geoCache.getSensors(ladder):
57 sensorNumber = sensor.getSensorNumber()
58 for side in (0, 1):
59 print("setting CoGOnly Position Error for " +
60 str(layerNumber) + "." + str(ladderNumber) + "." + str(sensorNumber) + "." + str(side))
61 cls_payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), 1, clsParam)
62
64
65
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.