Uploaded image for project: 'VecGeom'
  1. VecGeom
  2. VECGEOM-477

Tube gives wrong results for DistanceToIn for some of the surface point

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2018/06
    • 2017/12
    • volumes
    • None
    • Linux, MacOS

    Description

      Tube gives wrong results for DistanceToIn for some of the surface point. Can be reproduced by running ShapeTester on attached ROOT file and specifying the logical volume name.

      This ROOT file contains geometry corresponding to RE01 example, the corresponding gdml file is also attached (where names of all the logical volumes can be found)

      ./shape_testFromROOTFile debugRE01Tube.root tracker_tube_0_Logical

      Mismatched output from shape tester are as follows :

      % TO2: DistanceToIn(p,v) == kInfLength Distance = 1.7976931348623157081e+308
      1 : [point] : [direction] :: (20.23954922921470256369503, -15.5116294114465631537314, -33.77386588289539304241771) : (0.3022265522012705929455478, 0.4002122345140216586045767, -0.8651527486460561799930247)
      % TO2: DistanceToIn(p,v) == kInfLength Distance = 1.797693134862315708145274e+308
      2 : [point] : [direction] :: (-14.36918254828628960240167, 21.06600562265259668492945, 44.28587952566283547639614) : (-0.6825743445390574093423197, -0.4824224546658212875449578, -0.5489634226533489647081865)
      % TO2: DistanceToIn(p,v) == kInfLength Distance = 1.797693134862315708145274e+308
      3 : [point] : [direction] :: (-5.917063990154005637123191, 24.80399874488700717733991, -22.49230544760507655155379) : (-0.1897552009926669891459738, -0.04756417176937107610390498, 0.9806786493342893873403909)
      % TO2: DistanceToIn(p,v) == kInfLength Distance = 1.797693134862315708145274e+308
      4 : [point] : [direction] :: (16.73312055698994527119794, -19.2419509516358075984499, -20.76871590801420097704977) : (-0.1483036694833496094148018, -0.1268884277113110636836524, 0.980767734242274369371728)
      % TO2: DistanceToIn(p,v) == kInfLength (any further such errors suppressed) Distance = 1.797693134862315708145274e+308
      5 : [point] : [direction] :: (21.51948980419350831994052, 12.7244472794392482484227, 42.70364995753544690160197) : (-0.006549930974024973338865063, 0.01199939850768205404363265, 0.999906552053585362394017)

      Attachments

        Activity

          People

            rasehgal Raman Sehgal (Inactive)
            rasehgal Raman Sehgal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: