Changeset 2453 for trunk/MagicSoft


Ignore:
Timestamp:
11/03/03 12:58:40 (21 years ago)
Author:
blanch
Message:
Independent reference time for each telescope.
File:
1 edited

Legend:

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

    r2427 r2453  
    2121//
    2222// $RCSfile: camera.cxx,v $
    23 // $Revision: 1.65 $
     23// $Revision: 1.66 $
    2424// $Author: blanch $
    25 // $Date: 2003-10-26 19:43:00 $
     25// $Date: 2003-11-03 12:58:40 $
    2626//
    2727////////////////////////////////////////////////////////////////////////
     
    13191319             FADC_response_ampl,FADC_response_fwhm);
    13201320
     1321  lons.SetSeed(Int_t(get_seeds(1)/get_seeds(0))+1);
     1322
    13211323  lons.SetPath(nsbpathname);
    13221324
     
    13241326  MLons lons_outer(Trigger_response_ampl, Trigger_response_fwhm,
    13251327                   FADC_resp_ampl_out,FADC_resp_fwhm_out);
     1328
     1329  lons_outer.SetSeed(Int_t(get_seeds(1)/get_seeds(0))+2);
    13261330
    13271331  lons_outer.SetPath(nsbpath_outer);
     
    17391743        }
    17401744
    1741         // Read first and last time and put inumphe_CT[0] to 0
    1742         float tm=0, tM=9E+50;
     1745        inumphe=0;
     1746
    17431747        for(int ict=0;ict<ct_Number;ict++){
     1748         
     1749          // Read first and last time and put inumphe_CT[0] to 0
    17441750
    17451751          if (reflector_file_version<6)
     
    17471753          else
    17481754            mcevth_2[ict].get_times(&arrtmin_ns,&arrtmax_ns);
    1749          
    1750           tm=(tm<arrtmin_ns)?tm:arrtmin_ns;
    1751           tM=(tM<arrtmax_ns)?tM:arrtmax_ns;
    1752            
    1753         }
    1754         arrtmin_ns=tm;arrtmax_ns=tM;
    1755 
    1756         inumphe=0;
    1757 
    1758         for(int ict=0;ict<ct_Number;ict++){
    17591755         
    17601756          inumphe_CT[ict]=0;
     
    42184214//
    42194215// $Log: not supported by cvs2svn $
     4216// Revision 1.65  2003/10/26 19:43:00  blanch
     4217// - The screen output information has been improved to prevent some
     4218// non-desired running conditions just looking at the output screen.
     4219// - One MMcEvt for each Telscope is stored in the output file.
     4220// - 500 empty events are simualted to get a more precise estimation of the
     4221// pedestal Sigma for each pixel.
     4222//
    42204223// Revision 1.64  2003/10/21 07:42:50  blanch
    42214224// A factor 2.35 to transform the fwhm into the sigma of gaussian was missing
Note: See TracChangeset for help on using the changeset viewer.