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 PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
using CollisionsFullMC = soa::Join<aod::Collisions, aod::McCollisionLabels, aod::EvSels, aod::CentFT0As, aod::CentFT0Cs, aod::CentFT0Ms, aod::CentFV0As>;
using TracksFull = soa::Join<aod::TracksIU, aod::TracksExtra, aod::TracksCovIU, o2::aod::TracksDCA, aod::pidTOFmass>;

MetadataHelper metadataInfo; // Metadata helper
o2::common::core::MetadataHelper metadataInfo; // Metadata helper
//----------------------------------------------------------------------------------------------------------------

namespace
Expand All @@ -83,7 +83,7 @@

const int nBetheParams = 6;
static const std::vector<std::string> betheBlochParNames{"p0", "p1", "p2", "p3", "p4", "resolution"};
constexpr double betheBlochDefault[nDaughterParticles][nBetheParams]{

Check failure on line 86 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
{13.611469, 3.598765, -0.021138, 2.039562, 0.651040, 0.09}, // pion
{5.393020, 7.859534, 0.004048, 2.323197, 1.609307, 0.09}, // proton
{5.393020, 7.859534, 0.004048, 2.323197, 1.609307, 0.09}, // deuteron
Expand All @@ -93,7 +93,7 @@

const int nTrkSettings = 15;
static const std::vector<std::string> trackPIDsettingsNames{"useBBparams", "minITSnCls", "minTPCnCls", "maxTPCchi2", "maxITSchi2", "minRigidity", "maxRigidity", "maxTPCnSigma", "TOFrequiredabove", "minTOFmass", "maxTOFmass", "minDcaToPvXY", "minDcaToPvZ", "minITSclsSize", "maxITSclsSize"};
constexpr double trackPIDsettings[nDaughterParticles][nTrkSettings]{

Check failure on line 96 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
{0, 0, 60, 3.0, 5000, 0.15, 1.2, 2.5, -1, 0, 100, 0., 0., 0., 1000},
{1, 0, 70, 2.5, 5000, 0.20, 4.0, 3.0, -1, 0, 100, 0., 0., 0., 1000},
{1, 0, 70, 5.0, 5000, 0.50, 5.0, 3.0, -1, 0, 100, 0., 0., 0., 1000},
Expand All @@ -105,10 +105,10 @@
static const std::vector<std::string> hyperNucNames{"L->p+pi", "3LH->3He+pi", "3LH->d+p+pi", "4LH->4He+pi", "4LH->t+p+pi", "4LHe->3He+p+pi", "5LHe->4He+p+pi", "5LHe->3He+d+pi", "custom1", "custom2"};
static const std::vector<std::string> hyperNucEnabledLb{"enabled"};
static const std::vector<std::string> reduceLb{"reduce factor"};
constexpr int hyperNucEnabled[nHyperNuclei][1]{{0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}};

Check failure on line 108 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
constexpr float reduceFactor[nHyperNuclei][1]{{1.}, {1.}, {1.}, {1.}, {1.}, {1.}, {1.}, {1.}, {1.}, {1.}};

Check failure on line 109 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
static const std::vector<std::string> hyperNucPdgLb{"PDG code"};
static constexpr int hyperNucPdgCodes[nHyperNuclei][1]{

Check failure on line 111 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
{3122},
{o2::constants::physics::kHyperTriton},
{o2::constants::physics::kHyperTriton},
Expand All @@ -124,7 +124,7 @@
static const std::string hyperNucSigns[nHyperNuclei][4]{{"+", "-", "", ""}, {"+", "-", "", ""}, {"+", "+", "-", ""}, {"+", "-", "", ""}, {"+", "+", "-", ""}, {"+", "+", "-", ""}, {"+", "+", "-", ""}, {"+", "+", "-", ""}, {"", "", "", ""}, {"", "", "", ""}}; // NOLINT: runtime/string
const int nSelPrim = 8;
static const std::vector<std::string> preSelectionPrimNames{"minMass", "maxMass", "minCt", "maxCt", "minCosPa", "maxDcaTracks", "maxDcaMotherToPvXY", "maxDcaMotherToPvZ"};
constexpr double preSelectionsPrimaries[nHyperNuclei][nSelPrim]{

Check failure on line 127 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
{1.00, 1.30, 0, 50, 0.90, 100., 2.0, 5.0},
{2.96, 3.04, 0, 30, 0.99, 100., 1.5, 4.0},
{2.96, 3.04, 0, 30, 0.99, 100., 1.5, 4.0},
Expand All @@ -137,7 +137,7 @@
{0.00, 9.90, 0, 100, -1., 100., 10., 10.}};
const int nSelSec = 8;
static const std::vector<std::string> preSelectionSecNames{"minMass", "maxMass", "minCt", "maxCt", "minCosPaSv", "maxDcaTracks", "maxDcaMotherToSvXY", "maxDcaMotherToSvZ"};
constexpr double preSelectionsSecondaries[nHyperNuclei][nSelSec]{

Check failure on line 140 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
{1.00, 1.30, 0, 50, 0.90, 100., 2.0, 5.0},
{2.96, 3.04, 0, 30, 0.99, 100., 1.5, 4.0},
{2.96, 3.04, 0, 30, 0.99, 100., 1.5, 4.0},
Expand All @@ -151,8 +151,8 @@

static const int nCascades = 6;
static const std::vector<std::string> cascadeNames{"4LLH->4LHe+pi", "4XHe->4LHe+pi", "custom1", "custom2", "custom3", "custom4"};
constexpr int cascadeEnabled[nCascades][1]{{0}, {0}, {0}, {0}, {0}, {0}};

Check failure on line 154 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
constexpr int cascadePdgCodes[nCascades][1]{

Check failure on line 155 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
{1020010040},
{1120020040},
{0},
Expand All @@ -166,7 +166,7 @@
static const std::string cascadeSigns[nCascades][4]{{"+", "-", "", ""}, {"+", "-", "", ""}, {"", "", "", ""}, {"", "", "", ""}, {"", "", "", ""}, {"", "", "", ""}}; // NOLINT: runtime/string
const int nSelCas = 8;
static const std::vector<std::string> preSelectionCascadeNames{"minMass", "maxMass", "minCt", "maxCt", "minCosPa", "maxDcaTracks", "maxDcaMotherToPvXY", "maxDcaMotherToPvZ"};
constexpr double preSelectionsCascades[nCascades][nSelCas]{

Check failure on line 169 in PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
{4.00, 4.20, 0, 30, 0.95, 100., 2.0, 5.},
{4.00, 4.20, 0, 30, 0.95, 100., 2.0, 5.},
{0.00, 9.90, 0, 100, -1., 100., 10., 10.},
Expand Down
2 changes: 1 addition & 1 deletion PWGLF/TableProducer/Strangeness/stracents.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ using namespace o2;
using namespace o2::framework;
using namespace o2::framework::expressions;

MetadataHelper metadataInfo; // Metadata helper
o2::common::core::MetadataHelper metadataInfo; // Metadata helper

struct straCents {
Produces<aod::StraCents> strangeCents;
Expand Down
Loading