- Timestamp:
- 08/29/04 18:08:24 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4790 r4795 29 29 - added in datacheck-display of MJCalibration 30 30 31 * mcalib/MHCalibrationChargeHiGainPix. cc32 * mcalib/MHCalibrationChargeLoGainPix. cc31 * mcalib/MHCalibrationChargeHiGainPix.[h,cc] 32 * mcalib/MHCalibrationChargeLoGainPix.[h,cc] 33 33 - default lower histogram limit moved to -100.5 34 35 * mcalib/MHCalibrationCam.h 36 * mcalib/MHCalibrationChargeCam.cc 37 - make TArrayI out of fOverFlowHiGain and fOverFlowLoGain 38 39 * mjobs/MJCalibration.[h,cc] 40 - finished datacheck display with the arrival times. 34 41 35 42 -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r4793 r4795 166 166 const Double_t MJCalibration::fgQEMin = 0.; 167 167 const Double_t MJCalibration::fgQEMax = 0.3; 168 const Double_t MJCalibration::fgArrivalTimeMin = 1.; 169 const Double_t MJCalibration::fgArrivalTimeMax = 10.; 168 170 169 171 const Float_t MJCalibration::fgRefConvFADC2PheInner = 0.14; … … 173 175 const Float_t MJCalibration::fgRefQEInner = 0.18; 174 176 const Float_t MJCalibration::fgRefQEOuter = 0.12; 175 176 177 const Float_t MJCalibration::fgRefArrivalTimeInner = 4.5; 178 const Float_t MJCalibration::fgRefArrivalTimeOuter = 5.0; 179 const Float_t MJCalibration::fgRefArrivalTimeRmsInner = 0.5; 180 const Float_t MJCalibration::fgRefArrivalTimeRmsOuter = 0.5; 177 181 // -------------------------------------------------------------------------- 178 182 // … … 668 672 if (geomcam.InheritsFrom("MGeomCamMagic")) 669 673 DisplayDoubleProject(&disp35, "noisy", "dead"); 674 675 // 676 // ARRIVAL TIMES 677 // 678 TCanvas &c3 = fDisplay->AddTab("ArrivalTimes"); 679 c3.Divide(2,3); 680 681 c3.cd(1); 682 gPad->SetBorderMode(0); 683 gPad->SetTicks(); 684 MHCamera *obj10=(MHCamera*)disp28.DrawCopy("hist"); 685 // 686 // for the datacheck, fix the ranges!! 687 // 688 obj10->SetMinimum(fgArrivalTimeMin); 689 obj10->SetMaximum(fgArrivalTimeMax); 690 // 691 // Set the datacheck sizes: 692 // 693 FixDataCheckHist((TH1D*)obj10); 694 obj10->SetStats(kFALSE); 695 // 696 // set reference lines 697 // 698 DisplayReferenceLines(obj10,3); 699 700 c3.cd(3); 701 gPad->SetBorderMode(0); 702 obj10->SetPrettyPalette(); 703 obj10->Draw(); 704 705 c3.cd(5); 706 gPad->SetBorderMode(0); 707 if (geomcam.InheritsFrom("MGeomCamMagic")) 708 DisplayDoubleProject(&disp28, "early", "late"); 709 710 // 711 // ARRIVAL TIMES JITTER 712 // 713 c3.cd(2); 714 gPad->SetBorderMode(0); 715 gPad->SetTicks(); 716 MHCamera *obj11=(MHCamera*)disp29.DrawCopy("hist"); 717 // 718 // for the datacheck, fix the ranges!! 719 // 720 // obj11->SetMinimum(fgArrivalTimeMin); 721 // obj11->SetMaximum(fgArrivalTimeMax); 722 // 723 // Set the datacheck sizes: 724 // 725 FixDataCheckHist((TH1D*)obj11); 726 obj11->SetStats(kFALSE); 727 // 728 // set reference lines 729 // 730 DisplayReferenceLines(obj11,4); 731 732 c3.cd(4); 733 gPad->SetBorderMode(0); 734 obj11->SetPrettyPalette(); 735 obj11->Draw(); 736 737 c3.cd(6); 738 gPad->SetBorderMode(0); 739 if (geomcam.InheritsFrom("MGeomCamMagic")) 740 DisplayDoubleProject(&disp29, "", "jittering"); 741 670 742 671 743 // … … 1032 1104 else if (what == 2) 1033 1105 l1 = line.DrawLine(0, fgRefConvFADC2PheInner, x, fgRefConvFADC2PheInner ); 1106 else if (what == 3) 1107 l1 = line.DrawLine(0, fgRefArrivalTimeInner, x, fgRefArrivalTimeInner ); 1108 else if (what == 4) 1109 l1 = line.DrawLine(0, fgRefArrivalTimeRmsInner, x, fgRefArrivalTimeRmsInner ); 1034 1110 1035 1111 if (geom->InheritsFrom("MGeomCamMagic")) … … 1047 1123 case 2: 1048 1124 line.DrawLine(x2, fgRefConvFADC2PheOuter, 398, fgRefConvFADC2PheOuter); 1125 break; 1126 case 3: 1127 line.DrawLine(x2, fgRefArrivalTimeOuter, 398, fgRefArrivalTimeOuter); 1128 break; 1129 case 4: 1130 line.DrawLine(x2, fgRefArrivalTimeRmsOuter, 398, fgRefArrivalTimeRmsOuter); 1049 1131 break; 1050 1132 } -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r4760 r4795 51 51 static const Double_t fgQEMin; //! Histogram minimum for quantum efficiency 52 52 static const Double_t fgQEMax; //! Histogram maximum for quantum efficiency 53 static const Double_t fgArrivalTimeMin; //! Histogram minimum for arrival times 54 static const Double_t fgArrivalTimeMax; //! Histogram maximum for arrival times 53 55 54 56 static const Float_t fgRefConvFADC2PheInner; //! Reference value for the conversion factor to phes - inner … … 58 60 static const Float_t fgRefQEInner; //! Reference value for the quantum eff. cascades - inner 59 61 static const Float_t fgRefQEOuter; //! Reference value for the quantum eff. cascades - outer 62 static const Float_t fgRefArrivalTimeInner; //! Reference value for the arrival time - inner 63 static const Float_t fgRefArrivalTimeOuter; //! Reference value for the arrival time - outer 64 static const Float_t fgRefArrivalTimeRmsInner; //! Reference value for the arrival time - inner 65 static const Float_t fgRefArrivalTimeRmsOuter; //! Reference value for the arrival time - outer 60 66 61 67 MRunIter *fRuns; // Calibration files
Note:
See TracChangeset
for help on using the changeset viewer.