diff --git a/u4/U4Solid.h b/u4/U4Solid.h index 9a47619d58..70822b3be5 100644 --- a/u4/U4Solid.h +++ b/u4/U4Solid.h @@ -552,14 +552,6 @@ inline sn* U4Solid::init_Sphere_(char layer) bool z_slice = startThetaAngle > 0. || deltaThetaAngle < CLHEP::pi ; - double startPhi = sphere->GetStartPhiAngle()/CLHEP::radian ; - double deltaPhi = sphere->GetDeltaPhiAngle()/CLHEP::radian ; - bool has_deltaPhi = startPhi != 0. || deltaPhi != 2.*CLHEP::pi ; - - bool has_deltaPhi_expect = has_deltaPhi == false ; - assert( has_deltaPhi_expect ); - if(!has_deltaPhi_expect) std::raise(SIGINT); - return z_slice ? sn::ZSphere( radius, zmin, zmax ) : sn::Sphere(radius ) ; }