MantisBT - Hall D Offline
View Issue Details
0000120Hall D OfflineGeneralpublic2011-08-06 09:192012-04-18 14:28
pmatt 
pmatt 
normalminorhave not tried
resolvedfixed 
0000120: Need to add checks for DReferenceTrajectory::DistToRT returning quiet_NaN
Some of the DReferenceTrajectory::DistToRT functions can intentionally return quiet_NaN. However in many of the places where these functions are called in the code, there aren't any checks on whether this is the case. This function swims along the track trajectory, so subsequent calls to functions such as DReferenceTrajectory::GetLastDOCAPoint may cause unexpected results when quiet_NaN is returned.
The locations of these DReferenceTrajectory::DistToRT calls include (at least): DReferenceTrajectory, DTrackFitterALT1, DTrackHitSelectorALT1, and DTrackHitSelectorALT2.
No tags attached.
Issue History
2011-08-06 09:19pmattNew Issue
2012-01-13 17:52pmattNote Added: 0000239
2012-04-18 14:27pmattStatusnew => assigned
2012-04-18 14:27pmattAssigned To => pmatt
2012-04-18 14:28pmattStatusassigned => resolved
2012-04-18 14:28pmattResolutionopen => fixed

Notes
(0000239)
pmatt   
2012-01-13 17:52   
Fixed in most areas, primary need is now in the DTrackFitterALT1.cc file.