Ignore:
Timestamp:
02/28/02 15:07:23 (23 years ago)
Author:
blanch
Message:
Small changes have been done to introduce thes step variable for the
discriminator threshold in the trigger loop mode.
File:
1 edited

Legend:

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

    r1196 r1224  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.13 $
     21//= $Revision: 1.14 $
    2222//= $Author: blanch $
    23 //= $Date: 2002-01-18 17:43:08 $
     23//= $Date: 2002-02-28 15:07:23 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    118118static int Trigger_multiplicity = 4;
    119119static int Trigger_topology = 2;
    120 static int Trigger_loop_lthres = 0;
    121 static int Trigger_loop_uthres = 10;
     120static float Trigger_loop_lthres = 3.0;
     121static float Trigger_loop_uthres = 10.0;
     122static float Trigger_loop_sthres = 1.0;
    122123static int Trigger_loop_lmult = 2;
    123124static int Trigger_loop_umult = 10;
     
    485486
    486487      //  Get loop's limits
    487       sscanf(line, "%s %d %d %d %d %d %d", token, &Trigger_loop_lthres, &Trigger_loop_uthres, &Trigger_loop_lmult, &Trigger_loop_umult, &Trigger_loop_ltop, &Trigger_loop_utop );
     488      sscanf(line, "%s %f %f %f %d %d %d %d", token, &Trigger_loop_lthres, &Trigger_loop_uthres, &Trigger_loop_sthres, &Trigger_loop_lmult, &Trigger_loop_umult, &Trigger_loop_ltop, &Trigger_loop_utop );
    488489
    489490      // Set qThreshold to a global value
     
    12541255//!@{
    12551256int
    1256 get_Trigger_Loop(int *lt, int *ut, int *lm, int *um, int *lg, int *ug)
     1257get_Trigger_Loop(float *lt, float *ut, float *st, int *lm, int *um, int *lg, int *ug)
    12571258{
    12581259  *lt=Trigger_loop_lthres;
    12591260  *ut=Trigger_loop_uthres;
     1261  *st=Trigger_loop_sthres;
    12601262  *lm=Trigger_loop_lmult;
    12611263  *um=Trigger_loop_umult;
     
    13371339//
    13381340// $Log: not supported by cvs2svn $
     1341// Revision 1.13  2002/01/18 17:43:08  blanch
     1342// Three new commands have been added: fadc_noise, trig_noise and
     1343// elec_noise_off.
     1344// A small bug in the SIGNATURE check has been solved.
     1345//
    13391346// Revision 1.12  2001/11/13 17:05:14  blanch
    13401347// New input items int the input card parameter list have been included to fill
Note: See TracChangeset for help on using the changeset viewer.