Skip to content

Commit 37d84fb

Browse files
committed
Rename with Run3
1 parent 08b9257 commit 37d84fb

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Common/Core/TrackSelectionDefaults.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ TrackSelection getGlobalTrackSelectionRun3ITSMatch(int matching)
5959
selectedTracks.SetRequireHitsInITSLayers(7, {0, 1, 2, 3, 4, 5, 6});
6060
break;
6161
default:
62-
LOG(fatal) << "getGlobalTrackSelectionITSMatch with undefined ITS matching";
62+
LOG(fatal) << "getGlobalTrackSelectionRun3ITSMatch with undefined ITS matching";
6363
break;
6464
}
6565
return selectedTracks;

Common/TableProducer/trackselection.cxx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,20 @@ struct TrackSelectionTask {
5656
break;
5757
case 1:
5858
// Run 3 kAny on 3 IB layers of ITS
59-
globalTracks = getGlobalTrackSelectionITSMatch(TrackSelection::GlobalTrackRun3ITSMatching::Run3ITSibAny);
59+
globalTracks = getGlobalTrackSelectionRun3ITSMatch(TrackSelection::GlobalTrackRun3ITSMatching::Run3ITSibAny);
6060
break;
6161
case 2:
6262
// Run 3 kAny on all 7 layers of ITS
63-
globalTracks = getGlobalTrackSelectionITSMatch(TrackSelection::GlobalTrackRun3ITSMatching::Run3ITSallAny);
63+
globalTracks = getGlobalTrackSelectionRun3ITSMatch(TrackSelection::GlobalTrackRun3ITSMatching::Run3ITSallAny);
6464
break;
6565
case 3:
6666
// Run 3 kAll on all 7 layers of ITS
67-
globalTracks = getGlobalTrackSelectionITSMatch(TrackSelection::GlobalTrackRun3ITSMatching::Run3ITSall7Layers);
67+
globalTracks = getGlobalTrackSelectionRun3ITSMatch(TrackSelection::GlobalTrackRun3ITSMatching::Run3ITSall7Layers);
6868
break;
6969
default:
7070
LOG(fatal) << "TrackSelectionTask with undefined cuts. Fix it!";
7171
break;
7272
}
73-
if (!globalTracks) {
74-
LOG(fatal) << "TrackSelectionTask undefined";
75-
}
7673
globalTracks.SetPtRange(ptMin, ptMax);
7774
globalTracks.SetEtaRange(etaMin, etaMax);
7875

0 commit comments

Comments
 (0)