Skip to content

[PWGUD] Update FwdMuonsUPC#16307

Open
ariffero wants to merge 18 commits into
AliceO2Group:masterfrom
ariffero:dev-mytask
Open

[PWGUD] Update FwdMuonsUPC#16307
ariffero wants to merge 18 commits into
AliceO2Group:masterfrom
ariffero:dev-mytask

Conversation

@ariffero
Copy link
Copy Markdown
Contributor

  • Change V0A veto: veto only sel BC
  • Remove histos and related configs
  • Add checks on two-trakcs cand in FwdMuonsUPC
  • Clean up of the task

@github-actions github-actions Bot added the pwgud label May 19, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

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

@ariffero ariffero marked this pull request as ready for review May 21, 2026 14:06
Copy link
Copy Markdown
Collaborator

@rolavick rolavick left a comment

Choose a reason for hiding this comment

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

Hi Andrea,
please, see this PR #15390 it seems you are reverting its changes. (usage of "" and <> in includes)
Also, please change the name of the file in a way that it does not start with a capital letter, so FwdMuonsUPC.cxx -> fwdMuonsUPC.cxx
Roman

@ariffero
Copy link
Copy Markdown
Contributor Author

Hi Andrea, please, see this PR #15390 it seems you are reverting its changes. (usage of "" and <> in includes) Also, please change the name of the file in a way that it does not start with a capital letter, so FwdMuonsUPC.cxx -> fwdMuonsUPC.cxx Roman

Hi Roman, thanks for spotting that, I did not notice it before. Now it should be ok.
Cheers,
Andrea

Please consider the following formatting changes to AliceO2Group#16307
/// \author Andrea Giovanni Riffero <andrea.giovanni.riffero@cern.ch>

#include "PWGUD/DataModel/UDTables.h"
#include <PWGUD/DataModel/UDTables.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.

This should stay under "", not <>

#include "PWGUD/DataModel/UDTables.h"
#include <PWGUD/DataModel/UDTables.h>

#include <CommonConstants/MathConstants.h>
Copy link
Copy Markdown
Collaborator

@rolavick rolavick May 21, 2026

Choose a reason for hiding this comment

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

Why you delete MathConstants.h include, it is used for PI definition on L196 no?


// check that all pairs are mu+mu-
if (std::abs(McPart1.pdgCode()) != kMuonPDG && std::abs(McPart2.pdgCode()) != kMuonPDG)
if (std::abs(McPart1.pdgCode()) != PDG_t::kMuonMinus || std::abs(McPart2.pdgCode()) != PDG_t::kMuonMinus) {
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 use PDG_t when comparing to tables made within O2. To make sure you the numbers are always compatible, use Serviceo2::framework::O2DatabasePDG pdg;

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