Commit ab5daf7a authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'master-trigindet-seeding-fpe-fix' into 'master'

fix for DIVBYZERO FPE in track seeding ATR-23456

See merge request !44533
parents b98caf10 688f54c9
......@@ -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