Skip to content

Commit fcd4dfe

Browse files
add the selection for the global track without DCA (#1014)
1 parent d75c4b7 commit fcd4dfe

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

PWGHF/TableProducer/HFTrackIndexSkimsCreator.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ struct HfTagSelTracks {
248248
// quality cut
249249
Configurable<bool> doCutQuality{"doCutQuality", true, "apply quality cuts"};
250250
Configurable<bool> useIsGlobalTrack{"useIsGlobalTrack", false, "check isGlobalTrack status for tracks, for Run3 studies"};
251+
Configurable<bool> useIsGlobalTrackWoDCA{"useIsGlobalTrackWoDCA", false, "check isGlobalTrackWoDCA status for tracks, for Run3 studies"};
251252
Configurable<int> tpcNClsFound{"tpcNClsFound", 70, ">= min. number of TPC clusters needed"};
252253
// pT bins for single-track cuts
253254
Configurable<std::vector<double>> pTBinsTrack{"pTBinsTrack", std::vector<double>{hf_cuts_single_track::pTBinsTrack_v}, "track pT bin limits for 2-prong DCAXY pT-depentend cut"};
@@ -698,6 +699,10 @@ struct HfTagSelTracks {
698699
if (track.isGlobalTrack() != (uint8_t) true) {
699700
hasGoodQuality = false;
700701
}
702+
} else if (useIsGlobalTrackWoDCA) {
703+
if (track.isGlobalTrackWoDCA() != (uint8_t) true) {
704+
hasGoodQuality = false;
705+
}
701706
} else {
702707
UChar_t clustermap = track.itsClusterMap();
703708
if (!(track.tpcNClsFound() >= tpcNClsFound.value && // is this the number of TPC clusters? It should not be used

0 commit comments

Comments
 (0)