@@ -35,6 +35,13 @@ using std::array;
3535namespace o2 ::aod
3636{
3737
38+ // 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
44+
3845// for real data
3946namespace sigma0Core
4047{
@@ -429,6 +436,7 @@ DECLARE_SOA_DYNAMIC_COLUMN(LambdaMCPhi, lambdaMCPhi, //! Phi in the range [0, 2p
429436} // namespace sigma0MCCore
430437
431438DECLARE_SOA_TABLE (Sigma0MCCores, " AOD" , " SIGMA0MCCORES" ,
439+
432440 // Basic properties
433441 sigma0MCCore::MCradius, sigma0MCCore::PDGCode, sigma0MCCore::PDGCodeMother, sigma0MCCore::MCprocess, sigma0MCCore::IsProducedByGenerator,
434442
@@ -465,6 +473,10 @@ DECLARE_SOA_TABLE(Sigma0MCCores, "AOD", "SIGMA0MCCORES",
465473 sigma0MCCore::LambdaMCY<sigma0MCCore::LambdaMCPx, sigma0MCCore::LambdaMCPy, sigma0MCCore::LambdaMCPz>,
466474 sigma0MCCore::LambdaMCPhi<sigma0MCCore::LambdaMCPx, sigma0MCCore::LambdaMCPy>);
467475
476+ namespace sigma0MCCore
477+ {
478+ DECLARE_SOA_INDEX_COLUMN (McParticle, mcParticle); // ! MC particle for Sigma0
479+ }
468480namespace sigma0Gen
469481{
470482DECLARE_SOA_COLUMN (IsSigma0, isSigma0, bool ); // true: sigma0, false: antisigma0
@@ -481,6 +493,12 @@ DECLARE_SOA_TABLE(Sigma0Gens, "AOD", "SIGMA0GENS",
481493DECLARE_SOA_TABLE (SigmaCollRef, " AOD" , " SIGMACOLLREF" , // ! optional table to refer back to a collision
482494 o2::soa::Index<>, v0data::StraCollisionId);
483495
496+ DECLARE_SOA_TABLE (SigmaIndices, " AOD" , " SIGMAINDEX" , // ! index table when using AO2Ds
497+ o2::soa::Index<>, sigma0Core::PhotonV0Id, sigma0Core::LambdaV0Id, o2::soa::Marker<1 >);
498+
499+ DECLARE_SOA_TABLE (SigmaMCLabels, " AOD" , " SIGMAMCLABEL" , // ! optional table to refer to mcparticles
500+ o2::soa::Index<>, sigma0MCCore::McParticleId);
501+
484502DECLARE_SOA_TABLE (SigmaGenCollRef, " AOD" , " SIGMAGENCOLLREF" , // ! optional table to refer back to a collision
485503 o2::soa::Index<>, v0data::StraMCCollisionId);
486504
0 commit comments