Skip to content

[PWGLF] ptmultCorr.cxx: Add DCA_xy axis in MC reco for secondary contamination estimation#16540

Open
akyadav1963 wants to merge 3 commits into
AliceO2Group:masterfrom
akyadav1963:pt-mult-corr-update-dca_xy
Open

[PWGLF] ptmultCorr.cxx: Add DCA_xy axis in MC reco for secondary contamination estimation#16540
akyadav1963 wants to merge 3 commits into
AliceO2Group:masterfrom
akyadav1963:pt-mult-corr-update-dca_xy

Conversation

@akyadav1963
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the pwglf label Jun 5, 2026
@github-actions github-actions Bot changed the title PWGLF: ptmultCorr.cxx: added DCA_xy axis in MC reco for secondary con… [PWGLF] ptmultCorr.cxx: added DCA_xy axis in MC reco for secondary con… Jun 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

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

akyadav1963 added a commit to akyadav1963/O2Physics that referenced this pull request Jun 5, 2026
Please consider the following formatting changes to AliceO2Group#16540
@alibuild
Copy link
Copy Markdown
Collaborator

alibuild commented Jun 5, 2026

Error while checking build/O2Physics/o2 for 2e3e0d8 at 2026-06-05 14:20:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:577:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:580:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:583:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:625:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:628:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:631:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:643:43: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:643:98: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:716:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:719:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:722:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:760:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:763:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:766:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:778:43: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:778:98: error: 'PDG_t' has not been declared
ninja: build stopped: subcommand failed.

Full log here.

@alibuild
Copy link
Copy Markdown
Collaborator

alibuild commented Jun 5, 2026

Error while checking build/O2Physics/staging for 2e3e0d8 at 2026-06-05 14:20:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:577:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:580:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:583:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:625:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:628:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:631:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:643:43: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:643:98: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:716:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:719:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:722:16: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:760:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:763:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:766:20: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:778:43: error: 'PDG_t' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/GlobalEventProperties/ptmultCorr.cxx:778:98: error: 'PDG_t' has not been declared
ninja: build stopped: subcommand failed.

Full log here.

@vkucera vkucera marked this pull request as draft June 5, 2026 13:23
@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented Jun 5, 2026

@akyadav1963 You are supposed to test your changes before you open a PR.

@akyadav1963 akyadav1963 force-pushed the pt-mult-corr-update-dca_xy branch from 2e3e0d8 to 737b761 Compare June 5, 2026 14:11
@akyadav1963
Copy link
Copy Markdown
Contributor Author

@vkucera I am Sorry for the oversight. The issue was due to a missing TPDGCode.h include, which caused the PDG_t symbols to be undefined during compilation. I have added the missing header, verified that the task builds successfully locally, and updated the PR.

@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented Jun 5, 2026

@vkucera I am Sorry for the oversight. The issue was due to a missing TPDGCode.h include, which caused the PDG_t symbols to be undefined during compilation. I have added the missing header, verified that the task builds successfully locally, and updated the PR.

Did you also run the code and validate the output?

Comment on lines +196 to +198
Configurable<bool> isApplyDCACuts{"isApplyDCACuts", false, "Enable DCA cuts (set to false for secondary estimation)"};
Configurable<bool> isApplyITSCuts{"isApplyITSCuts", false, "Enable ITS cuts (set to false for secondary estimation)"};
Configurable<bool> isApplyChi2Cuts{"isApplyChi2Cuts", false, "Enable χ² cuts (set to false for secondary estimation)"};
Copy link
Copy Markdown
Collaborator

@vkucera vkucera Jun 5, 2026

Choose a reason for hiding this comment

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

isApply does not make sense.

Suggested change
Configurable<bool> isApplyDCACuts{"isApplyDCACuts", false, "Enable DCA cuts (set to false for secondary estimation)"};
Configurable<bool> isApplyITSCuts{"isApplyITSCuts", false, "Enable ITS cuts (set to false for secondary estimation)"};
Configurable<bool> isApplyChi2Cuts{"isApplyChi2Cuts", false, "Enable χ² cuts (set to false for secondary estimation)"};
Configurable<bool> applyDCACuts{"applyDCACuts", false, "Enable DCA cuts (set to false for secondary estimation)"};
Configurable<bool> applyITSCuts{"applyITSCuts", false, "Enable ITS cuts (set to false for secondary estimation)"};
Configurable<bool> applyChi2Cuts{"applyChi2Cuts", false, "Enable χ² cuts (set to false for secondary estimation)"};

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 mark suggestions as resolved.
  • You did not apply the change properly.

@akyadav1963
Copy link
Copy Markdown
Contributor Author

@vkucera I am Sorry for the oversight. The issue was due to a missing TPDGCode.h include, which caused the PDG_t symbols to be undefined during compilation. I have added the missing header, verified that the task builds successfully locally, and updated the PR.

Did you also run the code and validate the output?

@vkucera yes I did.

Co-authored-by: Vít Kučera <26327373+vkucera@users.noreply.github.com>
@vkucera vkucera changed the title [PWGLF] ptmultCorr.cxx: added DCA_xy axis in MC reco for secondary con… [PWGLF] ptmultCorr.cxx: Add DCA_xy axis in MC reco for secondary contamination estimation Jun 5, 2026
@vkucera vkucera marked this pull request as ready for review June 5, 2026 16:44
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.

3 participants