default importer for hot strips
Definition at line 24 of file SVDDefaultHotStripsImporter.py.
◆ beginRun()
begin run
Definition at line 27 of file SVDDefaultHotStripsImporter.py.
37 for layer
in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
38 layerNumber = layer.getLayerNumber()
39 for ladder
in geoCache.getLadders(layer):
40 ladderNumber = ladder.getLadderNumber()
41 for sensor
in geoCache.getSensors(ladder):
42 sensorNumber = sensor.getSensorNumber()
45 print(
"setting hot strips default value (0, good strip) for " +
46 str(layerNumber) +
"." + str(ladderNumber) +
"." + str(sensorNumber))
48 if side == 0
and not layerNumber == 3:
51 for strip
in range(0, Nstrips):
52 payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), 1, 0)
57 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.
The documentation for this class was generated from the following file: