41 def beginRun(self):
42 """
43 call the functions to import the cluster parameters
44 """
46
47
48 hitTimeSelection = SVDHitTimeSelectionFunction()
49
50 hitTimeSelection.setFunctionID(clsTimeFunctionID)
51
52 hitTimeSelection.setMinTime(clsTimeMin)
53
54 hitTimeSelection.setDeltaTime(clsTimeDeltaT)
55
56 hitTimeSelection.setNsigma(clsTimeNSigma)
57
58 hitTimeSelection.setMaxUVTimeDifference(clsTimeDiff)
60 hitTimeSelection, "HitTimeSelection_noCuts_" + str(now.isoformat()) +
61 "_INFO:_tmin=" + str(clsTimeMin) + "_tDiff=" + str(clsTimeDiff))
62
64
65 for layer in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
66 layerNumber = layer.getLayerNumber()
67 for ladder in geoCache.getLadders(layer):
68 ladderNumber = ladder.getLadderNumber()
69 for sensor in geoCache.getSensors(ladder):
70 sensorNumber = sensor.getSensorNumber()
71 for side in (0, 1):
72 print("setting SVD Hit Time Selections for " +
73 str(layerNumber) + "." + str(ladderNumber) + "." + str(sensorNumber) + "." + str(side))
74
76
77
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.