Changeset 9332 for trunk/MagicSoft/Mars/msimreflector/MMirror.cc
- Timestamp:
- 02/13/09 17:46:02 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimreflector/MMirror.cc
r9312 r9332 126 126 psf /= 2; // The factor two because of the doubleing of the angle in the reflection 127 127 psf /= F; // Scale the Gauss to the size of the PSF 128 psf *= n.Z(); // Normalize the addon vector to the normal vector129 //psf *= n.Mag(); // Alternative! (Gaussian projected on the surface of a sphere)128 //psf *= n.Z(); // 129 psf *= n.Mag(); // This means that the PSF is measured in the focal distance 130 130 131 131 TVector3 dn(gx*psf, gy*psf, 0); // Instead of psf/F also atan(psf/F) might make sense … … 136 136 } 137 137 138 // -------------------------------------------------------------------------- 139 // 138 140 void MMirror::Print(Option_t *o) const 139 141 { … … 141 143 gLog << fNorm.X() << " " << fNorm.Y() << " " << fNorm.Z() << " "; 142 144 gLog << fFocalLength << " "; 145 if (fSigmaPSF>0) 146 gLog << fSigmaPSF << " "; 143 147 144 148 const TString n = ClassName();
Note:
See TracChangeset
for help on using the changeset viewer.