Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-5373

Bugs in TEveTrackPropagator::LineIntersectPlane

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.34/00
    • Fix Version/s: None
    • Component/s: Core Libraries
    • Labels:
      None
    • Environment:

      Apple MacBook Pro 15'', operating system: OSX Mountain Lion (10.8.4), compiler: gcc 4.8

      Description

      In TEveTrackPropagator class, the LineIntersectPlane function has two bugs and so calculates wrong intersection points:

      • at line 908 of TEveTrackPropagator.cxx, it would be 'delta = point - pos' (and not the 'delta = pos - point', unless you change later a sign at 910 line at d assignment);
      • at line 916 of TEveTrackPropagator.cxx, it would be 't = d / (p.Dot(normal))', that is 'time = distance / velocity' (and not 't = (p.Dot(normal)) / d').

        Attachments

          Activity

            People

            • Assignee:
              matevz Matevz Tadel
              Reporter:
              apiucci Alessio Piucci
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: