Belle II Software  release-08-01-10
CheckFrontEndMaps Class Reference
Inheritance diagram for CheckFrontEndMaps:
Collaboration diagram for CheckFrontEndMaps:

Public Member Functions

def initialize (self)
 

Detailed Description

 Print SCROD to boardstack mapping given by TOPFrontEndMaps 

Definition at line 41 of file checkFrontEndMaps.py.

Member Function Documentation

◆ initialize()

def initialize (   self)
 initialize method: prints SCROD mappings 

Definition at line 44 of file checkFrontEndMaps.py.

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

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