BASF2 PATH GENERATION.
More...
|
| evtn |
| Event number.
|
|
| digits |
| Store array of ECLDigits.
|
|
BASF2 PATH GENERATION.
Definition at line 55 of file EclShapeFitter.py.
◆ event()
Check for discrepancy between real ShaperDSP data and shapeFitter function
from ecl/utility/src/ECLDspUtilities.cc
Definition at line 64 of file EclShapeFitter.py.
66 Check for discrepancy between real ShaperDSP data and shapeFitter function
67 from ecl/utility/src/ECLDspUtilities.cc
70 for digit
in self.digits:
71 waveform = digit.getRelated(
'ECLDsps')
75 trig = digit.getRelated(
'ECLTrigs')
79 trigger_time = int(trig.getTimeTrig())
82 adc = waveform.getDspA()
84 cid = digit.getCellId()
86 time = digit.getTimeFit()
87 qual = digit.getQuality()
94 qual2 = result.quality
96 if amp != amp2
or time != time2
or qual != qual2:
98 print(
'RealData: %4d %6d %6d %6d' % (cid, amp, time, qual))
99 print(
'Emulator: %4d %6d %6d %6d' % (cid, amp2, time2, qual2))
101 print(
'Event : %d Trigger time: %d' % (self.evtn, trigger_time))
102 print(
'CellID: %d AmpData: %d TimeData: %d QualityData: %d' % (cid, amp, time, qual))
103 print(
' '.join([str(x)
for x
in adc]), end=
'')
108 set_log_level(LogLevel.ERROR)
◆ initialize()
The documentation for this class was generated from the following file: