diff --git a/PWGHF/TableProducer/HFTrackIndexSkimsCreator.cxx b/PWGHF/TableProducer/HFTrackIndexSkimsCreator.cxx index 632ecab78dc..4761630a68f 100644 --- a/PWGHF/TableProducer/HFTrackIndexSkimsCreator.cxx +++ b/PWGHF/TableProducer/HFTrackIndexSkimsCreator.cxx @@ -248,6 +248,7 @@ struct HfTagSelTracks { // quality cut Configurable doCutQuality{"doCutQuality", true, "apply quality cuts"}; Configurable useIsGlobalTrack{"useIsGlobalTrack", false, "check isGlobalTrack status for tracks, for Run3 studies"}; + Configurable useIsGlobalTrackWoDCA{"useIsGlobalTrackWoDCA", false, "check isGlobalTrackWoDCA status for tracks, for Run3 studies"}; Configurable tpcNClsFound{"tpcNClsFound", 70, ">= min. number of TPC clusters needed"}; // pT bins for single-track cuts Configurable> pTBinsTrack{"pTBinsTrack", std::vector{hf_cuts_single_track::pTBinsTrack_v}, "track pT bin limits for 2-prong DCAXY pT-depentend cut"}; @@ -698,6 +699,10 @@ struct HfTagSelTracks { if (track.isGlobalTrack() != (uint8_t) true) { hasGoodQuality = false; } + } else if (useIsGlobalTrackWoDCA) { + if (track.isGlobalTrackWoDCA() != (uint8_t) true) { + hasGoodQuality = false; + } } else { UChar_t clustermap = track.itsClusterMap(); if (!(track.tpcNClsFound() >= tpcNClsFound.value && // is this the number of TPC clusters? It should not be used