Skip to content

Commit 514d010

Browse files
committed
[xic0omegac0] First commit. Added v0, cascade, charm bachelor id to the output tree
1 parent f8dc7c4 commit 514d010

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

PWGHF/TableProducer/treeCreatorToXiPi.cxx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ namespace o2::aod
4242
{
4343
namespace full
4444
{
45+
// Ids
46+
DECLARE_SOA_INDEX_COLUMN(V0, v0);
47+
DECLARE_SOA_INDEX_COLUMN(Cascade, cascade);
48+
DECLARE_SOA_INDEX_COLUMN_FULL(BachelorFromCharmBaryon, bachelorFromCharmBaryon, int, Tracks, "_bachelorfromcharmbaryon");
4549
// collision info
4650
DECLARE_SOA_COLUMN(IsEventSel8, isEventSel8, bool);
4751
DECLARE_SOA_COLUMN(IsEventSelZ, isEventSelZ, bool);
@@ -165,6 +169,7 @@ DECLARE_SOA_TABLE(HfToXiPiEvs, "AOD", "HFTOXIPIEV",
165169
full::IsEventSel8, full::IsEventSelZ);
166170

167171
DECLARE_SOA_TABLE(HfToXiPiFulls, "AOD", "HFTOXIPIFULL",
172+
full::V0Id, full::CascadeId, full::BachelorFromCharmBaryonId,
168173
full::XPv, full::YPv, full::ZPv, full::Centrality, collision::NumContrib, collision::Chi2,
169174
full::XDecayVtxCharmBaryon, full::YDecayVtxCharmBaryon, full::ZDecayVtxCharmBaryon,
170175
full::XDecayVtxCascade, full::YDecayVtxCascade, full::ZDecayVtxCascade,
@@ -270,6 +275,9 @@ struct HfTreeCreatorToXiPi {
270275
}
271276

272277
rowCandidateFull(
278+
candidate.v0Id(),
279+
candidate.cascadeId(),
280+
candidate.bachelorFromCharmBaryonId(),
273281
candidate.xPv(),
274282
candidate.yPv(),
275283
candidate.zPv(),

PWGHF/TableProducer/treeCreatorToXiPiQa.cxx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ namespace o2::aod
5555
{
5656
namespace full
5757
{
58+
// ids
59+
DECLARE_SOA_INDEX_COLUMN(V0, v0);
60+
DECLARE_SOA_INDEX_COLUMN(Cascade, cascade);
61+
DECLARE_SOA_INDEX_COLUMN_FULL(BachelorFromCharmBaryon, bachelorFromCharmBaryon, int, Tracks, "_bachelorfromcharmbaryon");
5862
// collision info
5963
DECLARE_SOA_COLUMN(IsEventSel8, isEventSel8, bool);
6064
DECLARE_SOA_COLUMN(IsEventSelZ, isEventSelZ, bool);
@@ -218,6 +222,7 @@ DECLARE_SOA_TABLE(HfToXiPiEvs, "AOD", "HFTOXIPIEV",
218222
full::IsEventSel8, full::IsEventSelZ);
219223

220224
DECLARE_SOA_TABLE(HfToXiPiFulls, "AOD", "HFTOXIPIFULL",
225+
full::V0Id, full::CascadeId, full::BachelorFromCharmBaryonId,
221226
full::XPv, full::YPv, full::ZPv, full::Centrality, collision::NumContrib, collision::Chi2,
222227
full::XDecayVtxCharmBaryon, full::YDecayVtxCharmBaryon, full::ZDecayVtxCharmBaryon,
223228
full::XDecayVtxCascade, full::YDecayVtxCascade, full::ZDecayVtxCascade,
@@ -428,7 +433,10 @@ struct HfTreeCreatorToXiPiQa {
428433
originMc,
429434
collisionMatched);
430435
} else {
431-
rowCandidateFull(candidate.xPv(),
436+
rowCandidateFull(candidate.v0Id(),
437+
candidate.cascadeId(),
438+
candidate.bachelorFromCharmBaryonId(),
439+
candidate.xPv(),
432440
candidate.yPv(),
433441
candidate.zPv(),
434442
centrality,

0 commit comments

Comments
 (0)