Skip to content

Commit 5a755a0

Browse files
committed
adapt changes suggested by comments
1 parent ca32793 commit 5a755a0

File tree

1 file changed

+32
-33
lines changed

1 file changed

+32
-33
lines changed

Framework/Core/include/Framework/AnalysisDataModel.h

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,39 +1548,6 @@ DECLARE_SOA_TABLE_VERSIONED(V0s_002, "AOD", "V0", 2, //! Run 3 V0 table (version
15481548
using V0s = V0s_002; //! this defines the current default version
15491549
using 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-
15841551
namespace cascade
15851552
{
15861553
DECLARE_SOA_INDEX_COLUMN(V0, v0); //! V0 index
@@ -1705,6 +1672,26 @@ DECLARE_SOA_COLUMN(SPDFiredFastOrL0, spdFiredFastOrL0, uint16_t); //! Fired
17051672
DECLARE_SOA_COLUMN(SPDFiredFastOrL1, spdFiredFastOrL1, uint16_t); //! Fired FASTOR signals in the first layer of the SPD (online)
17061673
DECLARE_SOA_COLUMN(V0TriggerChargeA, v0TriggerChargeA, uint16_t); //! V0A trigger charge
17071674
DECLARE_SOA_COLUMN(V0TriggerChargeC, v0TriggerChargeC, uint16_t); //! V0C trigger charge
1675+
namespace v0otf
1676+
{
1677+
DECLARE_SOA_INDEX_COLUMN(Collision, collision); //! Collision index
1678+
DECLARE_SOA_INDEX_COLUMN_FULL(PosTrack, posTrack, int, Tracks, "_Pos"); //! Positive track
1679+
DECLARE_SOA_INDEX_COLUMN_FULL(NegTrack, negTrack, int, Tracks, "_Neg"); //! Negative track
1680+
DECLARE_SOA_COLUMN(Px, px, float); //! momentum in x
1681+
DECLARE_SOA_COLUMN(Py, py, float); //! momentum in y
1682+
DECLARE_SOA_COLUMN(Pz, pz, float); //! momentum in z
1683+
DECLARE_SOA_COLUMN(E, e, float); //! energy
1684+
DECLARE_SOA_COLUMN(Qt, qt, float); //! Qt of AP
1685+
DECLARE_SOA_COLUMN(Alpha, alpha, float); //! Alpha of AP
1686+
DECLARE_SOA_COLUMN(Cx, cx, float); //! conversion point x coordiante
1687+
DECLARE_SOA_COLUMN(Cy, cy, float); //! conversion point y coordiante
1688+
DECLARE_SOA_COLUMN(Cz, cz, float); //! conversion point z coordiante
1689+
DECLARE_SOA_COLUMN(Chi2NDF, chi2NDF, float); //! chi^2 over NDF from KFParticle
1690+
DECLARE_SOA_COLUMN(PsiPair, psiPair, float); //! Psi pair
1691+
DECLARE_SOA_COLUMN(DCAr, dcaR, float); //! DCA in radial direction
1692+
DECLARE_SOA_COLUMN(DCAz, dcaZ, float); //! DCA in z direction
1693+
DECLARE_SOA_COLUMN(Mass, mass, float); //! mass of the conversion. Do NOT use for cut!
1694+
} // namespace v0otf
17081695
} // namespace run2
17091696

17101697
DECLARE_SOA_TABLE(Run2BCInfos, "AOD", "RUN2BCINFO", run2::EventCuts, //! Legacy information for Run 2 event selection
@@ -1715,6 +1702,18 @@ DECLARE_SOA_TABLE(Run2BCInfos, "AOD", "RUN2BCINFO", run2::EventCuts, //! Legacy
17151702
run2::V0TriggerChargeA, run2::V0TriggerChargeC);
17161703
using Run2BCInfo = Run2BCInfos::iterator;
17171704

1705+
DECLARE_SOA_TABLE(Run2V0otfs, "AOD", "RUN2V0OTF", //! Run 2 V0 on the fly table
1706+
o2::soa::Index<>,
1707+
run2::v0otf::CollisionId, run2::v0otf::PosTrackId, run2::v0otf::NegTrackId,
1708+
run2::v0otf::Px, run2::v0otf::Py, run2::v0otf::Pz, run2::v0otf::E,
1709+
run2::v0otf::Qt, run2::v0otf::Alpha,
1710+
run2::v0otf::Cx, run2::v0otf::Cy, run2::v0otf::Cz,
1711+
run2::v0otf::Chi2NDF, run2::v0otf::PsiPair,
1712+
run2::v0otf::DCAr, run2::v0otf::DCAz,
1713+
run2::v0otf::Mass);
1714+
1715+
using Run2V0otf = Run2V0otfs::iterator;
1716+
17181717
// ---- MC tables ----
17191718
namespace mccollision
17201719
{

0 commit comments

Comments
 (0)