Changeset 4811 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 08/30/04 16:34:05 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.