Changeset 8452 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 04/27/07 11:05:11 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r8445 r8452 69 69 70 70 #include "MCalibConstCam.h" 71 #include "MCalibrationIntensityChargeCam.h"72 71 73 72 #include "MHCalibrationChargeCam.h" … … 125 124 // 126 125 MJCalibrateSignal::MJCalibrateSignal(const char *name, const char *title) 127 : fExtractor(0), fIsInterlaced(kTRUE), fIsRelTimesUpdate(k FALSE), fIsMovieMode(kFALSE)126 : fExtractor(0), fIsInterlaced(kTRUE), fIsRelTimesUpdate(kTRUE), fIsMovieMode(kFALSE) 128 127 { 129 128 fName = name ? name : "MJCalibrateSignal"; … … 250 249 251 250 // Read File 252 MCalibrationIntensityChargeCam ichcam;253 254 251 MHCalibrationChargeCam hchacam; 255 252 MHCalibrationChargeBlindCam hbndcam; … … 276 273 if (fIsInterlaced) 277 274 { 278 interlacedcont.Add(&ichcam);279 275 interlacedcont.Add(&hchacam); 280 276 if (IsUseBlindPixel()) … … 531 527 532 528 MCalibrationChargeCalc chcalc; 529 chcalc.SetContinousCalibration(); 533 530 chcalc.SetExtractor(extractor3); 534 531 … … 546 543 547 544 // 548 // IntensityCalibration histogramming545 // Calibration histogramming 549 546 // 550 547 MFillH filpin(&hpndiod, "MExtractedSignalPINDiode", "FillPINDiode"); … … 695 692 tlist3.SetFilter(&fcalib); 696 693 697 //MFDataPhrase filcalco("MCalibration IntensityConstCam.IsReadyToSave>0.5", "CalibConstFilter");694 //MFDataPhrase filcalco("MCalibrationConstCam.IsReadyToSave>0.5", "CalibConstFilter"); 698 695 if (fIsInterlaced) 699 696 { -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r8434 r8452 19 19 ! Author(s): Markus Gaug, 02/2004 <mailto:markus@ifae.es> 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 521 ! Copyright: MAGIC Software Development, 2000-2007 22 22 ! 23 23 ! … … 218 218 fRefConvFADC2PheInner = 0.14; 219 219 fRefConvFADC2PheOuter = 0.52; 220 fRefQEInner = 0.18; 220 fRefQEInner = 0.18; 221 221 fRefQEOuter = 0.12; 222 fRefArrivalTimeInner = 4.5; 222 fRefArrivalTimeInner = 4.5; 223 223 fRefArrivalTimeOuter = 5.0; 224 fRefArrivalTimeRmsInner = 0.5; 224 fRefArrivalTimeRmsInner = 0.5; 225 225 fRefArrivalTimeRmsOuter = 0.5; 226 fRefTimeOffsetInner = -0.23; 227 fRefTimeOffsetOuter = 0.39; 228 fRefTimeResolutionInner = 0.153; 229 fRefTimeResolutionOuter = 0.128; 226 fRefTimeOffsetOuter = 0.62; 227 fRefTimeResolutionInner = 0.12; 228 fRefTimeResolutionOuter = 0.09; 230 229 231 230 } … … 813 812 // for the datacheck, fix the ranges!! 814 813 // 815 const Double_t max = 1 1.;814 const Double_t max = 12.; 816 815 obj8->SetMinimum(0.); 817 816 obj8->SetMaximum(max); … … 825 824 const Int_t numcol = gStyle->GetNumberOfColors()-3; 826 825 827 TPaveText *pave = new TPaveText(0.05,0.02,0.975,0.99 );826 TPaveText *pave = new TPaveText(0.05,0.02,0.975,0.999); 828 827 pave->SetBit(kCanDelete); 829 828 pave->ConvertNDCtoPad(); … … 866 865 t17->SetTextColor(gStyle->GetColorPalette(Int_t(9./max*numcol))); 867 866 t17->SetTextAlign(12); 867 TText *t18 = pave->AddText(Form("Deviating Rel. Arrival Time RMS: %3i pixels", 868 CountBadPixels(&disp24,10 ))); 869 t18->SetTextColor(gStyle->GetColorPalette(Int_t(10./max*numcol))); 870 t18->SetTextAlign(12); 868 871 TText *t15= pave->AddText(Form("Too many Low-Gain Blackout Events: %3i pixels", 869 CountBadPixels(&disp24,1 0)));870 t15->SetTextColor(gStyle->GetColorPalette(Int_t(1 0./max*numcol)));872 CountBadPixels(&disp24,11 ))); 873 t15->SetTextColor(gStyle->GetColorPalette(Int_t(11./max*numcol))); 871 874 t15->SetTextAlign(12); 872 875 TText *t14= pave->AddText(Form("Previously Excluded: %3i pixels", 873 CountBadPixels(&disp24,1 1)));874 t14->SetTextColor(gStyle->GetColorPalette(Int_t(1 1./max*numcol)));876 CountBadPixels(&disp24,12))); 877 t14->SetTextColor(gStyle->GetColorPalette(Int_t(12./max*numcol))); 875 878 t14->SetTextAlign(12); 876 879 pave->Draw(); … … 903 906 gStyle->SetPalette(1); 904 907 905 TPaveText *pave2 = new TPaveText(0.025,0.02,0.95,0.99 );908 TPaveText *pave2 = new TPaveText(0.025,0.02,0.95,0.999); 906 909 pave2->SetBit(kCanDelete); 907 910 pave2->ConvertNDCtoPad(); … … 1239 1242 break; 1240 1243 case 5: 1241 l1 = line.DrawLine(0, fRefTimeOffsetInner, x, fRefTimeOffsetInner);1244 l1 = line.DrawLine(0, 0, x, 0); 1242 1245 break; 1243 1246 case 6: … … 1391 1394 // RefArrivalTimeRmsOuter 1392 1395 // 1393 // RefTimeOffsetInner1394 1396 // RefTimeOffsetOuter 1395 1397 // RefTimeResolutionInner … … 1425 1427 fRefArrivalTimeRmsInner = refenv.GetValue("RefArrivalTimeRmsInner",fRefArrivalTimeRmsInner); 1426 1428 fRefArrivalTimeRmsOuter = refenv.GetValue("RefArrivalTimeRmsOuter",fRefArrivalTimeRmsOuter); 1427 fRefTimeOffsetInner = refenv.GetValue("RefTimeOffsetInner",fRefTimeOffsetInner);1428 1429 fRefTimeOffsetOuter = refenv.GetValue("RefTimeOffsetOuter",fRefTimeOffsetOuter); 1429 1430 fRefTimeResolutionInner = refenv.GetValue("RefTimeResolutionInner",fRefTimeResolutionInner); … … 1894 1895 tlist.AddToList(&cont); 1895 1896 1896 if (IsRelTimes())1897 {1898 tlist.AddToList(&filltme);1899 tlist.AddToList(&timecalc);1900 }1901 1902 1897 tlist.AddToList(&fillcam); 1903 1898 … … 1909 1904 tlist.AddToList(&calcalc); 1910 1905 1906 if (IsRelTimes()) 1907 { 1908 tlist.AddToList(&filltme); 1909 tlist.AddToList(&timecalc); 1910 } 1911 1911 1912 1912 MHCamEvent evt2(0, "Extra'd", "Extracted Calibration Signal;;S [cnts/sl]"); -
trunk/MagicSoft/Mars/mjobs/calibrationref.rc
r7013 r8452 63 63 # Relative Time Calibration: 64 64 # 65 RefTimeOffsetInner: -0.23 66 RefTimeOffsetOuter: 0.39 67 RefTimeResolutionInner: 0.153 68 RefTimeResolutionOuter: 0.128 65 RefTimeOffsetOuter: 0.62 66 RefTimeResolutionInner: 0.12 67 RefTimeResolutionOuter: 0.09 69 68 # 70 69 # Mean Absolute Time: -
trunk/MagicSoft/Mars/mjobs/calibrationref_Dec04.rc
r7013 r8452 63 63 # Relative Time Calibration: 64 64 # 65 RefTimeOffsetInner: -0.23 66 RefTimeOffsetOuter: 0.39 67 RefTimeResolutionInner: 0.153 68 RefTimeResolutionOuter: 0.128 65 RefTimeOffsetOuter: 0.62 66 RefTimeResolutionInner: 0.12 67 RefTimeResolutionOuter: 0.09 69 68 # 70 69 # Mean Absolute Time: -
trunk/MagicSoft/Mars/mjobs/calibrationref_Nov04.rc
r7013 r8452 63 63 # Relative Time Calibration: 64 64 # 65 RefTimeOffsetInner: -0.23 66 RefTimeOffsetOuter: 0.39 67 RefTimeResolutionInner: 0.153 68 RefTimeResolutionOuter: 0.128 65 RefTimeOffsetOuter: 0.62 66 RefTimeResolutionInner: 0.12 67 RefTimeResolutionOuter: 0.09 69 68 # 70 69 # Mean Absolute Time:
Note:
See TracChangeset
for help on using the changeset viewer.