Skip to content

Commit

Permalink
Common: easier indexing to avoid HY warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ddobrigk authored Sep 9, 2024
1 parent b49d380 commit 3db0bae
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Common/DataModel/Multiplicity.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ DECLARE_SOA_TABLE(PVMults, "AOD", "PVMULT", //! Multiplicity from the PV contrib
mult::IsInelGt1<mult::MultNTracksPVeta1>);
using BarrelMults = soa::Join<TrackletMults, TPCMults, PVMults>;
using Mults = soa::Join<BarrelMults, FV0Mults, FT0Mults, FDDMults, ZDCMults>;
using FT0Mult = FT0Mults::iterator;
using Mult = Mults::iterator;

DECLARE_SOA_TABLE(MultsExtra, "AOD", "MULTEXTRA", //!
Expand Down Expand Up @@ -211,21 +212,21 @@ DECLARE_SOA_TABLE(MultBCs, "AOD", "MULTBC", //!
multBC::MultBCColliding);
using MultBC = MultBCs::iterator;

// crosslinks
// crosslinks

Check failure on line 215 in Common/DataModel/Multiplicity.h

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
namespace mult
{
DECLARE_SOA_INDEX_COLUMN(MultBC, multBC);
DECLARE_SOA_INDEX_COLUMN(MultBC, multBC);

Check failure on line 218 in Common/DataModel/Multiplicity.h

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
}
namespace multBC
{
DECLARE_SOA_INDEX_COLUMN(Mult, mult);
DECLARE_SOA_INDEX_COLUMN(FT0Mult, ft0Mult);
}

// for QA purposes
DECLARE_SOA_TABLE(Mults2BC, "AOD", "MULTS2BC", //! Relate mult -> BC
o2::soa::Index<>, mult::MultBCId);
DECLARE_SOA_TABLE(BC2Mults, "AOD", "BC2MULTS", //! Relate BC -> mult
o2::soa::Index<>, multBC::MultId);
o2::soa::Index<>, multBC::FT0MultId);

} // namespace o2::aod

Expand Down

0 comments on commit 3db0bae

Please sign in to comment.