Ignore:
Timestamp:
12/15/04 01:56:39 (20 years ago)
Author:
MAGIC
Message:
 Added input card option pmt_jitter_ns to simulate the time jitter of
 PMTs. The input parameter is the sigma of a gaussian, which by
 default is sigma=0.25 ns. This jitter is applied to each phe-
 independently. We have not applied this to the NSB noise, since the
 arrival time of NSB photons is random and nothing would change.
File:
1 edited

Legend:

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

    r5418 r5600  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.34 $
    22 //= $Author: moralejo $
    23 //= $Date: 2004-11-17 11:36:07 $
     21//= $Revision: 1.35 $
     22//= $Author: MAGIC $
     23//= $Date: 2004-12-15 01:56:39 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    106106                                // time window and the trigger instant.
    107107
     108static float pmt_jitter = 0.25; // Time jitter in ns (sigma of gaussian)
     109                                // of the PMT (per phe)
     110
    108111static float CTcoor[MAX_NUMBER_OF_CTS][3];
    109112
     
    563566      break;
    564567
     568    case pmt_jitter_ns:
     569
     570      sscanf(line, "%s %f", token, &pmt_jitter);
     571      break;
     572
    565573
    566574    case sigma_xy_cm_spot:
     
    13891397}
    13901398
     1399float get_pmt_jitter_ns(){
     1400
     1401  return pmt_jitter;
     1402
     1403}
     1404
    13911405float get_telescope_location_cm(int j, int icoor){
    13921406
     
    14301444//
    14311445// $Log: not supported by cvs2svn $
     1446// Revision 1.34  2004/11/17 11:36:07  moralejo
     1447// *** empty log message ***
     1448//
    14321449// Revision 1.33  2004/10/26 13:58:59  moralejo
    14331450//
Note: See TracChangeset for help on using the changeset viewer.