Skip to content

Conversation

@FabiolaLP
Copy link
Contributor

This PR adds the final table producer and data model in the correct location, with minimal changes:

  • Add table producer: PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx
  • Add data model: PWGLF/DataModel/LFAntinCexTables.h
  • Update PWGLF/TableProducer/Nuspex/CMakeLists.txt with the workflow entry

This PR supersedes the previous one that included the initial/experimental task and its CMake changes. The old PR can be closed.

@github-actions
Copy link

github-actions bot commented Sep 27, 2025

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

@github-actions github-actions bot changed the title Nuspex: antineutron CEX table producer (clean PR) [PWGLF] Nuspex: antineutron CEX table producer (clean PR) Sep 27, 2025
maciacco
maciacco previously approved these changes Sep 27, 2025
@maciacco
Copy link
Collaborator

Thanks @FabiolaLP! Please have a look at the MegaLinter errors (missing #include <algorithm> and moving C-style casting to C++ ones)

@maciacco maciacco enabled auto-merge (squash) September 27, 2025 13:37
@alibuild
Copy link
Collaborator

Error while checking build/O2Physics/o2 for 3914fd1 at 2025-09-27 23:39:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:394:18: error: unused variable 'pEta' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:508:20: error: unused variable 'apNClsIts' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:521:20: error: unused variable 'pNClsIts' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:278:16: error: unused variable 'antipP' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:283:16: error: unused variable 'antipEta' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:361:16: error: variable 'pcexP' set but not used [-Werror=unused-but-set-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:364:16: error: variable 'pcexE' set but not used [-Werror=unused-but-set-variable]
ninja: build stopped: subcommand failed.

Full log here.

auto-merge was automatically disabled October 1, 2025 03:21

Head branch was pushed to by a user without write access

maciacco
maciacco previously approved these changes Oct 1, 2025
@maciacco
Copy link
Collaborator

maciacco commented Oct 1, 2025

@FabiolaLP thanks for the additional changes. I think you still have to check for a few errors concerning unused variables, see the error messages from the build tests

@alibuild
Copy link
Collaborator

alibuild commented Oct 1, 2025

Error while checking build/O2Physics/o2 for 49249fb at 2025-10-01 11:23:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:395:18: error: unused variable 'pEta' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:509:20: error: unused variable 'apNClsIts' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:522:20: error: unused variable 'pNClsIts' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:279:16: error: unused variable 'antipP' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:284:16: error: unused variable 'antipEta' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:362:16: error: variable 'pcexP' set but not used [-Werror=unused-but-set-variable]
/sw/SOURCES/O2Physics/13150-slc9_x86-64/0/PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx:365:16: error: variable 'pcexE' set but not used [-Werror=unused-but-set-variable]
ninja: build stopped: subcommand failed.

Full log here.

@FabiolaLP
Copy link
Contributor Author

Hi @maciacco, thanks for the approval. I will work on the linter comments.

@vkucera
Copy link
Collaborator

vkucera commented Oct 3, 2025

@maciacco Please do not leave PRs which do not pass required checks as "ready for review".

@vkucera vkucera marked this pull request as draft October 3, 2025 16:37
@maciacco maciacco marked this pull request as ready for review October 6, 2025 07:51
@maciacco maciacco enabled auto-merge (squash) October 6, 2025 07:52
@maciacco maciacco disabled auto-merge October 6, 2025 07:56
@maciacco maciacco enabled auto-merge (squash) October 6, 2025 07:56
Comment on lines +20 to +32
#include "CommonConstants/MathConstants.h"
#include "DCAFitter/DCAFitterN.h"
#include "DetectorsBase/Propagator.h"
#include "Framework/AnalysisDataModel.h"
#include "Framework/AnalysisTask.h"
#include "Framework/Logger.h"
#include "Framework/runDataProcessing.h"
#include "ReconstructionDataFormats/TrackParametrization.h"

#include "TMCProcess.h"
#include "TMath.h"
#include "TPDGCode.h"
#include "TVector3.h"
Copy link
Collaborator

@vkucera vkucera Oct 6, 2025

Choose a reason for hiding this comment

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

Not a blocker for this PR but please, in your next iteration, include all headers outside O2Physics using <>.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Noted, thanks. I’ll use angle brackets for all headers outside O2Physics in the next pass.

@maciacco maciacco merged commit 7500c53 into AliceO2Group:master Oct 6, 2025
14 of 16 checks passed
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request Oct 11, 2025
ArkaprabhaSaha001 pushed a commit to ArkaprabhaSaha001/O2Physics that referenced this pull request Oct 21, 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
@FabiolaLP FabiolaLP deleted the feat/nuclei-antineutron-cex-clean branch December 1, 2025 04:52
lmattei01 pushed a commit to lmattei01/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.

4 participants