Skip to content

Commit 08b9257

Browse files
committed
Add Run3 track requirement for SSD tracks
1 parent 9ee3a63 commit 08b9257

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Common/TableProducer/trackselection.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,13 @@ struct TrackSelectionTask {
7676
globalTracks.SetPtRange(ptMin, ptMax);
7777
globalTracks.SetEtaRange(etaMin, etaMax);
7878

79+
// Extra requirement on the ITS -> Run 2: asking for 1 hit SDD and no hit in SPD
7980
globalTracksSDD = getGlobalTrackSelectionSDD();
8081
globalTracksSDD.SetPtRange(ptMin, ptMax);
8182
globalTracksSDD.SetEtaRange(etaMin, etaMax);
83+
if (itsMatching > 0) {
84+
globalTracksSDD.SetTrackType(o2::aod::track::TrackTypeEnum::Track); // Requiring that this is a Run 3 track
85+
}
8286
}
8387

8488
void process(soa::Join<aod::FullTracks, aod::TracksDCA> const& tracks)

0 commit comments

Comments
 (0)