- isnan should be changed to isFinite from FWCore/Utilities/interface/isFinite.h 
- does it have to be an assert? an occasional overflow doesn't seem impossible. Change to LogWarning or LogError (same to other asserts in this PR)