Changeset 19610
 Timestamp:
 Sep 2, 2019, 11:30:43 PM (2 weeks ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Mars/msimreflector/MFresnelLens.cc
r19609 r19610 264 264 265 265 const double so = rc / sqrt(rc*rc + F*F); 266 const double theta = atan(so / (1sqrt(n0*n0  so*so)));266 const double alpha = atan(so / (1sqrt(n0*n0  so*so))); 267 267 268 268 // theta peak_z 269 const Groove g(TMath::Pi()/2 + theta, r0*tan(theta));269 const Groove g(TMath::Pi()/2 + alpha, r0*tan(alpha)); 270 270 271 271 // Calculate the insersection between the ray and the cone … … 289 289 // FIXME: Surface roughness? 290 290 TVector3 norm;; 291 norm.SetMagThetaPhi(1, theta, p.XYvector().Phi());291 norm.SetMagThetaPhi(1, alpha, p.XYvector().Phi()); 292 292 293 293 // Apply refraction at lens entrance (change directional vector)
Note: See TracChangeset
for help on using the changeset viewer.