RNO-G / mattak

RNO-G dataformats
1 stars 1 forks source link

Function to find Calibration Pulser #27

Open avijai2000 opened 7 months ago

avijai2000 commented 7 months ago

To identify calibration pulses, I have used a cut on the sys_diff defined as (sysclk - sysclk_last_pps)%(2(32)). I think there should be a dedicated function to identify cal pulses in mattak since it took quite some time to find the value on which to cut the sys_diff on and identify the integer overflow problem and solve it by taking %(2(32)). I think a good place to put it might be in Header.cc