Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PWGHF/TableProducer/candidateSelectorOmegac0ToOmegaPi.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check warning on line 1 in PWGHF/TableProducer/candidateSelectorOmegac0ToOmegaPi.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Provide mandatory file documentation.

Check warning on line 1 in PWGHF/TableProducer/candidateSelectorOmegac0ToOmegaPi.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/workflow-file]

Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand All @@ -12,7 +12,7 @@
/// \file candidateSelectorToOmegaPi.cxx
/// \brief Omegac0 → Omega Pi selection task
/// \author Federica Zanone <federica.zanone@cern.ch>, Heidelberg University
/// \author Ruiqi Yin <ruiqi.yin@cern.ch>, Fudan University

Check warning on line 15 in PWGHF/TableProducer/candidateSelectorOmegac0ToOmegaPi.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \file is missing, incorrect or misplaced.

#include "CommonConstants/PhysicsConstants.h"
#include "Framework/AnalysisTask.h"
Expand All @@ -30,7 +30,7 @@
using namespace o2::framework;
using namespace o2::analysis;

enum pidInfoStored {

Check warning on line 33 in PWGHF/TableProducer/candidateSelectorOmegac0ToOmegaPi.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/enum]

Use UpperCamelCase for names of enumerators and their values.
kPiFromLam = 0,
kPrFromLam,
kKaFromCasc,
Expand Down Expand Up @@ -427,7 +427,7 @@
}
}

//Omegac Pt selection
// Omegac Pt selection
hPtCharmBaryon->Fill(std::abs(candidate.kfptOmegac()));
if (std::abs(candidate.kfptOmegac()) < ptCandMin || std::abs(candidate.kfptOmegac()) > ptCandMax) {
resultSelections = false;
Expand Down
4 changes: 2 additions & 2 deletions PWGHF/TableProducer/treeCreatorOmegacToOmegaPi.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check warning on line 1 in PWGHF/TableProducer/treeCreatorOmegacToOmegaPi.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/workflow-file]

Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand Down Expand Up @@ -426,9 +426,9 @@
// Filling candidate properties
rowCandidateLite.reserve(candidates.size());
for (const auto& candidate : candidates) {
if (keepOnlyMcSignal){
if (keepOnlyMcSignal) {
if (candidate.originRec() != 0) {
fillKfCandidate(candidate, candidate.flagMcMatchRec(), candidate.originRec(), candidate.collisionMatched());
fillKfCandidate(candidate, candidate.flagMcMatchRec(), candidate.originRec(), candidate.collisionMatched());
}
} else {
fillKfCandidate(candidate, candidate.flagMcMatchRec(), candidate.originRec(), candidate.collisionMatched());
Expand Down
Loading