Changeset 4811
- Timestamp:
- 08/30/04 16:34:05 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4810 r4811 24 24 * mcalib/MCalibrationTestCalc.cc 25 25 * mcalib/MCalibrationRelTimeCalc.cc 26 * mcalib/MHCalibrationTestTimeCam.cc 26 * mcalib/MHCalibrationChargeCam.cc 27 * mcalib/MHCalibrationRelTimeCam.cc 28 * mcalib/MHCalibrationTestCam.cc 27 29 * mcalib/MHCalibrationTestCam.cc 28 30 - exchanged all arrays by TArray's -
trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.cc
r4723 r4811 441 441 const Int_t nareas = fGeom->GetNumAreas(); 442 442 443 Int_t counts[nareas]; 444 memset(counts,0,nareas*sizeof(Int_t)); 443 TArrayI counts(nareas); 445 444 446 445 for (Int_t i=0; i<fBadPixels->GetSize(); i++) … … 461 460 << Form("%s%3i%s%3i","Inner: ",counts[0]," Outer: ",counts[1]) << endl; 462 461 463 memset(counts,0,nareas*sizeof(Int_t));462 counts.Reset(); 464 463 465 464 for (Int_t i=0; i<fBadPixels->GetSize(); i++)
Note:
See TracChangeset
for help on using the changeset viewer.