Skip to content

Commit 9e63844

Browse files
author
Prottay Das
committed
removed iteratorAt function
1 parent 97c3568 commit 9e63844

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGCF/TableProducer/filter2Prong.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ struct Filter2Prong {
811811
}
812812

813813
for (const auto& cftrack1 : tracks1) {
814-
const auto& p1 = tracksP.iteratorAt(cftrack1.trackId() - tracksP.begin().globalIndex());
814+
const auto& p1 = cftrack1.track_as<Filter2Prong::PIDTrack>();
815815

816816
if (p1.sign() != 1) {
817817
continue;
@@ -830,7 +830,7 @@ struct Filter2Prong {
830830
}
831831

832832
for (const auto& cftrack2 : tracks2) {
833-
const auto& p2 = tracksP.iteratorAt(cftrack2.trackId() - tracksP.begin().globalIndex());
833+
const auto& p2 = cftrack2.track_as<Filter2Prong::PIDTrack>();
834834

835835
if (p2.sign() != -1) {
836836
continue;

0 commit comments

Comments
 (0)