From 74a4078b1ab9721927d92402f6d95bb6a0573d9b Mon Sep 17 00:00:00 2001 From: Frank Gaede <frank.gaede@desy.de> Date: Thu, 23 Jul 2015 08:22:32 +0000 Subject: [PATCH] removed surface test w/ shifted point --- UtilityApps/src/test_surfaces.cpp | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/UtilityApps/src/test_surfaces.cpp b/UtilityApps/src/test_surfaces.cpp index 26e6d464e..b1fc60e81 100644 --- a/UtilityApps/src/test_surfaces.cpp +++ b/UtilityApps/src/test_surfaces.cpp @@ -174,23 +174,25 @@ int main(int argc, char** argv ){ } // ====== test that slightly moved hit points are inside their surface ================================ + + // this test does not make too much sense, depending on the position of the surface within the volume - Vector3D point2 = point + 1e-5 * surf->normal() ; - sst.str("") ; - sst << " point2 " << point2 << " is on surface " ; - isInside = surf->insideBounds( point2 ) ; - test( isInside , true , sst.str() ) ; + // Vector3D point2 = point + 1e-5 * surf->normal() ; + // sst.str("") ; + // sst << " point2 " << point2 << " is on surface " ; + // isInside = surf->insideBounds( point2 ) ; + // test( isInside , true , sst.str() ) ; - if( ! isInside ) { + // if( ! isInside ) { - std::cout << " found surface " << *surf << std::endl - << " id : " << idDecoder.valueString() - << " point : " << point - << " is inside : " << isInside - << " distance from surface : " << dist/dd4hep::mm << std::endl - << std::endl ; + // std::cout << " found surface " << *surf << std::endl + // << " id : " << idDecoder.valueString() + // << " point : " << point + // << " is inside : " << isInside + // << " distance from surface : " << dist/dd4hep::mm << std::endl + // << std::endl ; - } + // } // ====== test that moved hit points are outside their surface ================================ -- GitLab