database importer for TOPFrontEndMaps
Definition at line 31 of file importFrontEndMaps.py.
◆ initialize()
initialize method: import a payload to local database
Definition at line 34 of file importFrontEndMaps.py.
35 """ initialize method: import a payload to local database """
39 if not mapper.isValid():
41 mapper.importPayload(iov)
44 print(
'Mapping of boardstacks to SCROD IDs')
45 for slot
in range(1, 17):
48 femap = mapper.getMap(slot, bs)
50 print(
' BS' + str(bs) +
':', femap.getScrodID())
52 print(
' BS' + str(bs) +
': *not available*')
53 print(
'--> FrontEndMaps imported to local database ' + localDBName)
56 set_log_level(LogLevel.ERROR)
A class that describes the interval of experiments/runs for which an object in the database is valid.
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.
The documentation for this class was generated from the following file: