Ignore:
Timestamp:
02/13/09 17:46:02 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimreflector/MMirror.cc

    r9312 r9332  
    126126    psf /= 2;                        // The factor two because of the doubleing of the angle in the reflection
    127127    psf /= F;                        // Scale the Gauss to the size of the PSF
    128     psf *= n.Z();                    // Normalize the addon vector to the normal vector
    129     //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
    130130
    131131    TVector3 dn(gx*psf, gy*psf, 0);  // Instead of psf/F also atan(psf/F) might make sense
     
    136136}
    137137
     138// --------------------------------------------------------------------------
     139//
    138140void MMirror::Print(Option_t *o) const
    139141{
     
    141143    gLog << fNorm.X() << " " << fNorm.Y() << " " << fNorm.Z() << " ";
    142144    gLog << fFocalLength << " ";
     145    if (fSigmaPSF>0)
     146        gLog << fSigmaPSF << " ";
    143147
    144148    const TString n = ClassName();
Note: See TracChangeset for help on using the changeset viewer.