Search for the shared TBC constants within an ASIC
Definition at line 38 of file checkTBCAsic.py.
◆ initialize()
initialize: search is done here
Definition at line 41 of file checkTBCAsic.py.
42 ''' initialize: search is done here '''
45 print(
'Experiment =', expNo,
'Run =', runNo,
'global tag =', tag)
50 for slot
in range(1, 17):
52 femap = mapper.getMap(slot, bs)
53 scrod = femap.getScrodID()
54 print(
'slot' + str(slot),
'BS' + str(bs),
'scrodID =', scrod)
55 for asic
in range(16):
59 if tbc.isAvailable(scrod, chan):
60 sampleTimes.append(tbc.getSampleTimes(scrod, chan))
61 while len(sampleTimes) > 1:
63 for i
in range(1, len(sampleTimes)):
64 if sampleTimes[i].getTimeAxis() == sampleTimes[0].getTimeAxis():
65 ch = sampleTimes[i].getChannel() - asic * 8
66 ch0 = sampleTimes[0].getChannel() - asic * 8
67 print(
'--> asic =', asic,
': ch' + str(ch),
'sample times are same as ch' + str(ch0))
69 not_eq.append(sampleTimes[i])
Class to access a DBObjPtr from Python.
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.
The documentation for this class was generated from the following file: