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/DataModel/LFReducedXi1530KaonTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@

kNXiStarTrackSelBits
};
static_assert(kNXiStarTrackSelBits <= 64, "Xi(1530) track-selection bitmap exceeds uint64_t capacity");

Check failure on line 120 in PWGLF/DataModel/LFReducedXi1530KaonTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.

constexpr uint64_t xiStarTrackSelMask(XiStarTrackSelBit bit)
{
Expand Down Expand Up @@ -215,7 +215,7 @@

kNXiStarTopoSelBits
};
static_assert(kNXiStarTopoSelBits <= 64, "Xi(1530) topology-selection bitmap exceeds uint64_t capacity");

Check failure on line 218 in PWGLF/DataModel/LFReducedXi1530KaonTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.

constexpr uint64_t xiStarTopoSelMask(XiStarTopoSelBit bit)
{
Expand All @@ -233,7 +233,7 @@
DECLARE_SOA_COLUMN(Bz, bz, float); //! nominal L3 magnetic field along z (T)
} // namespace redxistarkevent

DECLARE_SOA_TABLE(RedXiStarKEvents, "AOD", "REDXSTKEVENT",
DECLARE_SOA_TABLE(RedXiStarKEvents, "AOD", "REDXISTARKEVENT",
o2::soa::Index<>,
collision::PosZ,
collision::NumContrib,
Expand Down Expand Up @@ -321,7 +321,7 @@
kKaonDCAzVar2,
kNKaonSelBits
};
static_assert(kNKaonSelBits <= 8, "Kaon selection bitmap exceeds uint8_t capacity");

Check failure on line 324 in PWGLF/DataModel/LFReducedXi1530KaonTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.

constexpr uint8_t kaonSelMask(KaonSelBit bit)
{
Expand Down
Loading
Loading