Skip to content

Commit 963093b

Browse files
committed
PWGLF antitriton shadowing fix
1 parent 53d0a1a commit 963093b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGLF/Tasks/Nuspex/antitritonAnalysis.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@ struct AntitritonAnalysis {
225225
template <typename TrackType>
226226
void fillHistSet(HistSet& h, const TrackType& track, int pdg)
227227
{
228-
const auto y = static_cast<float>(RecoDecay::y(std::array{track.px(), track.py(), track.pz()}, particleMass));
228+
const auto rapidity = static_cast<float>(RecoDecay::y(std::array{track.px(), track.py(), track.pz()}, particleMass));
229229
h.eta->Fill(track.eta());
230-
h.etaToY->Fill(track.eta(), y);
231-
h.y->Fill(y);
230+
h.etaToY->Fill(track.eta(), rapidity);
231+
h.y->Fill(rapidity);
232232
h.phi->Fill(track.phi());
233233
h.p->Fill(track.p());
234234
h.pt->Fill(track.pt());

0 commit comments

Comments
 (0)