Changeset 19609
 Timestamp:
 Sep 2, 2019, 11:28:07 PM (2 weeks ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Mars/msimreflector/MFresnelLens.cc
r19608 r19609 122 122 // X^2+Y^2 = r^2 123 123 // 124 // (dz*u.x+p.x)^2 + (dz*u.y+p.y)^2 = (z dz)^2 * tan(theta)^2124 // (dz*u.x+p.x)^2 + (dz*u.y+p.y)^2 = (z+dz)^2 * tan(theta)^2 125 125 // 126 126 // dz^2*ux^2 + px^2 + 2*dz*ux*px + dz^2*uy^2 + py^2 + 2*dz*uy*py = (z^2*tan(theta)^2 + dz^2*tan(theta)^2 + 2*z*dz*tan(theta)^2 … … 153 153 const double dz[2] = 154 154 { 155 (sqrtBac B) / a,156 (sqrtBac +B) / a155 (sqrtBac+B) / a, 156 (sqrtBacB) / a 157 157 }; 158 158 … … 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 + theta, r0*tan(theta)); 270 270 271 271 // Calculate the insersection between the ray and the cone
Note: See TracChangeset
for help on using the changeset viewer.