[Common] TrackTuner: dca calib. "autodetection" based on run number. #13493
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this PR I've implemented the possibility to enable an "auto-detection" of dca calibration files for the TrackTuner from CCDB based on the run number.
This is based on a list of predefined cases (look at the function
TrackTuner::getPathInputFileAutomaticFromCCDB()), for which now we are forced to define different versions of thepropagationServicewagon (e.g. in the HF service wagons list in Hyperloop).The development has been tested locally for a MC production anchored to pp 2023 data t 13.6 TeV, and the output before and after this development looks the same.
I open this PR in draft mode for the moment, waiting for your possible comments, especially on the following points:
I have implemented the usage of auto-detection only for the
propagationServicecase, i.e. I have not done anything similar for theCommon/TableProducer/trackPropagation.cxxworkflow. Let me know if I need to extend it there as well (tagging @ddobrigk for it)to use the auto detection, one has to slightly change the way the function
TrackTuner::getDcaGraphs()is called. I implemented it only for thepropagationService, but there are other codes where theTrackTuneris instantiated. Below the list of cases (hoping not to forget anything). Since they are not central workflows, but analysis-related ones, I'd leave it to the analysers, in case they need it (I tag here people that developed the codes, or possibly are responsible for them @iouribelikov @f3sch @lbariogl @njacazio @romainschotter @creetz16 @GiorgioAlbertoLucia @fmazzasc ):DPG/Tasks/AOTTrack/V0Cascades/perfK0sResolution.cxxDPG/Tasks/AOTTrack/V0Cascades/qaLamMomResolution.cxxPWGLF/TableProducer/QC/nucleiQC.cxxPWGLF/TableProducer/Nuspex/nucleiFlowTree.cxxTagging for their info also @arossi81 @phymanshu @fgrosa @gluparel