Changeset 4809 for trunk/MagicSoft


Ignore:
Timestamp:
08/30/04 16:29:17 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4808 r4809  
    2222
    2323   * mcalib/MCalibrationChargeCalc.cc
     24   * mcalib/MCalibrationTestCalc.cc
    2425   * mcalib/MHCalibrationTestTimeCam.cc
    2526   * mcalib/MHCalibrationTestCam.cc
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationTestCam.cc

    r4658 r4809  
    306306  const Int_t nsectors = fGeom->GetNumSectors();
    307307
    308   Float_t sumareahi  [nareas];
    309   Float_t sumsectorhi[nsectors];
    310   Int_t   numareahi  [nareas];
    311   Int_t   numsectorhi[nsectors];
    312 
    313   memset(sumareahi,   0, nareas * sizeof(Float_t));
    314   memset(sumsectorhi, 0, nsectors*sizeof(Float_t));
    315   memset(numareahi,   0, nareas * sizeof(Int_t));
    316   memset(numsectorhi, 0, nsectors*sizeof(Int_t));
     308  TArrayF sumareahi  (nareas);
     309  TArrayF sumsectorhi(nsectors);
     310  TArrayI numareahi  (nareas);
     311  TArrayI numsectorhi(nsectors);
    317312 
    318313  for (Int_t i=0; i<npixels; i++)
Note: See TracChangeset for help on using the changeset viewer.