Skip to content

Commit

Permalink
Discard afterburner tracks (AliceO2Group#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 <ruben.shahoyan@cern.ch>
  • Loading branch information
2 people authored and mwinn2 committed Apr 25, 2024
1 parent 3a5ea64 commit e83242d
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 e83242d

Please sign in to comment.