18 from basf2
import conditions, create_path, process, Module, set_log_level, LogLevel
19 from ROOT
import Belle2
24 print(
"usage: basf2", argvs[0],
"expNo runNo [globalTag or localDB]")
34 conditions.append_globaltag(
'online')
35 conditions.append_testing_payloads(tag)
38 conditions.append_globaltag(tag)
42 """ Print SCROD to boardstack mapping given by TOPFrontEndMaps """
45 """ initialize method: prints SCROD mappings """
48 if not mapper.isValid():
52 print(
'expNo:', expNo,
'runNo:', runNo, tagtxt, tag)
53 print(
'Mapping of boardstacks to SCROD IDs')
54 for slot
in range(1, 17):
57 femap = mapper.getMap(slot, bs)
59 print(
' BS' + str(bs) +
':', femap.getScrodID())
61 print(
' BS' + str(bs) +
': *not available*')
64 set_log_level(LogLevel.ERROR)
67 main.add_module(
'EventInfoSetter', expList=[expNo], runList=[runNo])
68 main.add_module(
'TOPGeometryParInitializer')
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.