Commit 688f54c9 authored by Dmitry Emeliyanov's avatar Dmitry Emeliyanov
Browse files

fix for DIVBYZERO FPE in track seeding ATR-23456

parent 75e4d95c
......@@ -438,7 +438,7 @@ bool TrigTrackSeedGenerator::validateLayerPairNew(int layerI, int layerJ, float
else {//endcap
float maxB =m_settings.m_layerGeometry[layerJ].m_maxBound;
float minB =m_settings.m_layerGeometry[layerJ].m_minBound;
if(maxB<rm) return false;// This currently rejects SP type doublets
if(maxB<=rm) return false;// This currently rejects SP type doublets
// Could correct this by retrieving if layers are pix or SCT, and not performing this check for SCt->pix doublets
if(refCoordJ>0) {//positive EC
//float zMax = (zm*maxB-rm*refCoordJ)/(maxB-rm);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment