Changeset 6457 for trunk/MagicSoft
- Timestamp:
- 02/14/05 14:01:35 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6456 r6457 46 46 * mraw/MRawFileRead.[h,cc]: 47 47 - calculate total number of events from all files in PreProcess 48 49 * mcalib/MCalibConstCam.cc: 50 - added case 2 to GetPixelContent 51 52 * mjobs/MJCalibrateSignal.cc: 53 - fixed redirection of stream with interleaved calibration infos 54 - changed 'Arrival Time' to 'Calibrated Arrival Time' 55 - display interpolated signal in equivalent photoelectrons to 56 to get rid of scaling effects which makes it difficult to see 57 details of the structure of the inner pixels in the histogram. 58 With this you can immediatly see whether the relative number 59 of phe in the outer pixels is equiv. to the inner pixels. 60 - the same for the calibration factor - with the same argument 61 62 * mhist/MHCamera.cc: 63 - changed drawing such, that NaN is not displayed anymore 48 64 49 65 -
trunk/MagicSoft/Mars/mcalib/MCalibConstCam.cc
r6092 r6457 260 260 val = (*this)[idx].GetCalibFFactor(); 261 261 break; 262 case 2: 263 val = (*this)[idx].GetCalibConst()*cam.GetPixRatio(idx); 264 break; 262 265 default: 263 266 return kFALSE; -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r6276 r6457 858 858 if (!issame) 859 859 { 860 if (IsUsed(i) && iscol) 860 const Bool_t isnan = TMath::IsNaN(fArray[i+1]); 861 if (!IsUsed(i) || !iscol || isnan) 861 862 { 862 if (TMath::IsNaN(fArray[i+1])) 863 hex.SetFillColor(10); 864 865 if (isnan) 863 866 gLog << warn << "MHCamera::Update: " << GetName() << " <" << GetTitle() << "> - Pixel Index #" << i << " contents is NaN (Not a Number)..." << endl; 864 865 hex.SetFillColor(GetColor(GetBinContent(i+1), min, max, islog));866 867 } 867 868 else 868 hex.SetFillColor( 10);869 hex.SetFillColor(GetColor(GetBinContent(i+1), min, max, islog)); 869 870 } 870 871 -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6377 r6457 477 477 478 478 MFTriggerPattern fcalib("CalibFilter"); 479 fcalib.RequireCalibration(); 480 479 481 MCalibrationChargeCalc chcalc; 480 482 MCalibrationRelTimeCalc recalc; 481 483 MCalibCalcFromPast pacalc; 482 483 fcalib.RequireCalibration(); 484 // fcalib.SetInverted(); 484 chcalc.SetOutputFile(""); 485 recalc.SetOutputFile(""); 485 486 486 487 pinext.SetPedestals(&pedcamab); … … 508 509 filhil.SetBit(MFillH::kDoNotDisplay); 509 510 510 MCalibrateRelTimes 511 MBadPixelsCalc 512 MBadPixelsTreat 511 MCalibrateRelTimes caltm; 512 MBadPixelsCalc bpcal; 513 MBadPixelsTreat treat; 513 514 514 515 bpcal.SetNamePedPhotCam("MPedPhotFromExtractor"); … … 519 520 treat.SetProcessTimes(kFALSE); 520 521 521 522 MHCamEvent evt0(0, "PedFLG", "Fundamental Pedestal from Lo Gain;;P [cnts/sl]"); 523 MHCamEvent evt1(2, "PedRmsFLG", "RMS from Extractor applied to ped.;;\\sigma_{p} [cnts/sl]"); 524 MHCamEvent evt2(0, "Extra'd", "Extracted Signal;;S [cnts/sl]"); 525 // MHCamEvent evt3(4, "PedPhot", "Calibrated Pedestal;;P [phe]"); 526 MHCamEvent evt4(5, "PedRMS", "Calibrated RMS from Extractor applied to ped.;;\\sigma_{p} [phe]"); 527 MHCamEvent evt5(3, "Interp'd", "Interpolated Signal;;S [phe]"); 528 MHCamEvent evt6(2, "Unsuitable", "Fraction of unsuitable events per Pixel;;[1]"); 529 MHCamEvent evt7(0, "Times", "Arrival Time;;T [fadc sl]"); 530 MHCamEvent evt8(0, "Conv", "Calibration Conv. Factors;;[phe/fadc cnts]"); 522 MHCamEvent evt0(0, "PedFLG", "Fundamental Pedestal from Lo Gain;;P [cnts/sl]"); 523 MHCamEvent evt1(2, "PedRmsFLG", "RMS from Extractor applied to ped.;;\\sigma_{p} [cnts/sl]"); 524 MHCamEvent evt2(0, "Extra'd", "Extracted Signal;;S [cnts/sl]"); 525 // MHCamEvent evt3(4, "PedPhot", "Calibrated Pedestal;;P [phe]"); 526 MHCamEvent evt4(5, "PedRMS", "Calibrated RMS from Extractor applied to ped.;;\\sigma_{p} [phe]"); 527 MHCamEvent evt5(0, "Interp'd", "Interpolated Signal;;S [phe]"); 528 MHCamEvent evt6(2, "Unsuitable", "Fraction of unsuitable events per Pixel;;[1]"); 529 MHCamEvent evt7(0, "Times", "Calibrated Arrival Time;;T [fadc sl]"); 530 MHCamEvent evt8(2, "Conv", "Calibration Conv. Factors;;[phe/fadc cnts]"); 531 531 532 532 evt0.EnableSqrtVariance();
Note:
See TracChangeset
for help on using the changeset viewer.