-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding TRD t0 fitting procedure #11695
Conversation
Please consider the following formatting changes to AliceO2Group#11695
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Luisa, thanks a lot this looks already very good. I only have some minor comments (cleanup, documentation) so we should be able to merge this soon
Please consider the following formatting changes to AliceO2Group#11695
Please consider the following formatting changes to AliceO2Group#11695
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@luisabergmann very nice work, thank you!
I have some very minor suggestions.
mFitFunctor.lowerBoundFit = 0; | ||
mFitFunctor.upperBoundFit = 5; | ||
|
||
double mParamsStart[4]; | ||
mParamsStart[0] = 100; | ||
mParamsStart[1] = 500; | ||
mParamsStart[2] = 0.5; | ||
mParamsStart[3] = 0.5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These magical constants seem all like they should be moved to be configurable parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would I do that? Do I add lines in T0FitSpec.h like for "sec-per-slot" or "max-delay" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry to be unclear, I meant to put them in CalibrationParams.h, that way you can control them from the outside later on (if the need ever arises)
Co-authored-by: Felix Schlepper <f3sch.git@outlook.com>
Co-authored-by: Felix Schlepper <f3sch.git@outlook.com>
Co-authored-by: Felix Schlepper <f3sch.git@outlook.com>
Error while checking build/O2/fullCI for e563022 at 2023-08-03 12:41:
Full log here. |
As a general point, it would be really nice if you could document the procedure and the parameters briefly in the readme :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks very good as it is now. I am going to merge it and further improvements can of course still be added in followup PRs :)
* Adding TRD t0 fitting procedure * cleanup/documentation * Please consider the following formatting changes * replaced entries-variable with direct instance of calibration parameters * removed reset() from calibration container * Please consider the following formatting changes * Update DataFormats/Detectors/TRD/src/T0FitHistos.cxx Co-authored-by: Felix Schlepper <f3sch.git@outlook.com> * Update DataFormats/Detectors/TRD/src/T0FitHistos.cxx Co-authored-by: Felix Schlepper <f3sch.git@outlook.com> * Update Detectors/TRD/calibration/src/T0Fit.cxx Co-authored-by: Felix Schlepper <f3sch.git@outlook.com> * Updated DataFormats/Detectors/TRD/include/DataFormatsTRD/T0FitHistos.h --------- Co-authored-by: ALICE Action Bot <alibuild@cern.ch> Co-authored-by: Felix Schlepper <f3sch.git@outlook.com>
* Adding TRD t0 fitting procedure * cleanup/documentation * Please consider the following formatting changes * replaced entries-variable with direct instance of calibration parameters * removed reset() from calibration container * Please consider the following formatting changes * Update DataFormats/Detectors/TRD/src/T0FitHistos.cxx Co-authored-by: Felix Schlepper <f3sch.git@outlook.com> * Update DataFormats/Detectors/TRD/src/T0FitHistos.cxx Co-authored-by: Felix Schlepper <f3sch.git@outlook.com> * Update Detectors/TRD/calibration/src/T0Fit.cxx Co-authored-by: Felix Schlepper <f3sch.git@outlook.com> * Updated DataFormats/Detectors/TRD/include/DataFormatsTRD/T0FitHistos.h --------- Co-authored-by: ALICE Action Bot <alibuild@cern.ch> Co-authored-by: Felix Schlepper <f3sch.git@outlook.com>
The fits are done both for the PH distribution inclusive over all chambers and (if enough statistics are available) for the individual chambers.
added files:
updatet files: