37 call the functions to import the cluster parameters
42 clsParam = SVDPosErrScaleFactors()
43 clsParam.scaleError_clSize1 = clsScaleErrSize1
44 clsParam.scaleError_clSize2 = clsScaleErrSize2
45 clsParam.scaleError_clSize3 = clsScaleErrSize3
49 "OldDefaultErrorScaleFactors_default_" +
52 "_INFO:_scaleFactors=fromSimulation")
57 for layer
in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
58 layerNumber = layer.getLayerNumber()
59 for ladder
in geoCache.getLadders(layer):
60 ladderNumber = ladder.getLadderNumber()
61 for sensor
in geoCache.getSensors(ladder):
62 sensorNumber = sensor.getSensorNumber()
64 print(
"setting OldDefault Error Scale Factors for " +
65 str(layerNumber) +
"." + str(ladderNumber) +
"." + str(sensorNumber) +
"." + str(side))
69 clsParam.scaleError_clSize1 = 1.664
70 clsParam.scaleError_clSize2 = 0.977
71 clsParam.scaleError_clSize3 = 0.446
74 clsParam.scaleError_clSize1 = 1.859
75 clsParam.scaleError_clSize2 = 1.185
76 clsParam.scaleError_clSize3 = 0.459
78 clsParam.scaleError_clSize1 = 2.082
79 clsParam.scaleError_clSize2 = 1.218
80 clsParam.scaleError_clSize3 = 0.510
83 clsParam.scaleError_clSize1 = 1.301
84 clsParam.scaleError_clSize2 = 0.711
85 clsParam.scaleError_clSize3 = 0.619
88 clsParam.scaleError_clSize1 = 2.196
89 clsParam.scaleError_clSize2 = 0.889
90 clsParam.scaleError_clSize3 = 0.700
92 clsParam.scaleError_clSize1 = 0.813
93 clsParam.scaleError_clSize2 = 0.693
94 clsParam.scaleError_clSize3 = 0.630
96 print(
" size 1 = " + str(clsParam.scaleError_clSize1) +
", size 2 = " +
97 str(clsParam.scaleError_clSize2) +
", size >2 = " + str(clsParam.scaleError_clSize3))
99 cls_payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), 1, clsParam)
104 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.