112 G4double cosLambda = std::cos( sclambda );
113 G4double sinLambda = std::sin( sclambda );
114 G4double sinPhi = std::sin( scphi );
115 G4double cosPhi = std::cos( scphi );
121 G4ThreeVector vTN( cosLambda*cosPhi, cosLambda*sinPhi,sinLambda );
126 if(
iverbose >= 4)
G4cout <<
" SC2SD: vTN " << vTN <<
" vUN " << vUN <<
" vVN " << vVN <<
G4endl;
140 G4double T1R = 1. / ( vTN * vectorU );
170 G4cout <<
" UI " << UI <<
" VI " << VI <<
" vectorU " << vectorU <<
G4endl;
176 transfM[1][3] = -UI*( VK*cosz-UK*sinz)*T3R;
177 transfM[1][4] = -VI*( VK*cosz-UK*sinz)*T3R;
178 transfM[2][3] = UI*( VJ*cosz-UJ*sinz)*T3R;
179 transfM[2][4] = VI*( VJ*cosz-UJ*sinz)*T3R;
185 transfM[1][1] = -UK*T2R;
186 transfM[1][2] = VK*cosLambda*T2R;
187 transfM[2][1] = UJ*T2R;
188 transfM[2][2] = -VJ*cosLambda*T2R;
189 transfM[3][3] = VK*T1R;
190 transfM[3][4] = -UK*T1R;
191 transfM[4][3] = -VJ*T1R;
192 transfM[4][4] = UJ*T1R;
226 std::ios::fmtflags oldFlags = out.flags();
227 out.setf(std::ios::fixed,std::ios::floatfield);