ZDC: update RPD waveform analysis
This merge request includes various updates to the RPD waveform analysis.
No pulse in the RPD is made valid (previously flagged as invalid). In this case, baseline and pileup subtraction are skipped, max sample is set to -1, and max and sum ADC are set to 0.
Superficial changes:
- Update comments for clarity
- Incorporate recommendations from clang-tidy
- Remove redundant check on number of unique points required for pileup fit
- Prefer use of
std::bitset
to bitwise operations
Edited by Mason Ray Housenga