Changeset 1253 for trunk/MagicSoft


Ignore:
Timestamp:
03/15/02 15:17:18 (23 years ago)
Author:
blanch
Message:
Several modification needed to simulate the actual trigger zone.
File:
1 edited

Legend:

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

    r1231 r1253  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.15 $
     21//= $Revision: 1.16 $
    2222//= $Author: blanch $
    23 //= $Date: 2002-03-04 17:15:51 $
     23//= $Date: 2002-03-15 15:17:18 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    8484static float meanNSB;           //@< NSB mean value (per pixel)
    8585static int nphe2NSB=0;          //@< Number of phe from shower to do NSB simulation
    86 static float qThreshold[TRIGGER_PIXELS];     //@< Threshold values
     86static float qThreshold[CAMERA_PIXELS];     //@< Threshold values
    8787static int Individual_Thres = FALSE;
    8888static float qTailCut;          //@< Tail Cut value
     
    496496
    497497      // Set qThreshold to a global value
    498       for(k=0;k<TRIGGER_PIXELS;k++){
     498      for(k=0;k<CAMERA_PIXELS;k++){
    499499        qThreshold[k]=Trigger_loop_lthres;
    500500      }
     
    513513
    514514      // Set qThreshold to a global value
    515       for(k=0;k<TRIGGER_PIXELS;k++){
     515      for(k=0;k<CAMERA_PIXELS;k++){
    516516        qThreshold[k]=Trigger_threshold;
    517517      }
     
    790790get_threshold(float *t)
    791791{
    792   for(int i=0;i<TRIGGER_PIXELS;i++)
     792  for(int i=0;i<CAMERA_PIXELS;i++)
    793793    t[i]=qThreshold[i];
    794794}
     
    12871287get_Trigger_Single(float *t, int *m, int *g)
    12881288{
    1289   for(int i=0;i<TRIGGER_PIXELS;i++)
     1289  for(int i=0;i<CAMERA_PIXELS;i++)
    12901290    t[i]=qThreshold[i];
    12911291  *m=Trigger_multiplicity;
     
    13461346//
    13471347// $Log: not supported by cvs2svn $
     1348// Revision 1.15  2002/03/04 17:15:51  blanch
     1349// An item, which allows to switch off the storage of the RawEvt, has been
     1350// introduced. It is called nowrite_RawEvt. To avoid confusion the item
     1351// write_all_images has been moved to write_all_events.
     1352//
    13481353// Revision 1.14  2002/02/28 15:07:23  blanch
    13491354// Small changes have been done to introduce thes step variable for the
Note: See TracChangeset for help on using the changeset viewer.