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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.cc

    r4723 r4811  
    441441  const Int_t nareas = fGeom->GetNumAreas();
    442442
    443   Int_t counts[nareas];
    444   memset(counts,0,nareas*sizeof(Int_t));
     443  TArrayI counts(nareas);
    445444
    446445  for (Int_t i=0; i<fBadPixels->GetSize(); i++)
     
    461460          << Form("%s%3i%s%3i","Inner: ",counts[0]," Outer: ",counts[1]) << endl;
    462461
    463   memset(counts,0,nareas*sizeof(Int_t));
     462  counts.Reset();
    464463
    465464  for (Int_t i=0; i<fBadPixels->GetSize(); i++)
Note: See TracChangeset for help on using the changeset viewer.