39 call the functions to import the cluster parameters
44 clsParam = SVDPosErrScaleFactors()
45 clsParam.scaleError_clSize1 = clsScaleErrSize1
46 clsParam.scaleError_clSize2 = clsScaleErrSize2
47 clsParam.scaleError_clSize3 = clsScaleErrSize3
48 clsParam.scaleError_clSize4 = clsScaleErrSize4
49 clsParam.scaleError_clSize5 = clsScaleErrSize5
53 "CoGOnlyErrorScaleFactors_default_" +
56 "_INFO:_scaleFactors=1")
60 for layer
in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
61 layerNumber = layer.getLayerNumber()
62 for ladder
in geoCache.getLadders(layer):
63 ladderNumber = ladder.getLadderNumber()
64 for sensor
in geoCache.getSensors(ladder):
65 sensorNumber = sensor.getSensorNumber()
67 print(
"setting CoGOnly Error Scale Factors for " +
68 str(layerNumber) +
"." + str(ladderNumber) +
"." + str(sensorNumber) +
"." + str(side))
69 cls_payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), 1, clsParam)
74 b2conditions.prepend_globaltag(
'svd_onlySVDinGeoConfiguration')
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.