Skip to content

Commit 799b1f0

Browse files
committed
Add hypertriton kink analysis into task
1 parent 2dba948 commit 799b1f0

File tree

4 files changed

+534
-415
lines changed

4 files changed

+534
-415
lines changed

PWGLF/DataModel/LFHyperNucleiKinkTables.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace o2::aod
2424

2525
namespace hyperkink
2626
{
27+
DECLARE_SOA_COLUMN(MagPolarity, magPolarity, int8_t); //! Magnetic field polarity
2728
DECLARE_SOA_COLUMN(XPV, xPV, float); //! Primary vertex of the candidate (x direction)
2829
DECLARE_SOA_COLUMN(YPV, yPV, float); //! Primary vertex of the candidate (y direction)
2930
DECLARE_SOA_COLUMN(ZPV, zPV, float); //! Primary vertex of the candidate (z direction)
@@ -82,6 +83,7 @@ DECLARE_SOA_COLUMN(UpdatePzMothPV, updatePzMothPV, float); //! updated pz o
8283

8384
DECLARE_SOA_TABLE(HypKinkCand, "AOD", "HYPKINKCANDS",
8485
o2::soa::Index<>,
86+
hyperkink::MagPolarity,
8587
hyperkink::XPV, hyperkink::YPV, hyperkink::ZPV,
8688
hyperkink::XSV, hyperkink::YSV, hyperkink::ZSV,
8789
hyperkink::IsMatter,
@@ -96,6 +98,7 @@ DECLARE_SOA_TABLE(HypKinkCand, "AOD", "HYPKINKCANDS",
9698

9799
DECLARE_SOA_TABLE(MCHypKinkCand, "AOD", "MCHYPKINKCANDS",
98100
o2::soa::Index<>,
101+
hyperkink::MagPolarity,
99102
hyperkink::XPV, hyperkink::YPV, hyperkink::ZPV,
100103
hyperkink::XSV, hyperkink::YSV, hyperkink::ZSV,
101104
hyperkink::IsMatter,

PWGLF/TableProducer/Common/kinkBuilder.cxx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ struct kinkCandidate {
9191
struct kinkBuilder {
9292

9393
enum PartType { kSigmaMinus = 0,
94+
kHypertriton,
9495
kHyperhelium4sigma };
9596

9697
Produces<aod::KinkCands> outputDataTable;
@@ -161,6 +162,11 @@ struct kinkBuilder {
161162
mothMass = o2::constants::physics::MassSigmaMinus;
162163
chargedDauMass = o2::constants::physics::MassPiMinus;
163164
neutDauMass = o2::constants::physics::MassNeutron;
165+
} else if (hypoMoth == kHypertriton) {
166+
charge = 1;
167+
mothMass = o2::constants::physics::MassHyperTriton;
168+
chargedDauMass = o2::constants::physics::MassTriton;
169+
neutDauMass = o2::constants::physics::MassPi0;
164170
} else if (hypoMoth == kHyperhelium4sigma) {
165171
charge = 2;
166172
mothMass = o2::constants::physics::MassHyperHelium4;
@@ -199,6 +205,8 @@ struct kinkBuilder {
199205
AxisSpec massAxis(100, 1.1, 1.4, "m (GeV/#it{c}^{2})");
200206
if (hypoMoth == kSigmaMinus) {
201207
massAxis = AxisSpec{100, 1.1, 1.4, "m (GeV/#it{c}^{2})"};
208+
} else if (hypoMoth == kHypertriton) {
209+
massAxis = AxisSpec{100, 2.94, 3.2, "m (GeV/#it{c}^{2})"};
202210
} else if (hypoMoth == kHyperhelium4sigma) {
203211
massAxis = AxisSpec{100, 3.85, 4.25, "m (GeV/#it{c}^{2})"};
204212
}

PWGLF/TableProducer/Nuspex/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ o2physics_add_dpl_workflow(nuclei-flow-trees
9494
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase O2Physics::EventFilteringUtils
9595
COMPONENT_NAME Analysis)
9696

97-
o2physics_add_dpl_workflow(hyperhelium4sigma-reco-task
98-
SOURCES hyperhelium4sigmaRecoTask.cxx
97+
o2physics_add_dpl_workflow(hyperkink-reco-task
98+
SOURCES hyperkinkRecoTask.cxx
9999
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
100100
COMPONENT_NAME Analysis)
101101

0 commit comments

Comments
 (0)