Skip to content

Conversation

@nzardosh
Copy link
Collaborator

No description provided.

@github-actions github-actions bot changed the title Adding Ds and Xic to jet framework [PWGJE] Adding Ds and Xic to jet framework Aug 19, 2025
@github-actions
Copy link

github-actions bot commented Aug 19, 2025

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

@nzardosh nzardosh enabled auto-merge (squash) August 19, 2025 18:44
alibuild
alibuild previously approved these changes Aug 19, 2025
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 @nzardosh.

@vkucera vkucera disabled auto-merge August 19, 2025 19:40
Copy link
Collaborator

@vkucera vkucera left a comment

Choose a reason for hiding this comment

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

Thanks @nzardosh .
Please always compile headers alone to check that they are self-sufficient.

Comment on lines +65 to +73
namespace bkgds
{
DECLARE_SOA_INDEX_COLUMN_FULL(Candidate, candidate, int, HfDsBases, "_0");
} // namespace bkgds

namespace bkgdsmc
{
DECLARE_SOA_INDEX_COLUMN_FULL(Candidate, candidate, int, HfDsPBases, "_0");
} // namespace bkgdsmc
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do you need two columns and not one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because they are pointing to different tables

Copy link
Collaborator

Choose a reason for hiding this comment

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

Indeed, sorry, I overlooked the P.

Comment on lines +97 to +98
o2physics_add_dpl_workflow(jet-finder-ds-mcd-charged
SOURCES jetFinderDsMCDCharged.cxx
Copy link
Collaborator

Choose a reason for hiding this comment

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

The capitalisation should be fixed at some point.

PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::PWGJECore O2Physics::AnalysisCore O2::FrameworkPhysicsSupport
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(jet-finder-xictoxipipi-data-charged
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
o2physics_add_dpl_workflow(jet-finder-xictoxipipi-data-charged
o2physics_add_dpl_workflow(jet-finder-xic-to-xi-pi-pi-data-charged

// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.

// jet finder D+ mcp charged task
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wrong

PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::PWGJECore O2Physics::AnalysisCore O2::FrameworkPhysicsSupport
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(jet-matching-mc-xictoxipipi-ch
Copy link
Collaborator

Choose a reason for hiding this comment

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

Fix the hyphenation everywhere.

//
/// \author Nima Zardoshti <nima.zardoshti@cern.ch>

#include "PWGJE/TableProducer/Matching/Substructure/jetSubstructureMatching.cxx"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use header files for reusable code and source files for compilation units.
Never ever include source files.


#include <vector>

using DsChargedJetSubstructureMatchingMC = JetSubstructureMatching<soa::Join<aod::DsChargedMCDetectorLevelJets, aod::DsChargedMCDetectorLevelJetConstituents, aod::DsChargedMCDetectorLevelJetsMatchedToDsChargedMCParticleLevelJets>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

The task name does not match the file name.


tasks.emplace_back(
adaptAnalysisTask<DsChargedMCJetsEventWeight>(cfgc,
SetDefaultProcesses{}, TaskName{"jet-ds-eventweight-mcp-charged"}));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
SetDefaultProcesses{}, TaskName{"jet-ds-eventweight-mcp-charged"}));
SetDefaultProcesses{}, TaskName{"jet-ds-event-weight-mcp-charged"}));

eventweight is not a word.

@vkucera vkucera marked this pull request as draft August 20, 2025 07:01
@nzardosh nzardosh marked this pull request as ready for review August 20, 2025 09:17
@nzardosh nzardosh enabled auto-merge (squash) August 20, 2025 09:18
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 @nzardosh.

@nzardosh nzardosh merged commit b11abd5 into AliceO2Group:master Aug 20, 2025
14 of 15 checks passed
gitchrishub-oss pushed a commit to gitchrishub-oss/O2Physics that referenced this pull request Aug 23, 2025
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request Oct 11, 2025
ThePhDane pushed a commit to ThePhDane/O2Physics that referenced this pull request Nov 3, 2025
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 11, 2025
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request Dec 5, 2025
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.

3 participants