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

Public Member Functions

def beginRun (self)
 

Detailed Description

detector configuration importer

Definition at line 84 of file SVDDetectorConfigurationImporter.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
begin run

Definition at line 87 of file SVDDetectorConfigurationImporter.py.

87 def beginRun(self):
88 '''begin run'''
89
90 # call the importer class
91 configImporterToDB = SVDDetectorConfigurationImporter(experiment, run, experiment, -1)
92 if args.calib is not None:
93 # import SVDGlobalConfigParameters dbobject: ZS, latency, mask, APV clock units
94 configImporterToDB.importSVDGlobalConfigParametersFromXML(calibfile)
95 print(colored("V) Global Detector Configuration parameters: (ZS, latency, mask, APVClock units) Imported", 'green'))
96 # import SVDLocalConfigParameters dbobject: calibration peak and time units, date
97 configImporterToDB.importSVDLocalConfigParametersFromXML(calibfile)
98 print(colored("V) Local Detector Configuration parameters Imported", 'green'))
99 else:
100 print(colored("X) Detector Configuration parameters are not NOT imported.", 'red'))
101
102

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