Ignore:
Timestamp:
03/15/02 15:03:06 (23 years ago)
Author:
blanch
Message:
Changes needed to put the actual size of the trigger zone. Actually, now
information about all pixels are saved, just that the ones out of the
trigger zone will be alway off.
Header file for MMcTrig.cxx v 1.10
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcTrig.hxx

    r1101 r1245  
    77
    88#include "MTriggerDefine.h"
     9#include "Mdefine.h"
    910
    1011class MMcTrig : public MParContainer {
     
    1617  Float_t fTimeFirst[((Int_t)(TOTAL_TRIGGER_TIME/LEVEL1_DEAD_TIME))+1];
    1718                            // Time when it triggers
    18   Byte_t fPixelsFirst[((Int_t)(TRIGGER_PIXELS/8))+1][((Int_t)(TOTAL_TRIGGER_TIME/LEVEL1_DEAD_TIME))+1];
     19  Byte_t fPixelsFirst[((Int_t)(CAMERA_PIXELS/8))+1][((Int_t)(TOTAL_TRIGGER_TIME/LEVEL1_DEAD_TIME))+1];
    1920                            // Pixel which are above threshold when trigger happens
    2021  Short_t fFirstToSecond[((Int_t)(TOTAL_TRIGGER_TIME/LEVEL2_DEAD_TIME))+1];
     
    4546    int i;
    4647
    47     for(i=0;i<((Int_t)(TRIGGER_PIXELS/8))+1;i++){
     48    for(i=0;i<((Int_t)(CAMERA_PIXELS/8))+1;i++){
    4849      fPixelsFirst[i][nfirst]=map[i];
    4950    }
     
    5657  Byte_t IsPixelFired(Int_t npix, Int_t nfirstlevel);
    5758
    58   ClassDef(MMcTrig, 1)  //Stores Montecarlo Information (number of 1st, 2nd level triggers)
     59  ClassDef(MMcTrig, 2)  //Stores Montecarlo Information (number of 1st, 2nd level triggers)
    5960
    6061};
Note: See TracChangeset for help on using the changeset viewer.