Changeset 4257 for trunk/MagicSoft
- Timestamp:
- 06/01/04 19:05:25 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc
r4128 r4257 92 92 : fBadPixels(NULL), fCam(NULL), fGeom(NULL), fRunHeader(NULL) 93 93 { 94 fName = name ? name : "MHCalibrationCam";95 fTitle = title ? title : "Class to fill the calibration histograms ";96 94 97 95 fHiGainArray = new TObjArray; … … 126 124 MHCalibrationCam::~MHCalibrationCam() 127 125 { 126 128 127 delete fHiGainArray; 129 128 delete fLoGainArray; … … 269 268 return fRunNumbers; 270 269 } 271 272 270 273 271 // -------------------------------------------------------------------------- … … 315 313 } 316 314 */ 317 315 318 316 for (int i=0; i<navhi; i++) 319 317 { 320 delete (*cam->fAverageHiGainAreas)[i];318 // delete (*cam->fAverageHiGainAreas)[i]; 321 319 (*cam->fAverageHiGainAreas)[i] = (*fAverageHiGainAreas)[i]->Clone(); 322 320 } 323 321 for (int i=0; i<navlo; i++) 324 322 { 325 delete (*cam->fAverageLoGainAreas)[i];323 // delete (*cam->fAverageLoGainAreas)[i]; 326 324 (*cam->fAverageLoGainAreas)[i] = (*fAverageLoGainAreas)[i]->Clone(); 327 325 } 328 326 for (int i=0; i<nsehi; i++) 329 327 { 330 delete (*cam->fAverageHiGainSectors)[i];328 // delete (*cam->fAverageHiGainSectors)[i]; 331 329 (*cam->fAverageHiGainSectors)[i] = (*fAverageHiGainSectors)[i]->Clone(); 332 330 } 333 331 for (int i=0; i<nselo; i++) 334 332 { 335 delete (*cam->fAverageLoGainSectors)[i];333 // delete (*cam->fAverageLoGainSectors)[i]; 336 334 (*cam->fAverageLoGainSectors)[i] = (*fAverageLoGainSectors)[i]->Clone(); 337 335 } … … 749 747 { 750 748 751 MCalibrationPix &pix = (*fCam).GetAverageArea(j);749 MCalibrationPix &pix = fCam->GetAverageArea(j); 752 750 753 751 const Float_t numsqr = TMath::Sqrt((Float_t)fAverageAreaNum[j]); … … 951 949 fAverageAreaRelSigma[i], fAverageAreaRelSigmaVar[i]); 952 950 } 951 953 952 } 954 953
Note:
See TracChangeset
for help on using the changeset viewer.