:author: Laura Zani
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 98 of file SVDLocalCalibrationsImporter.py.
◆ beginRun()
Function to call the dbImporter methods to upload the different local payloads
Definition at line 106 of file SVDLocalCalibrationsImporter.py.
108 Function to call the dbImporter methods to upload the different local payloads
112 if args.calib
is not None:
114 dbImporter.importSVDNoiseCalibrationsFromXML(calibfile)
115 print(colored(
"V) Noise Imported",
'green'))
117 dbImporter.importSVDPedestalCalibrationsFromXML(calibfile)
118 print(colored(
"V) Pedestal Imported",
'green'))
120 dbImporter.importSVDCalAmpCalibrationsFromXML(calibfile)
121 print(colored(
"V) Pulse Shape Calibrations Imported",
'green'))
124 dbImporter.importSVDFADCMaskedStripsFromXML(calibfile)
125 print(colored(
"V) FADC Masked Strips Imported",
'green'))
127 print(colored(
"X) FADC Masked Strips are NOT imported.",
'red'))
128 if not args.localXml:
130 dbImporter.importSVDGlobalXMLFile(calibfile)
131 print(colored(
"V) Global Run Configuration xml payload file Imported",
'green'))
133 print(colored(
"X) Global Run Configuration xml payload file is NOT imported.",
'red'))
135 main.add_module(dbImporterModule())
139 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: