======= PCon test ======== PCone created ! Variety is G4BREPSolidPolycone Its parameters are: Z[0]= -20 Rmin[0]= 30 Rmax[0]= 70 Z[1]= -10 Rmin[1]= 30 Rmax[1]= 70 Z[2]= -10 Rmin[2]= 0 Rmax[2]= 70 Z[3]= 0 Rmin[3]= 0 Rmax[3]= 40 Z[4]= 10 Rmin[4]= 0 Rmax[4]= 40 Z[5]= 20 Rmin[5]= 0 Rmax[5]= 80 Z[6]= 30 Rmin[6]= 40 Rmax[6]= 80 Z[7]= 40 Rmin[7]= 40 Rmax[7]= 60 start angle =0 opening angle =6.28319 zstart =-20 ================================================== x=0 y=-100 z=24 is outside x=0 y=-90 z=24 is outside x=0 y=-80 z=24 is on the surface x=0 y=-70 z=24 is inside x=0 y=-60 z=24 is inside x=0 y=-50 z=24 is inside x=0 y=-40 z=24 is inside x=0 y=-30 z=24 is inside x=0 y=-20 z=24 is inside x=0 y=-10 z=24 is outside x=0 y=0 z=24 is outside x=0 y=10 z=24 is outside x=0 y=20 z=24 is inside x=0 y=30 z=24 is inside x=0 y=40 z=24 is inside x=0 y=50 z=24 is inside x=0 y=60 z=24 is inside x=0 y=70 z=24 is inside x=0 y=80 z=24 is on the surface x=0 y=90 z=24 is outside x=0 y=100 z=24 is outside ================================================== Pdep is (0, 0, z) Dir is (1, 1, 0) x=0 y=0 z=-30 is outside distance to in=9e+99 closest distance to in=10 x=0 y=0 z=-25 is outside distance to in=9e+99 closest distance to in=5 x=0 y=0 z=-20 is outside distance to in=30 closest distance to in=0 x=0 y=0 z=-15 is outside distance to in=30 closest distance to in=5 x=0 y=0 z=-10 is on the surface x=0 y=0 z=-5 is inside distance to out=55 closest distance to out=5 x=0 y=0 z=0 is inside distance to out=40 closest distance to out=10 x=0 y=0 z=5 is inside distance to out=40 closest distance to out=15 x=0 y=0 z=10 is inside distance to out=40 closest distance to out=10 x=0 y=0 z=15 is inside distance to out=60 closest distance to out=5 x=0 y=0 z=20 is on the surface x=0 y=0 z=25 is outside distance to in=20 closest distance to in=4.85071 x=0 y=0 z=30 is outside distance to in=40 closest distance to in=9.70143 x=0 y=0 z=35 is outside distance to in=40 closest distance to in=5 x=0 y=0 z=40 is outside distance to in=40 closest distance to in=0 x=0 y=0 z=45 is outside distance to in=9e+99 closest distance to in=5 x=0 y=0 z=50 is outside distance to in=9e+99 closest distance to in=10 ================================================== Pdep is (0, -100, z) Dir is (0, 1, 0) z=-30 distance to in=9e+99 closest distance to in=10 z=-25 distance to in=9e+99 closest distance to in=5 z=-20 distance to in=30 closest distance to in=0 z=-15 distance to in=30 closest distance to in=5 z=-10 distance to in=30 closest distance to in=0 z=-5 distance to in=45 closest distance to in=5 z=0 distance to in=60 closest distance to in=10 z=5 distance to in=60 closest distance to in=15 z=10 distance to in=60 closest distance to in=20 z=15 distance to in=40 closest distance to in=20.6155 z=20 distance to in=20 closest distance to in=20 z=25 distance to in=20 closest distance to in=15 z=30 distance to in=20 closest distance to in=10 z=35 distance to in=30 closest distance to in=5 z=40 distance to in=40 closest distance to in=0 z=45 distance to in=9e+99 closest distance to in=5 z=50 distance to in=9e+99 closest distance to in=10 ================================================== Pdep is (0, y, -50) Dir is (0, 0, 1) y=0 distance to in=40 y=5 distance to in=40 y=10 distance to in=40 y=15 distance to in=40 y=20 distance to in=40 y=25 distance to in=40 y=30 distance to in=30 y=35 distance to in=30 y=40 distance to in=30 y=45 distance to in=30 y=50 distance to in=30 y=55 distance to in=30 y=60 distance to in=30 y=65 distance to in=30 y=70 distance to in=40 y=75 distance to in=68.75 y=80 distance to in=70 y=85 distance to in=9e+99 y=90 distance to in=9e+99 CMS case of BREPPolyconeTOBSolid -------------------------------- estimation to in =0 estimation to out =0 direction x=-0.32132 y=0.1116 z=0.940372 position x=904.058 y=-761.448 z=-382.294 is on the surface Test of In & Out BREPPolyconeTOBSolid -------------------------------------- Distance to in=0 Closest distance to in=0 Distance to out=1693.26 Closest distance to out=0 Surface normal -------------- position x=904.058 y=-761.448 z=-382.294 is normX=0.764855 normY=-0.644203 normZ=0 surface of BREPPolyconeTOBSolid -------------------------------- estimation to in =0 estimation to out =0 direction x=-0.32132 y=0.1116 z=0.940372 position x=541 y=0 z=1210 is on the surface Test of In & Out BREPPolyconeTOBSolid -------------------------------------- Distance to in=9e+99 Closest distance to in=0 Distance to out=0 Closest distance to out=0 Surface normal -------------- position x=541 y=0 z=1210 is normX=0 normY=0 normZ=1 edge of BREPPolyconeTOBSolid -------------------------------- estimation to in =0 estimation to out =0 direction x=-0.32132 y=0.1116 z=0.940372 position x=540 y=540 z=-1210 is on the surface Test of In & Out BREPPolyconeTOBSolid -------------------------------------- Distance to in=0 Closest distance to in=0 Distance to out=2573.45 Closest distance to out=0 Surface normal -------------- position x=540 y=540 z=-1210 is normX=-0 normY=-0 normZ=-1 inside of BREPPolyconeTOBSolid -------------------------------- estimation to in =0 estimation to out =0 direction x=-0.32132 y=0.1116 z=0.940372 position x=540 y=540 z=-1209 is inside distance to out=2572.39 closest distance to out=1 inside of s1 -------------------------------- estimation to in =0 estimation to out =0 direction x=0 y=0 z=1 position x=150 y=0 z=0 is inside distance to out=100 closest distance to out=50 outside of s1 -------------------------------- estimation to in =0 estimation to out =0 direction x=1 y=0 z=0 position x=0 y=0 z=0 is outside distance to in=25 closest distance to in=25 edge of s1 -------------------------------- estimation to in =0 estimation to out =400 direction x=0 y=0 z=1 position x=50 y=0 z=-200 is on the surface Test of In & Out s1 -------------------------------------- Distance to in=0 Closest distance to in=0 Distance to out=100 Closest distance to out=0 Surface normal -------------- position x=50 y=0 z=-200 is normX=-1 normY=-0 normZ=-0 outer surface of s1 -------------------------------- estimation to in =0 estimation to out =100 direction x=-1 y=0 z=0 position x=200 y=0 z=0 is on the surface Test of In & Out s1 -------------------------------------- Distance to in=0 Closest distance to in=0 Distance to out=175 Closest distance to out=0 Surface normal -------------- position x=200 y=0 z=0 is normX=1 normY=0 normZ=0 inner surface of s1 -------------------------------- estimation to in =0 estimation to out =175 direction x=0 y=1 z=0 position x=0 y=25 z=0 is on the surface Test of In & Out s1 -------------------------------------- Distance to in=0 Closest distance to in=0 Distance to out=175 Closest distance to out=0 Surface normal -------------- position x=0 y=25 z=0 is normX=-0 normY=-1 normZ=-0 left outer planar surface of s1 -------------------------------- estimation to in =0 estimation to out =200 direction x=0 y=0 z=1 position x=150 y=0 z=-100 is on the surface Test of In & Out s1 -------------------------------------- Distance to in=0 Closest distance to in=0 Distance to out=200 Closest distance to out=0 Surface normal -------------- position x=150 y=0 z=-100 is normX=-0 normY=-0 normZ=-1 left outer planar surface inv of s1 -------------------------------- estimation to in =9e+99 estimation to out =0 direction x=0 y=0 z=-1 position x=150 y=0 z=-100 is on the surface Test of In & Out s1 -------------------------------------- Distance to in=9e+99 Closest distance to in=0 Distance to out=0 Closest distance to out=0 Surface normal -------------- position x=150 y=0 z=-100 is normX=-0 normY=-0 normZ=-1 fictious left planar surface of s1 -------------------------------- estimation to in =9e+99 estimation to out =25 direction x=0 y=0 z=1 position x=0 y=0 z=-100 is outside distance to in=9e+99 closest distance to in=0 fictious left planar surface inv of s1 -------------------------------- estimation to in =9e+99 estimation to out =25 direction x=0 y=0 z=-1 position x=0 y=0 z=-100 is outside distance to in=9e+99 closest distance to in=0 left inner planar surface of s1 -------------------------------- estimation to in =0 estimation to out =200 direction x=0 y=0 z=1 position x=30 y=0 z=-100 is on the surface Test of In & Out s1 -------------------------------------- Distance to in=0 Closest distance to in=0 Distance to out=200 Closest distance to out=0 Surface normal -------------- position x=30 y=0 z=-100 is normX=-0 normY=-0 normZ=-1 left inner planar surface inv of s1 -------------------------------- estimation to in =9e+99 estimation to out =0 direction x=0 y=0 z=-1 position x=30 y=0 z=-100 is on the surface Test of In & Out s1 -------------------------------------- Distance to in=9e+99 Closest distance to in=0 Distance to out=0 Closest distance to out=0 Surface normal -------------- position x=30 y=0 z=-100 is normX=-0 normY=-0 normZ=-1 right planar surface of s1 -------------------------------- estimation to in =0 estimation to out =200 direction x=0 y=0 z=-1 position x=150 y=0 z=100 is on the surface Test of In & Out s1 -------------------------------------- Distance to in=0 Closest distance to in=0 Distance to out=200 Closest distance to out=0 Surface normal -------------- position x=150 y=0 z=100 is normX=0 normY=0 normZ=1 right planar surface inv of s1 -------------------------------- estimation to in =0 estimation to out =0 direction x=0 y=0 z=1 position x=150 y=0 z=100 is on the surface Test of In & Out s1 -------------------------------------- Distance to in=9e+99 Closest distance to in=0 Distance to out=0 Closest distance to out=0 Surface normal -------------- position x=150 y=0 z=100 is normX=0 normY=0 normZ=1