diff --git a/UtilityApps/src/test_surfaces.cpp b/UtilityApps/src/test_surfaces.cpp index 26e6d464e25faac406dce476642f82b633b166a2..b1fc60e810d2dd61c7ebaf054475c6fcb6202632 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 ================================