File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
RecoTracker/FinalTrackSelectors/plugins Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,17 @@ namespace {
286286 const auto ev = iEvent.id ().event ();
287287 const auto aOriAlgo = a->originalAlgo ();
288288 const auto bOriAlgo = b->originalAlgo ();
289+ const auto aSeedRef = a->seedRef ();
290+ if (!aSeedRef) {
291+ LogDebug (" DuplicateTrackMerger" ) << " aSeedRef is null!" ;
292+ return false ;
293+ }
289294 const auto aSeed = a->seedRef ().key ();
295+ const auto bSeedRef = b->seedRef ();
296+ if (!bSeedRef) {
297+ LogDebug (" DuplicateTrackMerger" ) << " bSeedRef is null!" ;
298+ return false ;
299+ }
290300 const auto bSeed = b->seedRef ().key ();
291301 return ((ev == 6903 && ((aOriAlgo == 23 && aSeed == 695 && bOriAlgo == 5 && bSeed == 652 ) ||
292302 (aOriAlgo == 23 && aSeed == 400 && bOriAlgo == 7 && bSeed == 156 ) ||
You can’t perform that action at this time.
0 commit comments