Updates to RPD/Centroid Analysis and ZdcNtuple for Heavy Ions
Updates and Fixes:
- Add additional output to RPD analysis and integrate with ZdcAnalysisTool/ZdcNtuple
- Improve RPD baseline estimation by averaging over baseline samples
- Add option to cut on EM amplitude for centroid calculation
- Fix for RPD pileup evaluation which avoids potential TDecompLU errors (singular matrix when the number of points in normal equation is less than 2)
- Fix bug in RpdSubtractCentroidTool that applied wrong status bit in case of subtraction underflow
Minor changes:
- Rename variables and aux decorations for consistency and clarity
- Remove unused code in RPDDataAnalyzer
- Minor fixes and optimizations for RPDDataAnalyzer and ZdcNtuple
- Change sentinel value for RPD pileup fraction (
RPDChannelPileupFrac
) in case of zero or negative ADC sum to -1
Edited by Mason Ray Housenga