Skip to content

Commit 056622e

Browse files
ddobrigkalibuild
andauthored
Common: easier indexing to avoid HY warning (AliceO2Group#7624)
* Common: easier indexing to avoid HY warning * Please consider the following formatting changes (AliceO2Group#7625) --------- Co-authored-by: ALICE Builder <[email protected]>
1 parent 40f8692 commit 056622e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Common/DataModel/Multiplicity.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ DECLARE_SOA_TABLE(PVMults, "AOD", "PVMULT", //! Multiplicity from the PV contrib
107107
mult::IsInelGt1<mult::MultNTracksPVeta1>);
108108
using BarrelMults = soa::Join<TrackletMults, TPCMults, PVMults>;
109109
using Mults = soa::Join<BarrelMults, FV0Mults, FT0Mults, FDDMults, ZDCMults>;
110+
using FT0Mult = FT0Mults::iterator;
110111
using Mult = Mults::iterator;
111112

112113
DECLARE_SOA_TABLE(MultsExtra, "AOD", "MULTEXTRA", //!
@@ -218,14 +219,14 @@ DECLARE_SOA_INDEX_COLUMN(MultBC, multBC);
218219
}
219220
namespace multBC
220221
{
221-
DECLARE_SOA_INDEX_COLUMN(Mult, mult);
222+
DECLARE_SOA_INDEX_COLUMN(FT0Mult, ft0Mult);
222223
}
223224

224225
// for QA purposes
225226
DECLARE_SOA_TABLE(Mults2BC, "AOD", "MULTS2BC", //! Relate mult -> BC
226227
o2::soa::Index<>, mult::MultBCId);
227228
DECLARE_SOA_TABLE(BC2Mults, "AOD", "BC2MULTS", //! Relate BC -> mult
228-
o2::soa::Index<>, multBC::MultId);
229+
o2::soa::Index<>, multBC::FT0MultId);
229230

230231
} // namespace o2::aod
231232

0 commit comments

Comments
 (0)