Skip to content

Commit

Permalink
Quick fix for uint32_t ITSClusterSizes in AnalysisDataModel.h (#12186)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsekihat authored Nov 1, 2023
1 parent 97d70ac commit d043b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Framework/Core/include/Framework/AnalysisDataModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ DECLARE_SOA_DYNAMIC_COLUMN(ITSClusterMap, itsClusterMap, //! ITS cluster map, on
return clmap;
});
DECLARE_SOA_DYNAMIC_COLUMN(ITSNCls, itsNCls, //! Number of ITS clusters
[](uint8_t itsClusterSizes) -> uint8_t {
[](uint32_t itsClusterSizes) -> uint8_t {
uint8_t itsNcls = 0;
for (int layer = 0; layer < 7; layer++) {
if ((itsClusterSizes >> (layer * 4)) & 0xf)
Expand All @@ -276,7 +276,7 @@ DECLARE_SOA_DYNAMIC_COLUMN(ITSNCls, itsNCls, //! Number of ITS clusters
return itsNcls;
});
DECLARE_SOA_DYNAMIC_COLUMN(ITSNClsInnerBarrel, itsNClsInnerBarrel, //! Number of ITS clusters in the Inner Barrel
[](uint8_t itsClusterSizes) -> uint8_t {
[](uint32_t itsClusterSizes) -> uint8_t {
uint8_t itsNclsInnerBarrel = 0;
for (int layer = 0; layer < 3; layer++) {
if ((itsClusterSizes >> (layer * 4)) & 0xf)
Expand Down

0 comments on commit d043b4c

Please sign in to comment.