@@ -36,15 +36,18 @@ namespace o2::aod
3636{
3737
3838// Indexing
39- namespace sigma0Core
40- {
41- DECLARE_SOA_INDEX_COLUMN_FULL (PhotonV0, photonV0, int , V0Cores, " _PhotonV0" ); // !
42- DECLARE_SOA_INDEX_COLUMN_FULL (LambdaV0, lambdaV0, int , V0Cores, " _LambdaV0" ); // !
43- } // namespace sigma0Core
39+ // namespace sigma0Core
40+ // {
41+ // DECLARE_SOA_INDEX_COLUMN_FULL(PhotonV0, photonV0, int, V0Cores, "_PhotonV0"); //!
42+ // DECLARE_SOA_INDEX_COLUMN_FULL(LambdaV0, lambdaV0, int, V0Cores, "_LambdaV0"); //!
43+ // } // namespace sigma0Core
4444
4545// for real data
4646namespace sigma0Core
4747{
48+ DECLARE_SOA_COLUMN (PhotonV0ID, photonV0ID, int );
49+ DECLARE_SOA_COLUMN (LambdaV0ID, lambdaV0ID, int );
50+
4851DECLARE_SOA_COLUMN (X, x, float );
4952DECLARE_SOA_COLUMN (Y, y, float );
5053DECLARE_SOA_COLUMN (Z, z, float );
@@ -163,6 +166,8 @@ DECLARE_SOA_DYNAMIC_COLUMN(LambdaPhi, lambdaPhi, //! Phi in the range [0, 2pi)
163166} // namespace sigma0Core
164167
165168DECLARE_SOA_TABLE (Sigma0Cores, " AOD" , " SIGMA0CORES" ,
169+ // Indices for debug
170+ sigma0Core::PhotonV0ID, sigma0Core::LambdaV0ID,
166171 // Basic properties
167172 sigma0Core::X, sigma0Core::Y, sigma0Core::Z, sigma0Core::DCADaughters,
168173 sigma0Core::PhotonPx, sigma0Core::PhotonPy, sigma0Core::PhotonPz, sigma0Core::PhotonMass,
@@ -567,6 +572,7 @@ DECLARE_SOA_TABLE(Sigma0LambdaExtras, "AOD", "SIGMA0LAMBDA",
567572// for MC
568573namespace sigma0MCCore
569574{
575+ DECLARE_SOA_COLUMN (ParticleIdMC, particleIdMC, int ); // ! V0 Particle ID
570576DECLARE_SOA_COLUMN (MCradius, mcradius, float );
571577DECLARE_SOA_COLUMN (PDGCode, pdgCode, int );
572578DECLARE_SOA_COLUMN (PDGCodeMother, pdgCodeMother, int );
@@ -691,6 +697,8 @@ DECLARE_SOA_DYNAMIC_COLUMN(LambdaMCPhi, lambdaMCPhi, //! Phi in the range [0, 2p
691697} // namespace sigma0MCCore
692698
693699DECLARE_SOA_TABLE (Sigma0MCCores, " AOD" , " SIGMA0MCCORES" ,
700+ // MC particle index for debug
701+ sigma0MCCore::ParticleIdMC,
694702
695703 // Basic properties
696704 sigma0MCCore::MCradius, sigma0MCCore::PDGCode, sigma0MCCore::PDGCodeMother, sigma0MCCore::MCprocess, sigma0MCCore::IsProducedByGenerator,
@@ -728,10 +736,10 @@ DECLARE_SOA_TABLE(Sigma0MCCores, "AOD", "SIGMA0MCCORES",
728736 sigma0MCCore::LambdaMCY<sigma0MCCore::LambdaMCPx, sigma0MCCore::LambdaMCPy, sigma0MCCore::LambdaMCPz>,
729737 sigma0MCCore::LambdaMCPhi<sigma0MCCore::LambdaMCPx, sigma0MCCore::LambdaMCPy>);
730738
731- namespace sigma0MCCore
732- {
733- DECLARE_SOA_INDEX_COLUMN (McParticle, mcParticle); // ! MC particle for Sigma0
734- }
739+ // namespace sigma0MCCore
740+ // {
741+ // DECLARE_SOA_INDEX_COLUMN(McParticle, mcParticle); //! MC particle for Sigma0
742+ // }
735743
736744// for MC
737745namespace kstarMCCore
@@ -923,11 +931,11 @@ DECLARE_SOA_TABLE(KStarGens, "AOD", "KSTARGENS",
923931DECLARE_SOA_TABLE (SigmaCollRef, " AOD" , " SIGMACOLLREF" , // ! optional table to refer back to a collision
924932 o2::soa::Index<>, v0data::StraCollisionId);
925933
926- DECLARE_SOA_TABLE (SigmaIndices, " AOD" , " SIGMAINDEX" , // ! index table when using AO2Ds
927- o2::soa::Index<>, sigma0Core::PhotonV0Id, sigma0Core::LambdaV0Id, o2::soa::Marker<1 >);
934+ // DECLARE_SOA_TABLE(SigmaIndices, "AOD", "SIGMAINDEX", //! index table when using AO2Ds
935+ // o2::soa::Index<>, sigma0Core::PhotonV0Id, sigma0Core::LambdaV0Id, o2::soa::Marker<1>);
928936
929- DECLARE_SOA_TABLE (SigmaMCLabels, " AOD" , " SIGMAMCLABEL" , // ! optional table to refer to mcparticles
930- o2::soa::Index<>, sigma0MCCore::McParticleId);
937+ // DECLARE_SOA_TABLE(SigmaMCLabels, "AOD", "SIGMAMCLABEL", //! optional table to refer to mcparticles
938+ // o2::soa::Index<>, sigma0MCCore::McParticleId);
931939
932940DECLARE_SOA_TABLE (SigmaGenCollRef, " AOD" , " SIGMAGENCOLLREF" , // ! optional table to refer back to a collision
933941 o2::soa::Index<>, v0data::StraMCCollisionId);
0 commit comments