Skip to content

Commit 46f944b

Browse files
authored
[Common] Change index column identifier
to avoid HY unbound indices complaint (actual index value was fine)
1 parent 981ff92 commit 46f944b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Common/DataModel/Multiplicity.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,9 @@ DECLARE_SOA_TABLE_VERSIONED(MultMCExtras_001, "AOD", "MULTMCEXTRA", 1, //! Table
184184
mult::IsInelGt1<mult::MultMCNParticlesEta10>,
185185
o2::soa::Marker<1>);
186186

187-
DECLARE_SOA_TABLE(MultHepMCHIs, "AOD", "MULTHEPMCHI", //! complementary table for heavy-ion mc info (subset of HepMCHeavyIons)
188-
o2::soa::Index<>, hepmcheavyion::McCollisionId, hepmcheavyion::NcollHard, hepmcheavyion::NpartProj, hepmcheavyion::NpartTarg,
189-
hepmcheavyion::Ncoll, hepmcheavyion::ImpactParameter);
190-
191187
using MultMCExtras = MultMCExtras_001;
192188
using MultMCExtra = MultMCExtras::iterator;
193189
using MultsExtraMC = MultMCExtras; // for backwards compatibility with previous naming scheme
194-
using MultHepMCHI = MultHepMCHIs::iterator;
195190

196191
// crosslinks
197192
namespace mult
@@ -202,6 +197,12 @@ DECLARE_SOA_INDEX_COLUMN(MultMCExtra, multMCExtra);
202197
DECLARE_SOA_TABLE(Mult2MCExtras, "AOD", "Mult2MCEXTRA", //! Relate reco mult entry to MC extras entry
203198
o2::soa::Index<>, mult::MultMCExtraId);
204199

200+
DECLARE_SOA_TABLE(MultHepMCHIs, "AOD", "MULTHEPMCHI", //! complementary table for heavy-ion mc info (subset of HepMCHeavyIons)
201+
o2::soa::Index<>, hepmcheavyion::MultMCExtraId, hepmcheavyion::NcollHard, hepmcheavyion::NpartProj, hepmcheavyion::NpartTarg,
202+
hepmcheavyion::Ncoll, hepmcheavyion::ImpactParameter);
203+
204+
using MultHepMCHI = MultHepMCHIs::iterator;
205+
205206
namespace multZeq
206207
{
207208
DECLARE_SOA_COLUMN(MultZeqFV0A, multZeqFV0A, float); //! Multiplicity equalized for the vertex position with the FV0A detector

0 commit comments

Comments
 (0)