Changeset 4811


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4810 r4811  
    2424   * mcalib/MCalibrationTestCalc.cc
    2525   * mcalib/MCalibrationRelTimeCalc.cc
    26    * mcalib/MHCalibrationTestTimeCam.cc
     26   * mcalib/MHCalibrationChargeCam.cc
     27   * mcalib/MHCalibrationRelTimeCam.cc
     28   * mcalib/MHCalibrationTestCam.cc
    2729   * mcalib/MHCalibrationTestCam.cc
    2830     - exchanged all arrays by TArray's
  • 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.