Skip to content

Commit ec77ac2

Browse files
adding ITS PID in the model
1 parent e49c109 commit ec77ac2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGLF/Tasks/Strangeness/k0_mixed_events.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ struct K0MixedEvents {
548548
registry.fill(HIST("rapidity_first"), track.pt(), track.rapidity(particle_mass(_particlePDG_1)));
549549

550550
if ((track.sign() == _sign_1) &&
551-
(track.p() < _PIDtrshld_1 ? o2::aod::singletrackselector::TPCselection(track, TPCcuts_1) : o2::aod::singletrackselector::TOFselection(track, TOFcuts_1))) { // filling the map: eventID <-> selected particles1
551+
(track.p() < _PIDtrshld_1 ? o2::aod::singletrackselector::TPCselection<false>(track, TPCcuts_1) : o2::aod::singletrackselector::TOFselection(track, TOFcuts_1))) { // filling the map: eventID <-> selected particles1
552552
selectedtracks_1[track.singleCollSelId()].push_back(std::make_shared<decltype(track)>(track));
553553

554554
registry.fill(HIST("p_first"), track.p());
@@ -580,7 +580,7 @@ struct K0MixedEvents {
580580
continue;
581581
} else if ((track.sign() == _sign_2) &&
582582
(_particlePDGtoReject != 0 || !o2::aod::singletrackselector::TOFselection(track, std::make_pair(_particlePDGtoReject, _rejectWithinNsigmaTOF))) &&
583-
(track.p() < _PIDtrshld_2 ? o2::aod::singletrackselector::TPCselection(track, TPCcuts_2) : o2::aod::singletrackselector::TOFselection(track, TOFcuts_2))) { // filling the map: eventID <-> selected particles2 if (see condition above ^)
583+
(track.p() < _PIDtrshld_2 ? o2::aod::singletrackselector::TPCselection<false>(track, TPCcuts_2) : o2::aod::singletrackselector::TOFselection(track, TOFcuts_2))) { // filling the map: eventID <-> selected particles2 if (see condition above ^)
584584
selectedtracks_2[track.singleCollSelId()].push_back(std::make_shared<decltype(track)>(track));
585585

586586
registry.fill(HIST("p_second"), track.p());
@@ -746,7 +746,7 @@ struct K0MixedEvents {
746746
registry.fill(HIST("rapidity_first"), track.pt(), track.rapidity(particle_mass(_particlePDG_1)));
747747

748748
if ((track.sign() == _sign_1) &&
749-
(track.p() < _PIDtrshld_1 ? o2::aod::singletrackselector::TPCselection(track, TPCcuts_1) : o2::aod::singletrackselector::TOFselection(track, TOFcuts_1))) { // filling the map: eventID <-> selected particles1
749+
(track.p() < _PIDtrshld_1 ? o2::aod::singletrackselector::TPCselection<false>(track, TPCcuts_1) : o2::aod::singletrackselector::TOFselection(track, TOFcuts_1))) { // filling the map: eventID <-> selected particles1
750750
selectedtracks_1[track.collisionId()].push_back(std::make_shared<decltype(track)>(track));
751751

752752
registry.fill(HIST("p_first"), track.p());
@@ -778,7 +778,7 @@ struct K0MixedEvents {
778778
continue;
779779
} else if ((track.sign() == _sign_2) &&
780780
(_particlePDGtoReject != 0 || !o2::aod::singletrackselector::TOFselection(track, std::make_pair(_particlePDGtoReject, _rejectWithinNsigmaTOF))) &&
781-
(track.p() < _PIDtrshld_2 ? o2::aod::singletrackselector::TPCselection(track, TPCcuts_2) : o2::aod::singletrackselector::TOFselection(track, TOFcuts_2))) { // filling the map: eventID <-> selected particles2 if (see condition above ^)
781+
(track.p() < _PIDtrshld_2 ? o2::aod::singletrackselector::TPCselection<false>(track, TPCcuts_2) : o2::aod::singletrackselector::TOFselection(track, TOFcuts_2))) { // filling the map: eventID <-> selected particles2 if (see condition above ^)
782782
selectedtracks_2[track.collisionId()].push_back(std::make_shared<decltype(track)>(track));
783783

784784
registry.fill(HIST("p_second"), track.p());

0 commit comments

Comments
 (0)