Changeset 3012 for trunk/MagicSoft/Mars/macros/calibration.C
- Timestamp:
- 02/03/04 20:14:48 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/calibration.C
r3007 r3012 50 50 read.DisableAutoScheme(); 51 51 52 MGeomApply geomapl;53 MExtractSignal sigcalc;52 MGeomApply geomapl; 53 MExtractSignal2 sigcalc; 54 54 // 55 55 // We saw that the signal jumps between slices, … … 57 57 // Sliding window will be implemented asap. 58 58 // 59 sigcalc.SetRange(1,14,1,14);59 // sigcalc.SetRange(1,14,1,14); 60 60 61 61 MPedCalcPedRun pedcalc; 62 pedcalc.SetUseHists();62 // MFillH fill("MPedestalCam", "MExtractedSignalCam"); 63 63 64 64 tlist.AddToList(&read); … … 66 66 tlist.AddToList(&sigcalc); 67 67 tlist.AddToList(&pedcalc); 68 // tlist.AddToList(&fill); 68 69 69 70 MGeomCamMagic geomcam; … … 105 106 MHCamera dispped12 (geomcam, "MPedestalPix;DeltaRmsSigma", "Rel. Diff. RMS per Slice (Calc.-Fitted)"); 106 107 MHCamera dispped14 (geomcam, "MPedestalPix;DeltaRmsSigmaError", "Rel. Diff. RMS Error per Slice (Calc.-Fitted)"); 107 108 108 dispped0.SetCamContent(pedcam, 0); 109 109 dispped0.SetCamError(pedcam, 1); … … 215 215 // faster results 216 216 // 217 // timecalc.SetStepSize(0.02);217 timecalc.SetStepSize(0.05); 218 218 219 219 // … … 305 305 "Conversion Factor (Blind Pixel Method)"); 306 306 MHCamera disp16 (geomcam, "MCalibrationPix;RSigma/Charge", "Reduced Sigma per Charge"); 307 MHCamera disp17 (geomcam, "MCalibrationPix;AbsTimeMean", "Abs. Arrival Times"); 308 MHCamera disp18 (geomcam, "MCalibrationPix;AbsTimeRms", "RMS of Arrival Times"); 307 309 308 310 disp1.SetCamContent(calcam, 0); … … 335 337 disp16.SetCamContent(calcam, 17); 336 338 339 disp17.SetCamContent(calcam, 18); 340 disp17.SetCamError(calcam, 19); 341 disp18.SetCamContent(calcam, 20); 342 disp18.SetCamError(calcam, 21); 337 343 338 344 disp1.SetYTitle("Charge [FADC counts]"); 339 345 disp3.SetYTitle("\\sigma_{Charge} [FADC counts]"); 340 346 disp5.SetYTitle("P_{Charge} [1]"); 341 disp6.SetYTitle(" Arr. Time [ns]");347 disp6.SetYTitle("Rel. Arr. Time [ns]"); 342 348 disp7.SetYTitle("\\sigma_{Time} [ns]"); 343 349 disp8.SetYTitle("P_{Time} [1]"); … … 350 356 disp15.SetYTitle("Conversion Factor [Phot/FADC Count]"); 351 357 disp16.SetYTitle("Reduced Sigma / Charge [1]"); 358 disp17.SetYTitle("Mean Abs. Time [FADC slice]"); 359 disp18.SetYTitle("RMS Abs. Time [FADC slices]"); 352 360 353 361 MStatusDisplay *d3 = new MStatusDisplay; … … 371 379 CamDraw(c2,disp5,calcam,1,1,3); 372 380 373 // Times381 // Rel. Times 374 382 TCanvas &c3 = d3->AddTab("Fitted Rel. Times"); 375 383 c3.Divide(3,3); … … 378 386 CamDraw(c3,disp7,calcam,2,3,1); 379 387 CamDraw(c3,disp8,calcam,3,3,0); 388 389 // Abs. Times 390 TCanvas &c35 = d3->AddTab("Abs. Times"); 391 c35.Divide(2,3); 392 393 CamDraw(c35,disp17,calcam,1,2,1); 394 CamDraw(c35,disp18,calcam,2,2,1); 380 395 381 396 // Pedestals
Note:
See TracChangeset
for help on using the changeset viewer.