Changeset 4670 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 08/17/04 23:38:13 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r4668 r4670 119 119 #include "MCalibrationChargeBlindPix.h" 120 120 #include "MCalibrationChargeBlindCam.h" 121 #include "MCalibrationChargeBlindPix.h" 121 #include "MCalibrationChargeBlindCamOneOldStyle.h" 122 #include "MCalibrationChargeBlindCamTwoNewStyle.h" 122 123 #include "MCalibrationChargeCalc.h" 123 124 … … 1439 1440 if (run < gkSecondBlindPixelInstallation) 1440 1441 { 1441 blindext.SetModified(kFALSE); 1442 1443 MCalibrationChargeBlindCamOneOldStyle blindresults; 1444 blindresults.Copy(fCalibrationBlindCam); 1445 1442 1446 blindext.SetExtractionType(MExtractBlindPixel::kIntegral); 1443 1447 blindext.SetExtractionType(MExtractBlindPixel::kFilter); … … 1446 1450 blindcam.SetFitFunc( MHCalibrationChargeBlindPix::kEPoisson5 ); 1447 1451 } 1448 else 1449 { 1450 blindext.SetModified(kTRUE); 1452 else if (run < gkThirdBlindPixelInstallation) 1453 { 1454 1455 MCalibrationChargeBlindCamTwoNewStyle blindresults; 1456 blindresults.Copy(fCalibrationBlindCam); 1457 1458 blindext.SetNumBlindPixels(blindresults.GetNumBlindPixels()); 1459 for (UInt_t i=0;i<blindresults.GetNumBlindPixels();i++) 1460 blindext.SetBlindPixelIdx(blindresults[i].GetPixId(),i); 1461 1451 1462 blindext.SetExtractionType(MExtractBlindPixel::kAmplitude); 1452 1463 blindext.SetExtractionType(MExtractBlindPixel::kFilter); … … 1454 1465 blindext.SetNSBFilterLimit(38); 1455 1466 1456 if (run < gkThirdBlindPixelInstallation) 1457 blindext.SetNumBlindPixels(2); 1458 else 1459 blindext.SetNumBlindPixels(3); 1460 } 1467 } 1468 else 1469 { 1470 *fLog << err << "Third blind pixel installation not yet completed, check your run number!!! " << endl; 1471 } 1472 1461 1473 } 1462 1474 … … 1568 1580 MExtractPINDiode pinext; 1569 1581 MExtractBlindPixel blindext; 1582 1570 1583 InitBlindPixel(blindext, blindcam); 1584 1571 1585 MExtractSlidingWindow extract2; 1572 1586 MExtractTimeFastSpline timespline;
Note:
See TracChangeset
for help on using the changeset viewer.