default importer for FADC masked strips
Definition at line 24 of file SVDDefaultFADCMaskedStripsImporter.py.
◆ beginRun()
begin run
Definition at line 27 of file SVDDefaultFADCMaskedStripsImporter.py.
33 0,
"FADCMaskedStrips_default_" + str(now.isoformat()) +
"_INFO:_noFADCMaskedstrips")
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 masked strips default value (0, not masked) for " +
46 str(layerNumber) +
"." + str(ladderNumber) +
"." + str(sensorNumber))
47 if side == 0
and not layerNumber == 3:
50 for strip
in range(0, Nstrips):
51 payload.set(layerNumber, ladderNumber, sensorNumber, bool(side), strip, 0)
60 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: