Ignore:
Timestamp:
10/21/04 18:44:07 (20 years ago)
Author:
moralejo
Message:
 Fixed error recently introduced in MLons::GetResponse. The NSB database
 was not correclt ycopied to the FADC when the randomly selected time was
 too close to the end of the database. This happened about 2% of times and
 produced some repetitive noise peaks in the FADC.
 Changed in camera.cxx the arguments of lons.SetSeed y lons_outer.SetSeed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx

    r5290 r5305  
    2121//
    2222// $RCSfile: camera.cxx,v $
    23 // $Revision: 1.77 $
     23// $Revision: 1.78 $
    2424// $Author: moralejo $
    25 // $Date: 2004-10-19 10:35:05 $
     25// $Date: 2004-10-21 17:44:07 $
    2626//
    2727////////////////////////////////////////////////////////////////////////
     
    14411441             FADC_slices_per_ns);
    14421442
    1443   lons.SetSeed(Int_t(get_seeds(1)%get_seeds(0))+1);
     1443  lons.SetSeed(((UInt_t)(get_seeds(1)*get_seeds(1)*get_seeds(0))));
    14441444
    14451445  lons.SetPath(nsbpathname);
     
    14501450                   FADC_slices_per_ns);
    14511451
    1452   lons_outer.SetSeed(Int_t(get_seeds(1)%get_seeds(0))+2);
     1452  lons_outer.SetSeed(((UInt_t)(get_seeds(1)*get_seeds(0)*get_seeds(0))));
    14531453
    14541454  lons_outer.SetPath(nsbpath_outer);
     
    48744874}
    48754875
    4876 
    48774876// @endcode
    48784877
     
    48844883//
    48854884// $Log: not supported by cvs2svn $
     4885// Revision 1.77  2004/10/19 10:35:05  moralejo
     4886// *** empty log message ***
     4887//
    48864888// Revision 1.76  2004/10/14 16:56:43  moralejo
    48874889//
Note: See TracChangeset for help on using the changeset viewer.