Changeset 6199 for trunk/MagicSoft
- Timestamp:
- 02/02/05 12:52:00 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6191 r6199 22 22 23 23 2005/02/02 Markus Gaug 24 25 * mcalib/MCalibrateData.cc 26 - catch the case in which no interlaced cal. events are being sent 27 by the pulser box. 24 28 25 29 * mjobs/MJCalib.[h,cc] -
trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc
r6093 r6199 513 513 // 514 514 MCalibrationChargePix &ugpix = (MCalibrationChargePix&)updatecam->GetAverageArea(0); 515 // MBadPixelsPix &ubad = (MBadPixelsPix&) updatecam->GetAverageBadArea(0);516 // if (ubad.IsUnsuitable())517 // *fLog << err << "Average Area is unsuitable!!!!" << endl;518 515 519 516 const Float_t globmean = avpix.GetConvertedMean(); 520 517 calibUpdate = (globmean == 0.) ? 1. : ugpix.GetConvertedMean() / globmean; 518 519 MBadPixelsPix &ubad = (MBadPixelsPix&) updatecam->GetAverageBadArea(0); 520 if (ubad.IsUncalibrated(MBadPixelsPix::kChargeIsPedestal)) 521 { 522 *fLog << warn << GetDescriptor() << "Probably calibration pulses have been lost!!!!" << endl; 523 *fLog << warn << "Will not update calib. factors any more!!!!" << endl; 524 calibUpdate = 1.; 525 } 521 526 } 522 527 523 528 switch(fCalibrationMode) 524 529 { -
trunk/MagicSoft/Mars/mjobs/MJCalibTest.cc
r6195 r6199 350 350 } 351 351 352 Bool_t MJCalibTest::Process(MPedestalCam &pedcam)353 {354 // const TString fname = GetOutputFile();355 356 // if (gSystem->AccessPathName(fname, kFileExists))357 return ProcessFile(pedcam);358 359 // return kTRUE;360 }361 362 352 Bool_t MJCalibTest::ProcessFile(MPedestalCam &pedcam) 363 353 { -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6197 r6199 541 541 542 542 543 MHCamEvent evt0(0, "PedFLG", " Pedestal from Lo Gain;;P [fadc/sl]");544 MHCamEvent evt1(2, "PedRmsFLG", " Pedestal RMS from Lo Gain;;\\sigma_{p} [fadc/sl]");545 MHCamEvent evt2(0, "Extra'd", "Extracted Signal;;S [ fadc/sl]");543 MHCamEvent evt0(0, "PedFLG", "Fundamental Pedestal from Lo Gain;;P [cnts/sl]"); 544 MHCamEvent evt1(2, "PedRmsFLG", "RMS from Extractor applied to ped.;;\\sigma_{p} [cnts/sl]"); 545 MHCamEvent evt2(0, "Extra'd", "Extracted Signal;;S [cnts/sl]"); 546 546 // MHCamEvent evt3(4, "PedPhot", "Calibrated Pedestal;;P [phe]"); 547 MHCamEvent evt4(5, "PedRMS", "Calibrated Pedestal RMS;;\\sigma_{p} [phe]");547 MHCamEvent evt4(5, "PedRMS", "Calibrated RMS from Extractor applied to ped.;;\\sigma_{p} [phe]"); 548 548 MHCamEvent evt5(3, "Interp'd", "Interpolated Signal;;S [phe]"); 549 549 MHCamEvent evt6(2, "Unsuitable", "Fraction of unsuitable events per Pixel;;[1]"); 550 MHCamEvent evt7(0, "Times", "Arrival Time;;T [ slice]");551 MHCamEvent evt8(0, "Conv", "Calibration Conv. Factors;;[phe/fadc sl]");550 MHCamEvent evt7(0, "Times", "Arrival Time;;T [fadc sl]"); 551 MHCamEvent evt8(0, "Conv", "Calibration Conv. Factors;;[phe/fadc cnts]"); 552 552 553 553 evt0.EnableVariance();
Note:
See TracChangeset
for help on using the changeset viewer.