Expand description
Implementations of analysis engine This is based on the original code by J.Zweerink
Functions§
- calc_
edep_ simple - An approximation to calculate the energy deposition as used by Philip/Jamie/Jeff
- calculate_
pedestal - The pedestal is the baseline of the waveform
- cfd_
simple - Find the onset time of a peak with a constant fraction discrimination method.
- find_
peaks - Find peaks in a given time window (in ns) by comparing the waveform voltages with the given threshold.
- get_
max_ bin - Return the bin with the maximum ADC value
- get_
paddle_ t0 - Calculate the interaction time based on the peak timings measured at the paddle ends A and B
- integrate
- Integrate a waveform
- interpolate_
time - pos_
across - Calculate the distance from the A side We will Always use the A side to measure “pos_accross”
- time2bin
- Given a time in ns, find the bin most closely corresponding to that time