Module to call the importer methods for the payloads creation from XML file
:param calibfile: path to the xml file containing the local calibrations
:type calibfile: string
Definition at line 93 of file SVDLocalCalibrationsImporter.py.
◆ beginRun()
Function to call the dbImporter methods to upload the different local payloads
Definition at line 100 of file SVDLocalCalibrationsImporter.py.
102 Function to call the dbImporter methods to upload the different local payloads
106 if args.calib
is not None:
108 dbImporter.importSVDNoiseCalibrationsFromXML(calibfile)
109 print(colored(
"V) Noise Imported",
'green'))
111 dbImporter.importSVDPedestalCalibrationsFromXML(calibfile)
112 print(colored(
"V) Pedestal Imported",
'green'))
114 dbImporter.importSVDCalAmpCalibrationsFromXML(calibfile)
115 print(colored(
"V) Pulse Shape Calibrations Imported",
'green'))
118 dbImporter.importSVDFADCMaskedStripsFromXML(calibfile)
119 print(colored(
"V) FADC Masked Strips Imported",
'green'))
121 print(colored(
"X) FADC Masked Strips are NOT imported.",
'red'))
122 if not args.localXml:
124 dbImporter.importSVDGlobalXMLFile(calibfile)
125 print(colored(
"V) Global Run Configuration xml payload file Imported",
'green'))
127 print(colored(
"X) Global Run Configuration xml payload file is NOT imported.",
'red'))
130 main.add_module(dbImporterModule())
134 print(
"IMPORT COMPLETED, check the localDB folder and then proceeed with the upload to the central DB")
The documentation for this class was generated from the following file: