fix SetDetNumberForGenericDetector

Things like sceptar should fill normally if it is added after GRIFFIN
Merge pull request #50 from evan012345/master

fix SetDetNumberForGenericDetector