Skip to content

Commit 17cb0b2

Browse files
author
Lucia Anna Tarasovicova
committed
adding V0 to the simultions
1 parent 4f11e57 commit 17cb0b2

File tree

4 files changed

+469
-4
lines changed

4 files changed

+469
-4
lines changed

ALICE3/DataModel/OTFStrangeness.h

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,37 @@ DECLARE_SOA_TABLE(UpgradeCascades, "AOD", "UPGRADECASCADES",
6565

6666
using UpgradeCascade = UpgradeCascades::iterator;
6767

68+
namespace otfv0
69+
{
70+
DECLARE_SOA_INDEX_COLUMN(Collision, collision); //!
71+
DECLARE_SOA_INDEX_COLUMN_FULL(PosTrack, posTrack, int, Tracks, "_Pos"); //!
72+
DECLARE_SOA_INDEX_COLUMN_FULL(NegTrack, negTrack, int, Tracks, "_Neg"); //!
73+
DECLARE_SOA_INDEX_COLUMN(V0, v0); //!
74+
75+
// topo vars
76+
DECLARE_SOA_COLUMN(DCAV0Daughters, dcaV0Daughters, float);
77+
DECLARE_SOA_COLUMN(V0Radius, v0Radius, float);
78+
DECLARE_SOA_COLUMN(MLambda, mLambda, float);
79+
DECLARE_SOA_COLUMN(MAntiLambda, mAntiLambda, float);
80+
DECLARE_SOA_COLUMN(MK0, mK0, float);
81+
82+
// kinematics
83+
DECLARE_SOA_COLUMN(Pt, pt, float);
84+
85+
} // namespace otfv0
86+
DECLARE_SOA_TABLE(UpgradeV0s, "AOD", "UPGRADEV0S",
87+
o2::soa::Index<>,
88+
otfv0::CollisionId,
89+
otfv0::PosTrackId,
90+
otfv0::NegTrackId,
91+
otfv0::DCAV0Daughters,
92+
otfv0::V0Radius,
93+
otfv0::MLambda,
94+
otfv0::MAntiLambda,
95+
otfv0::MK0,
96+
otfv0::Pt);
97+
98+
using UpgradeV0 = UpgradeV0s::iterator;
6899
} // namespace o2::aod
69100

70101
#endif // ALICE3_DATAMODEL_OTFSTRANGENESS_H_

0 commit comments

Comments
 (0)