Skip to content

Conversation

@ddobrigk
Copy link
Collaborator

Since the tracktuner class derives from ConfigurableGroups, it has to be put in the analysis task itself for the relevant configurables to be exposed directly to the user of a joint service such as propagationService.

@github-actions
Copy link

github-actions bot commented Jul 29, 2025

O2 linter results: ❌ 6 errors, ⚠️ 0 warnings, 🔕 0 disabled

Comment on lines 92 to 93
template <typename TConfigurableGroup, typename TTrackTuner, typename TInitContext, typename THistoRegistry>
void init(TConfigurableGroup const& cGroup, TTrackTuner& trackTunerObj, THistoRegistry& registry, TInitContext& initContext)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • trackTunerObj is unused.
  • Why is it passed by non-const reference?
  • Why is the type templated?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @vkucera, it's definitely used, please check again by looking at the actual code and not just the changelog. I can pass it as const and I can also explicitly mention the type - there, you're right, I'll adjust.

Copy link
Collaborator

@vkucera vkucera Jul 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sorry, I overlooked the line that removes the member from the class.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed such that the type is not a template. However: the non-const reference I cannot avoid - there are further function calls in the track tuner that are not marked as const and then it does not compile. There may be further adjustments needed to the track tuner anyhow - I think it's best to leave this for future improvements of the trackTuner tool.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, fair enough. Thanks for trying though.

@vkucera vkucera changed the title [Common/PWGLF] Expose configurables inside TrackTuner in propagationService [Common,PWGLF] Expose configurables inside TrackTuner in propagationService Jul 29, 2025
@vkucera
Copy link
Collaborator

vkucera commented Jul 29, 2025

Please add the missing header includes.

@ddobrigk ddobrigk enabled auto-merge (squash) July 29, 2025 14:24
@ddobrigk ddobrigk disabled auto-merge July 29, 2025 15:16
@ddobrigk ddobrigk enabled auto-merge (squash) July 29, 2025 15:16
Copy link
Collaborator

@alibuild alibuild left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving on behalf of @ddobrigk.

@ddobrigk ddobrigk merged commit f853ccf into AliceO2Group:master Jul 30, 2025
14 of 16 checks passed
jpxrk pushed a commit to jpxrk/O2Physics that referenced this pull request Aug 12, 2025
…ervice (AliceO2Group#12306)

Co-authored-by: David Dobrigkeit Chinellato <david.dobrigkeit.chinellato.cern.ch>
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 11, 2025
…ervice (AliceO2Group#12306)

Co-authored-by: David Dobrigkeit Chinellato <david.dobrigkeit.chinellato.cern.ch>
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
alibuild added a commit to alibuild/O2Physics that referenced this pull request Dec 5, 2025
…ervice (AliceO2Group#12306)

Co-authored-by: David Dobrigkeit Chinellato <david.dobrigkeit.chinellato.cern.ch>
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants