17from basf2
import conditions, create_path, process, Module, set_log_level, LogLevel
18from ROOT
import Belle2
23 print(
"usage: basf2", argvs[0],
"expNo runNo [globalTag or localDB]")
33 conditions.append_globaltag(
'online')
34 conditions.append_testing_payloads(tag)
37 conditions.append_globaltag(tag)
41 """ Print SCROD to boardstack mapping given by TOPFrontEndMaps """
44 """ initialize method: prints SCROD mappings """
47 if not mapper.isValid():
51 print(
'expNo:', expNo,
'runNo:', runNo, tagtxt, tag)
52 print(
'Mapping of boardstacks to SCROD IDs')
53 for slot
in range(1, 17):
56 femap = mapper.getMap(slot, bs)
58 print(
' BS' + str(bs) +
':', femap.getScrodID())
60 print(
' BS' + str(bs) +
': *not available*')
63set_log_level(LogLevel.ERROR)
66main.add_module(
'EventInfoSetter', expList=[expNo], runList=[runNo])
67main.add_module(
'TOPGeometryParInitializer')
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.