Changeset 3353 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 02/28/04 04:37:49 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r3351 r3353 352 352 Float_t avouterprms = 0; 353 353 Float_t avouternum = 0; 354 354 355 for (Int_t pixid=0; pixid<fPedestals->GetSize(); pixid++) 355 356 { 356 357 357 358 MCalibrationChargePix &pix = (*fCam)[pixid]; 358 359 //360 // Check if the pixel has been excluded from the fits361 //362 if (pix.IsExcluded())363 continue;364 359 365 360 // … … 370 365 const Float_t num = TMath::Sqrt((Float_t)fPedestals->GetTotalEntries()); 371 366 367 if (ped == -1.) 368 pix.SetExcluded(); 369 370 // 371 // Check if the pixel has been excluded from the fits 372 // 373 if (pix.IsExcluded()) 374 continue; 375 372 376 if (fGeom->GetPixRatio(pixid) == 1.) 373 377 { 374 378 avinnerped += ped; 375 379 avinnerprms += prms; 376 avinnernum += num;380 avinnernum++; 377 381 } 378 382 else … … 380 384 avouterped += ped; 381 385 avouterprms += prms; 382 avouternum += num;386 avouternum++; 383 387 } 384 388 //
Note:
See TracChangeset
for help on using the changeset viewer.