Changeset 1424 for trunk


Ignore:
Timestamp:
07/22/02 17:27:35 (22 years ago)
Author:
bigongia
Message:
Added example on how to use MCerPhotCalc2
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/MagicHillas.C

    r1408 r1424  
    102102    MMcPedestalNSBAdd pnsb;
    103103    MCerPhotCalc      ncalc;
     104
     105//  Alternative photon calculation:
     106//    MCerPhotCalc2     ncalc;
     107//  Example: use only 2nd to 6th FADC slices for photon calculation:
     108//    Float_t w[15] = {0., 1., 1., 1., 1., 1., 0.,0.,0.,0.,0.,0.,0.,0.,0.};
     109//    ncalc.SetWeights(w);
     110
    104111    MImgCleanStd      clean;
    105112    MBlindPixelCalc   blind;
Note: See TracChangeset for help on using the changeset viewer.