1D and 2D codes in broad strokes
1d algorithm for each padrow
in y (time) direction:
- find peaks in ADC-TDC for each pad
- Gaussian c2 fitting for overlaps
in x (pad) direction:
- associate overlapping time peaks
- Gaussian c2 fitting for overlaps
2d algorithm for each padrow
find 2D clusters = islands of pixels in pad-TDC space with nonzero ADC
for each cluster
- find peaks in 2D space
- fit overlapping peaks with realistic data model