Belle II Software development
CheckFrontEndMaps Class Reference
Inheritance diagram for CheckFrontEndMaps:

Public Member Functions

def initialize (self)
 

Detailed Description

 Print SCROD to boardstack mapping given by TOPFrontEndMaps 

Definition at line 40 of file checkFrontEndMaps.py.

Member Function Documentation

◆ initialize()

def initialize (   self)
 initialize method: prints SCROD mappings 

Definition at line 43 of file checkFrontEndMaps.py.

43 def initialize(self):
44 """ initialize method: prints SCROD mappings """
45
46 mapper = Belle2.TOP.TOPGeometryPar.Instance().getFrontEndMapper()
47 if not mapper.isValid():
48 return
49
50 print()
51 print('expNo:', expNo, 'runNo:', runNo, tagtxt, tag)
52 print('Mapping of boardstacks to SCROD IDs')
53 for slot in range(1, 17):
54 print('slot', slot)
55 for bs in range(4):
56 femap = mapper.getMap(slot, bs)
57 if femap:
58 print(' BS' + str(bs) + ':', femap.getScrodID())
59 else:
60 print(' BS' + str(bs) + ': *not available*')
61
62
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.

The documentation for this class was generated from the following file: