Changeset 6919 for trunk/MagicSoft
- Timestamp:
- 04/08/05 11:55:55 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6917 r6919 22 22 -*-*- END OF LINE -*-*- 23 23 24 2005/04/08 Markus Gaug (2005/04/07) 25 26 * mhcalib/MHCalibrationChargeCam.cc: 27 - UNDOCUMENTED CHANGE: Do not call histlo.CreateFourierSpectrum() 28 if IsOscillations() 29 30 * mjobs/MJCalibrateSignal.cc: 31 - UNDOCUMENTED CHANGE: Set SetOscillations(kFALSE) for 32 hchacam, hbndcam, hrelcam 33 34 * mhcalib/MHCalibrationRelTimeCam.cc: 35 - fill array only if IsOscillations() is true. This is the case in 36 all classes deriving from MHCalibrationCam, except for this one! 37 The effect was that the interlaced calib. events occupied more 38 and more memory becoming slower and slower because the option: 39 SetOscillations(kFALSE) was not treated correctly. 40 41 * mjobs/pedestalref_Dec04.rc 42 - update the reference lines in the display according to the spline 43 extractor. 44 45 * mjobs/MJCalibration.cc 46 - clarify a mis-leading histogram title 47 48 * callisto_Dec04Jan05.rc: 49 - UNDOCUMENTED CHANGE: use the pedestref_Dec04.rc as reference 50 file. 51 52 53 24 54 2005/04/08 Thomas Bretz 25 55 … … 44 74 a spectrum 45 75 76 * mjobs/MJCalibrateSignal.cc: 77 - removed condition IsUseBlindPixel() and IsUsePINDiode from 78 setting filter and applied it to the corresponding task 79 46 80 47 81 … … 117 151 118 152 * msignal/MExtractTimeAndChargeDigitalFilter.cc 119 - moved fgOffsetFromLogain from -1.8 to -2. 5. This corrects only an153 - moved fgOffsetFromLogain from -1.8 to -2.8. This corrects only an 120 154 defective extraction of the MC at low-gain signals lower than 90 121 phes. (IN THE CODE THE CHANGE IS FROM -1.8 to -2.8!!!!)155 phes. 122 156 123 157 -
trunk/MagicSoft/Mars/callisto_Dec04Jan05.rc
r6913 r6919 40 40 # reference lines in the status display 41 41 # ------------------------------------------------------------------------- 42 #MJPedestalC1.ReferenceFile: mjobs/pedestalref.rc43 #MJPedestalC2.ReferenceFile: mjobs/pedestalref.rc42 MJPedestalC1.ReferenceFile: mjobs/pedestalref_Dec04.rc 43 MJPedestalC2.ReferenceFile: mjobs/pedestalref_Dec04.rc 44 44 MJCalibration.ReferenceFile: mjobs/calibrationref_Dec04.rc 45 45 MJCalibration.MHCalibrationRelTimeCam.ReferenceFile: mjobs/calibrationref_Dec04.rc -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
r6886 r6919 988 988 { 989 989 *fLog << warn << "Saturated Lo Gain histogram in area idx: " << j << endl; 990 histlo.CreateFourierSpectrum(); 990 if (IsOscillations()) 991 histlo.CreateFourierSpectrum(); 991 992 continue; 992 993 } -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
r6215 r6919 351 351 352 352 MHCalibrationPix &histlo = (*this)(i); 353 histlo.FillHistAndArray(time-reftime); 353 if (IsOscillations()) 354 histlo.FillHistAndArray(time-reftime); 355 else 356 histlo.FillHist(time-reftime); 354 357 355 358 fSumarealo [aidx] += time; … … 362 365 const Float_t time = pix.GetArrivalTimeHiGain(); 363 366 364 histhi.FillHistAndArray(time-reftime) ; 367 if (IsOscillations()) 368 histhi.FillHistAndArray(time-reftime); 369 else 370 histhi.FillHist(time-reftime); 371 365 372 fSumareahi [aidx] += time; 366 373 fNumareahi [aidx] ++; … … 373 380 { 374 381 MHCalibrationPix &histhi = GetAverageHiGainArea(j); 375 histhi.FillHistAndArray(fNumareahi[j] == 0 ? 0. : fSumareahi[j]/fNumareahi[j]); 382 if (IsOscillations()) 383 histhi.FillHistAndArray(fNumareahi[j] == 0 ? 0. : fSumareahi[j]/fNumareahi[j]); 384 else 385 histhi.FillHist(fNumareahi[j] == 0 ? 0. : fSumareahi[j]/fNumareahi[j]); 376 386 377 387 if (IsLoGain()) 378 388 { 379 389 MHCalibrationPix &histlo = GetAverageLoGainArea(j); 380 histlo.FillHistAndArray(fNumarealo[j] == 0 ? 0. : fSumarealo[j]/fNumarealo[j]); 390 if (IsOscillations()) 391 histlo.FillHistAndArray(fNumarealo[j] == 0 ? 0. : fSumarealo[j]/fNumarealo[j]); 392 else 393 histlo.FillHist(fNumarealo[j] == 0 ? 0. : fSumarealo[j]/fNumarealo[j]); 381 394 } 382 395 } … … 385 398 { 386 399 MHCalibrationPix &histhi = GetAverageHiGainSector(j); 387 histhi.FillHistAndArray(fNumsectorhi[j] == 0 ? 0. : fSumsectorhi[j]/fNumsectorhi[j]); 400 if (IsOscillations()) 401 histhi.FillHistAndArray(fNumsectorhi[j] == 0 ? 0. : fSumsectorhi[j]/fNumsectorhi[j]); 402 else 403 histhi.FillHist(fNumsectorhi[j] == 0 ? 0. : fSumsectorhi[j]/fNumsectorhi[j]); 388 404 389 405 if (IsLoGain()) 390 406 { 391 407 MHCalibrationPix &histlo = GetAverageLoGainSector(j); 392 histlo.FillHistAndArray(fNumsectorlo[j] == 0 ? 0. : fSumsectorlo[j]/fNumsectorlo[j]); 408 if (IsOscillations()) 409 histlo.FillHistAndArray(fNumsectorlo[j] == 0 ? 0. : fSumsectorlo[j]/fNumsectorlo[j]); 410 else 411 histlo.FillHist(fNumsectorlo[j] == 0 ? 0. : fSumsectorlo[j]/fNumsectorlo[j]); 393 412 } 394 413 } -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6917 r6919 344 344 MHCalibrationChargePINDiode hpndiod; 345 345 MHCalibrationRelTimeCam hrelcam; 346 347 hchacam.SetOscillations(kFALSE); 348 hbndcam.SetOscillations(kFALSE); 349 hrelcam.SetOscillations(kFALSE); 346 350 347 351 MCalibrationChargeCam calcam; … … 730 734 filcam.SetFilter(&fcalib); 731 735 filtme.SetFilter(&fcalib); 732 if (IsUseBlindPixel()) 733 filbnd.SetFilter(&fcalib); 734 if (IsUsePINDiode()) 735 filpin.SetFilter(&fcalib); 736 filbnd.SetFilter(&fcalib); 737 filpin.SetFilter(&fcalib); 736 738 chcalc.SetFilter(&fcalib); 737 739 recalc.SetFilter(&fcalib); … … 745 747 if (fIsRelTimesUpdate) 746 748 tlist2.AddToList(&filtme); 747 tlist2.AddToList(&filbnd); 748 tlist2.AddToList(&filpin); 749 if (IsUseBlindPixel()) 750 tlist2.AddToList(&filbnd); 751 if (IsUsePINDiode()) 752 tlist2.AddToList(&filpin); 749 753 tlist2.AddToList(&chcalc); 750 754 if (fIsRelTimesUpdate) -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r6913 r6919 327 327 MHCamera disp4 (geomcam, "RSigmaPerCharge", "Reduced Sigma per Charge"); 328 328 MHCamera disp5 (geomcam, "NumPhes", "Number Photo-electrons"); 329 MHCamera disp6 (geomcam, "ConvFADC2Phes", " Conversion Factor to Phes");329 MHCamera disp6 (geomcam, "ConvFADC2Phes", "Phes per Charge (before flat-field)"); 330 330 MHCamera disp7 (geomcam, "TotalFFactor", "Total F-Factor(F-Factor Method)"); 331 331 MHCamera disp8 (geomcam, "CascadesQEFFactor", "Cascades QE (F-Factor Method)"); … … 452 452 453 453 disp5.SetYTitle("Photo-electons [1]"); 454 disp6.SetYTitle(" Conv.Factor [PhE/FADC cnts]");454 disp6.SetYTitle("Phes/<Q> [FADC cnts^{-1}]"); 455 455 disp7.SetYTitle("Total F-Factor [1]"); 456 456
Note:
See TracChangeset
for help on using the changeset viewer.