@@ -1548,6 +1548,39 @@ DECLARE_SOA_TABLE_VERSIONED(V0s_002, "AOD", "V0", 2, //! Run 3 V0 table (version
15481548using V0s = V0s_002; // ! this defines the current default version
15491549using V0 = V0s::iterator;
15501550
1551+ namespace v0otf
1552+ {
1553+ DECLARE_SOA_INDEX_COLUMN (Collision, collision); // ! Collision index
1554+ DECLARE_SOA_INDEX_COLUMN_FULL (PosTrack, posTrack, int , Tracks, " _Pos" ); // ! Positive track
1555+ DECLARE_SOA_INDEX_COLUMN_FULL (NegTrack, negTrack, int , Tracks, " _Neg" ); // ! Negative track
1556+ DECLARE_SOA_COLUMN (Px, px, float ); // ! momentum in x
1557+ DECLARE_SOA_COLUMN (Py, py, float ); // ! momentum in y
1558+ DECLARE_SOA_COLUMN (Pz, pz, float ); // ! momentum in z
1559+ DECLARE_SOA_COLUMN (E, e, float ); // ! energy
1560+ DECLARE_SOA_COLUMN (Qt, qt, float ); // ! Qt of AP
1561+ DECLARE_SOA_COLUMN (Alpha, alpha, float ); // ! Alpha of AP
1562+ DECLARE_SOA_COLUMN (Cx, cx, float ); // ! conversion point x coordiante
1563+ DECLARE_SOA_COLUMN (Cy, cy, float ); // ! conversion point y coordiante
1564+ DECLARE_SOA_COLUMN (Cz, cz, float ); // ! conversion point z coordiante
1565+ DECLARE_SOA_COLUMN (Chi2NDF, chi2NDF, float ); // ! chi^2 over NDF from KFParticle
1566+ DECLARE_SOA_COLUMN (PsiPair, psiPair, float ); // ! Psi pair
1567+ DECLARE_SOA_COLUMN (DCAr, dcaR, float ); // ! DCA in radial direction
1568+ DECLARE_SOA_COLUMN (DCAz, dcaZ, float ); // ! DCA in z direction
1569+ DECLARE_SOA_COLUMN (Mass, mass, float ); // ! mass of the conversion. Do NOT use for cut!
1570+ } // namespace v0otf
1571+
1572+ DECLARE_SOA_TABLE (V0otfs, " AOD" , " V0OTF" , // ! Run 2 V0 on the fly table
1573+ o2::soa::Index<>,
1574+ v0otf::CollisionId, v0otf::PosTrackId, v0otf::NegTrackId,
1575+ v0otf::Px, v0otf::Py, v0otf::Pz, v0otf::E,
1576+ v0otf::Qt, v0otf::Alpha,
1577+ v0otf::Cx, v0otf::Cy, v0otf::Cz,
1578+ v0otf::Chi2NDF, v0otf::PsiPair,
1579+ v0otf::DCAr, v0otf::DCAz,
1580+ v0otf::Mass);
1581+
1582+ using V0otf = V0otfs::iterator;
1583+
15511584namespace cascade
15521585{
15531586DECLARE_SOA_INDEX_COLUMN (V0, v0); // ! V0 index
0 commit comments