40 call the functions to import the cluster parameters
45 clsParam = SVDClusterCuts()
46 clsParam.minSeedSNR = clsSeedSNR
47 clsParam.minAdjSNR = clsAdjSNR
48 clsParam.minClusterSNR = clsMinSNR
49 clsParam.UnfoldingCoeff = clsUnfoldingCoeffV
53 "Clustering_default_" +
63 str(clsUnfoldingCoeffU) +
65 str(clsUnfoldingCoeffV))
69 for layer
in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
70 layerNumber = layer.getLayerNumber()
71 for ladder
in geoCache.getLadders(layer):
72 ladderNumber = ladder.getLadderNumber()
73 for sensor
in geoCache.getSensors(ladder):
74 sensorNumber = sensor.getSensorNumber()
76 print(
"setting SVD Clustering parameters for " +
77 str(layerNumber) +
"." + str(ladderNumber) +
"." + str(sensorNumber) +
"." + str(side))
79 clsParam.UnfoldingCoeff = clsUnfoldingCoeffU
81 clsParam.UnfoldingCoeff = clsUnfoldingCoeffV
82 print(clsParam.UnfoldingCoeff)
83 payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), 1, clsParam)
88 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.