JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

Modify THcNPSArray.cxx #501

Closed MarkKJones closed 11 months ago

MarkKJones commented 11 months ago

1) change so if nps_cal_arr_OutputSampWaveform = 2 then only outputs waveform for channels when the code finds pulses for that event.

2) In the Decode method added a check that the block number is not greater than the total number of block elements when using the fixed size array fAdcTdcOffset