pixie16 / pixie_scan

Software to scan Pixie16 Data from LDFs into DAMM histograms
https://pixie16.github.io/pixie_scan
GNU General Public License v3.0
7 stars 9 forks source link

Vandle Processor doesn't check for good HRT event before plotting TDIFF #23

Open sztaylor89 opened 8 years ago

sztaylor89 commented 8 years ago

There is not check in VandleProcessor to see if there was a good HRT event before plotting TDIFF. This can lead to a spike in the TDIFF spectrum at TDIFF=0+offset since it plots when no HRT event happened. I would suggest something like what I use in my experiment processor: if(!bar.GetHasEvent()) {continue;}