Ignore:
Timestamp:
10/24/00 15:30:07 (24 years ago)
Author:
magicsol
Message:
Few modifications to make the program more robust.
They do not afect the algorithm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Reflector/reflector.cxx

    r349 r437  
    2020//
    2121// $RCSfile: reflector.cxx,v $
    22 // $Revision: 1.10 $
    23 // $Author: harald $
    24 // $Date: 2000-01-31 20:53:57 $
     22// $Revision: 1.11 $
     23// $Author: magicsol $
     24// $Date: 2000-10-24 14:30:07 $
    2525//
    2626////////////////////////////////////////////////////////////////////////
     
    15281528       
    15291529        // read photon data from the file
    1530        
     1530
    15311531        photon.read( cerfile );
    15321532
     
    15841584        // FILTER No. 2: REFLECTIVITY R(lambda)
    15851585        //--
     1586
     1587        // If photon has a larger wl than the largest in Reflectivity
     1588        // array then it is skiped.
     1589
     1590        if (wl>Reflectivity[0][nReflectivity-1]) continue;
    15861591
    15871592        // find data point to be used in Lagrange interpolation (-> k)
     
    20772082          cout.write ( (char *)&cphoton, cphoton.mysize() );
    20782083        else
    2079           cphoton.write( outputfile );
     2084          cphoton.write( outputfile );
    20802085
    20812086        // increase number of Cphotons written
     
    35633568//
    35643569// $Log: not supported by cvs2svn $
     3570// Revision 1.10  2000/01/31 20:53:57  harald
     3571// A smaller change concerning the random pointing. I got from Jose Carlos
     3572// the information:
     3573//
     3574// >>The point was that the get_new_ct_pointing routine now generates
     3575// >>the right coordinates randomly from the original direction with
     3576// >>a maximum deviatiation given by the user, but this new directions
     3577// >>were not uniformly distributed. Now they are !!
     3578//
     3579// need to be check soon!!
     3580//
    35653581// Revision 1.9  2000/01/28 09:19:54  harald
    35663582// A new version from JoseCarlosGonzalez. The old routine for random_pointing
Note: See TracChangeset for help on using the changeset viewer.