98 def beginRun(self):
99 """
100 Function to call the dbImporter methods to upload the different local payloads
101 """
102
103 from ROOT import Belle2
104 from ROOT.Belle2 import SVDLocalCalibrationsImporter
105
106
108 if args.calib is not None:
109
110 dbImporter.importSVDNoiseCalibrationsFromXML(calibfile)
111 print(colored("V) Noise Imported", 'green'))
112
113 dbImporter.importSVDPedestalCalibrationsFromXML(calibfile)
114 print(colored("V) Pedestal Imported", 'green'))
115
116 dbImporter.importSVDCalAmpCalibrationsFromXML(calibfile)
117 print(colored("V) Pulse Shape Calibrations Imported", 'green'))
118
119 if not args.mask:
120 dbImporter.importSVDFADCMaskedStripsFromXML(calibfile)
121 print(colored("V) FADC Masked Strips Imported", 'green'))
122 else:
123 print(colored("X) FADC Masked Strips are NOT imported.", 'red'))
124 if not args.localXml:
125
126 dbImporter.importSVDGlobalXMLFile(calibfile)
127 print(colored("V) Global Run Configuration xml payload file Imported", 'green'))
128 else:
129 print(colored("X) Global Run Configuration xml payload file is NOT imported.", 'red'))
130
131