Changeset 8957 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 06/14/08 16:55:58 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r8948 r8957 917 917 gPad->SetBorderMode(0); 918 918 gPad->SetTicks(); 919 MHCamera *obj1 0=(MHCamera*)disp30.DrawCopy("hist");919 MHCamera *obj12=(MHCamera*)disp30.DrawCopy("hist"); 920 920 // 921 921 // for the datacheck, fix the ranges!! 922 922 // 923 obj1 0->SetMinimum(fTimeOffsetMin);924 obj1 0->SetMaximum(fTimeOffsetMax);923 obj12->SetMinimum(fTimeOffsetMin); 924 obj12->SetMaximum(fTimeOffsetMax); 925 925 // 926 926 // Set the datacheck sizes: 927 927 // 928 FixDataCheckHist((TH1D*)obj1 0);929 obj1 0->SetStats(kFALSE);928 FixDataCheckHist((TH1D*)obj12); 929 obj12->SetStats(kFALSE); 930 930 // 931 931 // set reference lines 932 932 // 933 DisplayReferenceLines(obj1 0,5);933 DisplayReferenceLines(obj12,5); 934 934 935 935 c5.cd(3); … … 949 949 gPad->SetBorderMode(0); 950 950 gPad->SetTicks(); 951 MHCamera *obj1 1=(MHCamera*)disp31.DrawCopy("hist");951 MHCamera *obj13=(MHCamera*)disp31.DrawCopy("hist"); 952 952 // 953 953 // for the datacheck, fix the ranges!! 954 954 // 955 obj1 1->SetMinimum(fTimeResolutionMin);956 obj1 1->SetMaximum(fTimeResolutionMax);955 obj13->SetMinimum(fTimeResolutionMin); 956 obj13->SetMaximum(fTimeResolutionMax); 957 957 // 958 958 // Set the datacheck sizes: 959 959 // 960 FixDataCheckHist((TH1D*)obj1 1);961 obj1 1->SetStats(kFALSE);960 FixDataCheckHist((TH1D*)obj13); 961 obj13->SetStats(kFALSE); 962 962 // 963 963 // set reference lines 964 964 // 965 DisplayReferenceLines(obj1 1,6);965 DisplayReferenceLines(obj13,6); 966 966 967 967 c5.cd(4); 968 968 gPad->SetBorderMode(0); 969 obj1 1->SetPrettyPalette();970 obj1 1->Draw();969 obj13->SetPrettyPalette(); 970 obj13->Draw(); 971 971 972 972 c5.cd(6); … … 1151 1151 disp34.CamDraw(c32, 2, 2, 0); 1152 1152 1153 MHCalibrationCam *c am = (MHCalibrationCam*)plist.FindObject("MHCalibrationRelTimeCam");1153 MHCalibrationCam *ccam = (MHCalibrationCam*)plist.FindObject("MHCalibrationRelTimeCam"); 1154 1154 1155 for (Int_t sector=1;sector<c am->GetAverageSectors();sector++)1155 for (Int_t sector=1;sector<ccam->GetAverageSectors();sector++) 1156 1156 { 1157 c am->GetAverageHiGainSector(sector).DrawClone("fourierevents");1158 c am->GetAverageLoGainSector(sector).DrawClone("fourierevents");1157 ccam->GetAverageHiGainSector(sector).DrawClone("fourierevents"); 1158 ccam->GetAverageLoGainSector(sector).DrawClone("fourierevents"); 1159 1159 } 1160 1160
Note:
See TracChangeset
for help on using the changeset viewer.