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

Bugs in TEveTrackPropagator::LineIntersectPlane

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • 5.34/00
    • None
    • Core Libraries
    • None
    • 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

            matevz Matevz Tadel
            apiucci Alessio Piucci (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: