Changeset 5940
- Timestamp:
- 01/22/05 14:33:58 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5939 r5940 20 20 21 21 -*-*- END OF LINE -*-*- 22 23 2005/01/22 Markus Gaug 24 25 * mhcalib/MHCalibrationRelTimeCam.cc 26 - display in the averaged times display the event-by-event averaged 27 absolute arrival times instead of the rel. ones which do not make 28 much sense. 29 30 * mjobs/MJCalibration.cc 31 - replace title of that times-averageing Tab from "RelTimes" by 32 "Times". 33 22 34 23 35 2005/01/21 Markus Gaug -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
r5864 r5940 126 126 const Float_t MHCalibrationRelTimeCam::fgNumHiGainSaturationLimit = 0.25; 127 127 const UInt_t MHCalibrationRelTimeCam::fgReferencePixel = 1; 128 const Int_t MHCalibrationRelTimeCam::fgNbins = 2 00;128 const Int_t MHCalibrationRelTimeCam::fgNbins = 210; 129 129 const Axis_t MHCalibrationRelTimeCam::fgFirst = -5.; 130 const Axis_t MHCalibrationRelTimeCam::fgLast = 5.;130 const Axis_t MHCalibrationRelTimeCam::fgLast = 10.; 131 131 const Float_t MHCalibrationRelTimeCam::fgProbLimit = 0.; 132 132 const TString MHCalibrationRelTimeCam::gsHistName = "RelTime"; 133 const TString MHCalibrationRelTimeCam::gsHistTitle = " Rel.Arr. Times";134 const TString MHCalibrationRelTimeCam::gsHistXTitle = " Rel.Arr. Time [FADC slices]";133 const TString MHCalibrationRelTimeCam::gsHistTitle = "Arr. Times"; 134 const TString MHCalibrationRelTimeCam::gsHistXTitle = "Arr. Time [FADC slices]"; 135 135 const TString MHCalibrationRelTimeCam::gsHistYTitle = "Nr. events"; 136 136 // -------------------------------------------------------------------------- … … 337 337 if (pix.IsLoGainUsed() && IsLoGain()) 338 338 { 339 const Float_t reltime = pix.GetArrivalTimeLoGain() - reftime;339 const Float_t time = pix.GetArrivalTimeLoGain(); 340 340 histhi.AddSaturated(1); 341 341 342 342 MHCalibrationPix &histlo = (*this)(i); 343 histlo.FillHistAndArray( reltime);344 345 fSumarealo [aidx] += reltime;343 histlo.FillHistAndArray(time-reftime); 344 345 fSumarealo [aidx] += time; 346 346 fNumarealo [aidx] ++; 347 fSumsectorlo[sector] += reltime;347 fSumsectorlo[sector] += time; 348 348 fNumsectorlo[sector] ++; 349 349 } 350 350 else 351 351 { 352 const Float_t reltime = pix.GetArrivalTimeHiGain() - reftime;353 354 histhi.FillHistAndArray( reltime) ;355 fSumareahi [aidx] += reltime;352 const Float_t time = pix.GetArrivalTimeHiGain(); 353 354 histhi.FillHistAndArray(time-reftime) ; 355 fSumareahi [aidx] += time; 356 356 fNumareahi [aidx] ++; 357 fSumsectorhi[sector] += reltime;357 fSumsectorhi[sector] += time; 358 358 fNumsectorhi[sector] ++; 359 359 } … … 700 700 TH1F *hist = pix.GetHGausHist(); 701 701 702 TH1F *null = new TH1F("Null",hist->GetTitle(),100,pix.GetFirst() < -3.0 ? -3.0 : pix.GetFirst(), 703 pix.GetLast() > 3.0 ? 3.0 : pix.GetLast()); 702 TH1F *null = new TH1F("Null",hist->GetTitle(),100,0.,pix.GetLast()); 704 703 705 704 null->SetMaximum(1.1*hist->GetMaximum()); … … 716 715 xaxe->SetTitleSize(0.07); 717 716 yaxe->SetTitleSize(0.07); 718 xaxe->SetTitleOffset(0. 7);717 xaxe->SetTitleOffset(0.65); 719 718 yaxe->SetTitleOffset(0.55); 720 719 xaxe->SetLabelSize(0.06); 721 720 yaxe->SetLabelSize(0.06); 722 723 721 xaxe->SetTitle(hist->GetXaxis()->GetTitle()); 724 722 yaxe->SetTitle(hist->GetYaxis()->GetTitle()); … … 777 775 xaxe2->SetTitleSize(0.07); 778 776 yaxe2->SetTitleSize(0.07); 779 xaxe2->SetTitleOffset(0. 7);777 xaxe2->SetTitleOffset(0.65); 780 778 yaxe2->SetTitleOffset(0.55); 781 779 xaxe2->SetLabelSize(0.06); 782 780 yaxe2->SetLabelSize(0.06); 783 781 784 782 pix.CreateGraphEvents(); 785 783 TGraph *gr = pix.GetGraphEvents(); -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r5841 r5940 289 289 DrawTab(plist, "MHCalibrationChargeBlindCam", "BlindPix", drawoption); 290 290 if (IsRelTimes()) 291 DrawTab(plist, "MHCalibrationRelTimeCam", " RelTime",drawoption);291 DrawTab(plist, "MHCalibrationRelTimeCam", "Time", drawoption); 292 292 DrawTab(plist, "MHCalibrationChargeCam", "Charge", drawoption); 293 293
Note:
See TracChangeset
for help on using the changeset viewer.