Skip to content

Commit ae4e677

Browse files
committed
Adjusted axis of DCA findable histograms
1 parent e85ffea commit ae4e677

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

PWGLF/TableProducer/Strangeness/sigmaminustask.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ struct sigmaminustask {
179179
rFindable.add("h2PtDaugFilter_plus_pikink", "h2PtDaugFilter_plus_pikink", {HistType::kTH2F, {filtersAxis, ptUnsignedAxis}});
180180
rFindable.add("h2PtDaugFilter_minus_pikink", "h2PtDaugFilter_minus_pikink", {HistType::kTH2F, {filtersAxis, ptUnsignedAxis}});
181181

182-
rFindable.add("h2DCAMothPt_protonkink", "h2DCAMothPt_protonkink", {HistType::kTH2F, {ptAxis, dcaMothAxis}});
183-
rFindable.add("h2DCADaugPt_protonkink", "h2DCADaugPt_protonkink", {HistType::kTH2F, {ptAxis, dcaDaugAxis}});
184-
rFindable.add("h2DCAMothPt_pikink", "h2DCAMothPt_pikink", {HistType::kTH2F, {ptAxis, dcaMothAxis}});
185-
rFindable.add("h2DCADaugPt_pikink", "h2DCADaugPt_pikink", {HistType::kTH2F, {ptAxis, dcaDaugAxis}});
182+
rFindable.add("h2DCAMothPt_protonkink", "h2DCAMothPt_protonkink", {HistType::kTH2F, {ptUnsignedAxis, dcaMothAxis}});
183+
rFindable.add("h2DCADaugPt_protonkink", "h2DCADaugPt_protonkink", {HistType::kTH2F, {ptUnsignedAxis, dcaDaugAxis}});
184+
rFindable.add("h2DCAMothPt_pikink", "h2DCAMothPt_pikink", {HistType::kTH2F, {ptUnsignedAxis, dcaMothAxis}});
185+
rFindable.add("h2DCADaugPt_pikink", "h2DCADaugPt_pikink", {HistType::kTH2F, {ptUnsignedAxis, dcaDaugAxis}});
186186
}
187187
}
188188

@@ -617,11 +617,11 @@ struct sigmaminustask {
617617
float dcaXYMother = std::abs(dcaInfoMoth[0]);
618618
float dcaXYDaughter = std::abs(dcaInfoDaug[0]);
619619
if (isPiDaughter) {
620-
rFindable.fill(HIST("h2DCAMothPt_pikink"), sigmaSign * recPtMother, dcaXYMother);
621-
rFindable.fill(HIST("h2DCADaugPt_pikink"), sigmaSign * recPtDaughter, dcaXYDaughter);
620+
rFindable.fill(HIST("h2DCAMothPt_pikink"), recPtMother, dcaXYMother);
621+
rFindable.fill(HIST("h2DCADaugPt_pikink"), recPtMother, dcaXYDaughter);
622622
} else {
623-
rFindable.fill(HIST("h2DCAMothPt_protonkink"), sigmaSign * recPtMother, dcaXYMother);
624-
rFindable.fill(HIST("h2DCADaugPt_protonkink"), sigmaSign * recPtDaughter, dcaXYDaughter);
623+
rFindable.fill(HIST("h2DCAMothPt_protonkink"), recPtMother, dcaXYMother);
624+
rFindable.fill(HIST("h2DCADaugPt_protonkink"), recPtMother, dcaXYDaughter);
625625
}
626626

627627
// 6 - max Z difference

0 commit comments

Comments
 (0)