86 def beginRun(self):
87 '''begin run'''
88
89 from ROOT import Belle2
90 from ROOT.Belle2 import SVDDetectorConfigurationImporter
91
92
94 if args.calib is not None:
95
96 configImporterToDB.importSVDGlobalConfigParametersFromXML(calibfile)
97 print(colored("V) Global Detector Configuration parameters: (ZS, latency, mask, APVClock units) Imported", 'green'))
98
99 configImporterToDB.importSVDLocalConfigParametersFromXML(calibfile)
100 print(colored("V) Local Detector Configuration parameters Imported", 'green'))
101 else:
102 print(colored("X) Detector Configuration parameters are not NOT imported.", 'red'))
103
104