Belle II Software development
defaultSVDConfigParametersImporter Class Reference
Inheritance diagram for defaultSVDConfigParametersImporter:

Public Member Functions

 beginRun (self)
 

Detailed Description

default importer for the detector configuration

Definition at line 37 of file SVDDefaultDetectorConfigurationImporter.py.

Member Function Documentation

◆ beginRun()

beginRun ( self)
begin run

Definition at line 40 of file SVDDefaultDetectorConfigurationImporter.py.

40 def beginRun(self):
41 '''begin run'''
42
44
45 local_payload = Belle2.SVDLocalConfigParameters(
46 "LocalConfiguration_default_" + str(now.isoformat()) +
47 "_INFO:_injCharge=" + str(injCharge) + "_calTimeUnits=" + str(calibrationTimeUnits))
48
49 global_payload = Belle2.SVDGlobalConfigParameters(
50 "GlobalConfiguration_default_" + str(now.isoformat()) +
51 "_INFO:_latency=" + str(latency) +
52 "_maskFilter=" + str(maskFilter) + "_ZS=" + str(zeroSuppress) +
53 "_apvClkUnits=" + str(apvClockTimeUnits))
54
55 local_payload.setCalibrationTimeInRFCUnits(calibrationTimeUnits)
56 local_payload.setCalibDate(calibDate)
57 local_payload.setInjectedCharge(injCharge)
58 global_payload.setLatency(latency)
59 global_payload.setZeroSuppression(zeroSuppress)
60 global_payload.setMaskFilter(maskFilter)
61 global_payload.setAPVClockInRFCUnits(apvClockTimeUnits)
62 global_payload.setHV(hv)
63 global_payload.setRelativeTimeShift(relativeShift)
64 global_payload.setNrFrames(nrFrames)
65
66 Belle2.Database.Instance().storeData("SVDLocalConfigParameters", local_payload, iov)
67 Belle2.Database.Instance().storeData("SVDGlobalConfigParameters", global_payload, iov)
68
69
static IntervalOfValidity always()
Function that returns an interval of validity that is always valid, c.f.
This class defines the payload which stores to the central DB the SVD global configuring parameters,...
This class defines the payload which stores to the central DB the SVD local configuring parameters,...
static Database & Instance()
Instance of a singleton Database.
Definition Database.cc:41

The documentation for this class was generated from the following file: