The scurve width distributions do not typically appear to be normally distributed; so fitting with a Gaussian causes the fit to converge on a local rather than a global minimum which does not always report the ENC accurately.
In this case I've added a set of TH2F objects which report scurve mean and sigma vs. THR DAC value. These are then drawn as a box plot so they can be evaluated more succinctly.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Motivation and Context
Described above.
How Has This Been Tested?
Re-ran old analysis.
Checklist:
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
The scurve width distributions do not typically appear to be normally distributed; so fitting with a Gaussian causes the fit to converge on a local rather than a global minimum which does not always report the ENC accurately.
In this case I've added a set of
TH2F
objects which report scurve mean and sigma vs. THR DAC value. These are then drawn as a box plot so they can be evaluated more succinctly.Types of changes
Motivation and Context
Described above.
How Has This Been Tested?
Re-ran old analysis.
Checklist: