@@ -28,7 +28,8 @@ namespace o2::aod
2828namespace lambdajetpol
2929{
3030
31- DECLARE_SOA_COLUMN (CollIdx, collIdx, uint64_t ); // Using a regular SOA column instead of an index column for convenience
31+ // DECLARE_SOA_COLUMN(CollIdx, collIdx, uint64_t); // Using a regular SOA column instead of an index column for convenience
32+ DECLARE_SOA_INDEX_COLUMN (Collision, collision);
3233DECLARE_SOA_COLUMN (Centrality, centrality, float );
3334
3435DECLARE_SOA_COLUMN (JetPt, jetPt, float );
@@ -57,14 +58,14 @@ DECLARE_SOA_COLUMN(NegPhi, negPhi, float);
5758} // namespace lambdajetpol
5859
5960DECLARE_SOA_TABLE (RingJets, " AOD" , " RINGJETS" , // Renamed to follow convention on "s" at the end of table name.
60- lambdajetpol::CollIdx,
61+ lambdajetpol::CollisionId, // Changed to an internal O2 index, slightly different from usual o2::soa::Index<> though
6162 lambdajetpol::JetPt,
6263 lambdajetpol::JetEta,
6364 lambdajetpol::JetPhi,
6465 lambdajetpol::JetNConstituents);
6566
6667DECLARE_SOA_TABLE (RingLaV0s, " AOD" , " RINGLAV0S" , // Had to write this in a shorter form because the derived data did not accept long names
67- lambdajetpol::CollIdx ,
68+ lambdajetpol::CollisionId ,
6869 lambdajetpol::V0Pt,
6970 lambdajetpol::V0Eta,
7071 lambdajetpol::V0Phi,
@@ -80,7 +81,7 @@ DECLARE_SOA_TABLE(RingLaV0s, "AOD", "RINGLAV0S", // Had to write this in a short
8081 lambdajetpol::NegPhi);
8182
8283DECLARE_SOA_TABLE (RingCollisions, " AOD" , " RINGCOLLISIONS" ,
83- lambdajetpol::CollIdx ,
84+ lambdajetpol::CollisionId ,
8485 lambdajetpol::Centrality);
8586} // namespace o2::aod
8687
0 commit comments