Skip to content

Commit

Permalink
Discard afterburner tracks (#12792)
Browse files Browse the repository at this point in the history
* Discard afterburner tracks

* Move ITSAB check before mMapLabels validation

---------

Co-authored-by: shahoian <[email protected]>
  • Loading branch information
shahor02 and shahor02 authored Mar 1, 2024
1 parent b6c1a14 commit c435d77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Detectors/GlobalTracking/src/MatchITSTPCQC.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,9 @@ void MatchITSTPCQC::run(o2::framework::ProcessingContext& ctx)
for (int itrk = 0; itrk < static_cast<int>(mITSTPCTracks.size()); ++itrk) {
auto const& trk = mITSTPCTracks[itrk];
auto idxTrkTpc = trk.getRefTPC().getIndex();
if (trk.getRefITS().getSource() != GID::ITS) {
continue;
}
if (isTPCTrackSelectedEntry[idxTrkTpc] == true) {
auto lbl = mRecoCont.getTrackMCLabel({(unsigned int)(itrk), GID::Source::ITSTPC});
if (!lbl.isValid()) {
Expand Down

0 comments on commit c435d77

Please sign in to comment.