Ignore:
Timestamp:
01/15/01 12:37:48 (24 years ago)
Author:
magicsol
Message:
It has been introduced the option to read from the input card the overlaping
time.
File:
1 edited

Legend:

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

    r435 r504  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.6 $
    22 //= $Author: harald $
    23 //= $Date: 2000-09-21 11:47:33 $
     21//= $Revision: 1.7 $
     22//= $Author: magicsol $
     23//= $Date: 2001-01-15 12:37:48 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    103103static int Trigger_Loop = FALSE;
    104104static float Trigger_gate_length = 3.0;
     105static float Trigger_over_time = 0.25;
    105106static float Trigger_response_ampl = 1.0;
    106107static float Trigger_response_fwhm = 2.0;
     
    400401      //  Get parameters for the diskriminator and the electronic
    401402      //  response for one phe
    402       sscanf(line, "%s %f %f %f", token, &Trigger_gate_length, &Trigger_response_ampl,&Trigger_response_fwhm);
     403      sscanf(line, "%s %f %f %f %f", token, &Trigger_gate_length,&Trigger_over_time, &Trigger_response_ampl,&Trigger_response_fwhm);
    403404
    404405      break;
     
    10021003//!@{
    10031004void
    1004 get_Trigger_properties(float *gl, float *ra, float *rf)
     1005get_Trigger_properties(float *gl, float *ot, float *ra, float *rf)
    10051006{
    10061007  *gl=Trigger_gate_length;
     1008  *ot=Trigger_over_time;
    10071009  *ra=Trigger_response_ampl;
    10081010  *rf=Trigger_response_fwhm;
     1011
    10091012}
    10101013//!@}
     
    10591062//
    10601063// $Log: not supported by cvs2svn $
     1064// Revision 1.6  2000/09/21 11:47:33  harald
     1065// Oscar found some smaller errors in the calculation of the pixel shape and
     1066// corrected it.
     1067//
    10611068// Revision 1.5  2000/07/04 14:13:02  MagicSol
    10621069// It reads from the general input card the parameters for the
Note: See TracChangeset for help on using the changeset viewer.