Ignore:
Timestamp:
08/30/04 16:29:17 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.