Skip to content

[PWGJE] Implemented suggestions from comments on previous pull request.#16002

Open
Lolle2001 wants to merge 5 commits intoAliceO2Group:masterfrom
Lolle2001:dev
Open

[PWGJE] Implemented suggestions from comments on previous pull request.#16002
Lolle2001 wants to merge 5 commits intoAliceO2Group:masterfrom
Lolle2001:dev

Conversation

@Lolle2001
Copy link
Copy Markdown

  • Updated the includes according to the O2 guidelines.
  • Removed registry as an argument in the analyse methods.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2026

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

@github-actions github-actions Bot changed the title Implemented suggestions from comments on previous pull request. [PWGJE] Implemented suggestions from comments on previous pull request. Apr 28, 2026
@Lolle2001 Lolle2001 closed this Apr 29, 2026
@Lolle2001 Lolle2001 reopened this Apr 29, 2026
- Updated the includes according to the O2 guidelines.
- Removed registry as an argument in the `analyse` methods.
@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented Apr 29, 2026

@Lolle2001 Please avoid fragmenting PRs. Update the existing one instead. #15914

@vkucera vkucera closed this Apr 29, 2026
@Lolle2001
Copy link
Copy Markdown
Author

Lolle2001 commented Apr 29, 2026

Hi @vkucera, @pdhankhe will close the one from before.

EDIT: @pdhankhe has closed it, could you please open this one, since I will be the main contributor to this code.

@Lolle2001
Copy link
Copy Markdown
Author

@Lolle2001 Please avoid fragmenting PRs. Update the existing one instead. #15914

Hi @vkucera, could you reopen this PR please?

@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented Apr 30, 2026

@Lolle2001 Please avoid fragmenting PRs. Update the existing one instead. #15914

Hi @vkucera, could you reopen this PR please?

Hi @Lolle2001 , sure, but I think you should see that option too below.

@Lolle2001
Copy link
Copy Markdown
Author

@Lolle2001 Please avoid fragmenting PRs. Update the existing one instead. #15914

Hi @vkucera, could you reopen this PR please?

Hi @Lolle2001 , sure, but I think you should see that option too below.

Hi @vkucera, I am afraid I do not see such an option. Only the buttons delete branch and comment.

@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented Apr 30, 2026

@Lolle2001 Please avoid fragmenting PRs. Update the existing one instead. #15914

Hi @vkucera, could you reopen this PR please?

Hi @Lolle2001 , sure, but I think you should see that option too below.

Hi @vkucera, I am afraid I do not see such an option. Only the buttons delete branch and comment.

Please send me a screenshot of the bottom of your PR on GitHub in a private message.

@vkucera vkucera reopened this Apr 30, 2026
/*
// Experimental Data (analyseDataChargedSubstructure)
*/
HNAME(ex_col); // Collision Counter
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please follow up on #15914 (comment)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

So to me it is a bit unclear if:
a) this is not allowed at all according to the O2Physics guidelines, or it is allowed if the author has a preference.
b) what you would suggest me to do alternatively.

Is a global declaration like const char* mc_eff_det_hfl_mass = "mc_eff_det_hfl_mass" the proper way?

Comment thread PWGJE/Tasks/jetD0AngSubstructure.cxx Outdated
Comment on lines +251 to +252
using JetChargedTableD0 =
soa::Join<aod::D0ChargedJets, aod::D0ChargedJetConstituents>;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't break lines unnecessarily.

Comment thread PWGJE/Tasks/jetD0AngSubstructure.cxx Outdated
Comment on lines +20 to +25
#include "PWGHF/Core/DecayChannels.h"
#include "PWGJE/Core/JetDerivedDataUtilities.h"
#include "PWGJE/Core/JetHFUtilities.h"
#include "PWGJE/Core/JetUtilities.h"
#include "PWGJE/DataModel/Jet.h"
#include "PWGJE/DataModel/JetReducedData.h"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

PWGJE headers should be first.

Suggested change
#include "PWGHF/Core/DecayChannels.h"
#include "PWGJE/Core/JetDerivedDataUtilities.h"
#include "PWGJE/Core/JetHFUtilities.h"
#include "PWGJE/Core/JetUtilities.h"
#include "PWGJE/DataModel/Jet.h"
#include "PWGJE/DataModel/JetReducedData.h"
#include "PWGJE/Core/JetDerivedDataUtilities.h"
#include "PWGJE/Core/JetHFUtilities.h"
#include "PWGJE/Core/JetUtilities.h"
#include "PWGJE/DataModel/Jet.h"
#include "PWGJE/DataModel/JetReducedData.h"
//
#include "PWGHF/Core/DecayChannels.h"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is something the formatting automatically does... but I will change it.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I know, I configured it. That's why I am telling you how to do it correctly.

@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented Apr 30, 2026

Don't mark other people's suggestions as resolved, especially if you have not resolved them yet. It is explicitly written in the guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants