File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Detectors/GlobalTrackingWorkflow/src Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1515#include < TStopwatch.h>
1616#include " DataFormatsGlobalTracking/RecoContainer.h"
1717#include " DataFormatsGlobalTracking/RecoContainerCreateTracksVariadic.h"
18+ #include " DataFormatsITSMFT/TrkClusRef.h"
1819#include " DataFormatsCalibration/MeanVertexObject.h"
1920#include " ReconstructionDataFormats/TrackTPCITS.h"
2021#include " ReconstructionDataFormats/GlobalTrackID.h"
@@ -113,7 +114,8 @@ void PrimaryVertexingSpec::run(ProcessingContext& pc)
113114 return true ; // just in case this selection was not done on RecoContainer filling level
114115 }
115116 auto itsID = recoData.getITSContributorGID (_origID);
116- if (!itsID.isSourceSet () || o2::math_utils::numberOfBitsSet (recoData.getITSTrack (itsID).getPattern () & 7 ) < minIBHits) {
117+ if ((itsID.getSource () == GTrackID::ITS && o2::math_utils::numberOfBitsSet (recoData.getITSTrack (itsID).getPattern () & 7 ) < minIBHits) ||
118+ (itsID.getSource () == GTrackID::ITSAB && o2::math_utils::numberOfBitsSet (recoData.getITSABRef (itsID).pattern & 7 ) < minIBHits)) { // do not accept ITSAB tracklets
117119 return true ;
118120 }
119121 if constexpr (isITSTrack<decltype (_tr)>()) {
You can’t perform that action at this time.
0 commit comments