Changeset 6919 for trunk/MagicSoft


Ignore:
Timestamp:
04/08/05 11:55:55 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6917 r6919  
    2222                                                 -*-*- END OF LINE -*-*-
    2323
     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
    2454 2005/04/08 Thomas Bretz
    2555
     
    4474       a spectrum
    4575
     76   * mjobs/MJCalibrateSignal.cc:
     77     - removed condition IsUseBlindPixel() and IsUsePINDiode from
     78       setting filter and applied it to the corresponding task
     79
    4680
    4781
     
    117151
    118152   * msignal/MExtractTimeAndChargeDigitalFilter.cc
    119      - moved fgOffsetFromLogain from -1.8 to -2.5. This corrects only an
     153     - moved fgOffsetFromLogain from -1.8 to -2.8. This corrects only an
    120154       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.
    122156
    123157
  • trunk/MagicSoft/Mars/callisto_Dec04Jan05.rc

    r6913 r6919  
    4040# reference lines in the status display
    4141# -------------------------------------------------------------------------
    42 #MJPedestalC1.ReferenceFile: mjobs/pedestalref.rc
    43 #MJPedestalC2.ReferenceFile: mjobs/pedestalref.rc
     42MJPedestalC1.ReferenceFile: mjobs/pedestalref_Dec04.rc
     43MJPedestalC2.ReferenceFile: mjobs/pedestalref_Dec04.rc
    4444MJCalibration.ReferenceFile: mjobs/calibrationref_Dec04.rc
    4545MJCalibration.MHCalibrationRelTimeCam.ReferenceFile: mjobs/calibrationref_Dec04.rc
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r6886 r6919  
    988988          {
    989989            *fLog << warn << "Saturated Lo Gain histogram in area idx: " << j << endl;
    990             histlo.CreateFourierSpectrum();
     990            if (IsOscillations())
     991                histlo.CreateFourierSpectrum();
    991992            continue;
    992993          }
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc

    r6215 r6919  
    351351
    352352          MHCalibrationPix &histlo = (*this)(i);
    353           histlo.FillHistAndArray(time-reftime);
     353          if (IsOscillations())
     354              histlo.FillHistAndArray(time-reftime);
     355          else
     356              histlo.FillHist(time-reftime);
    354357
    355358          fSumarealo  [aidx]   += time;
     
    362365          const Float_t time = pix.GetArrivalTimeHiGain();
    363366
    364           histhi.FillHistAndArray(time-reftime) ;
     367          if (IsOscillations())
     368              histhi.FillHistAndArray(time-reftime);
     369          else
     370              histhi.FillHist(time-reftime);
     371
    365372          fSumareahi  [aidx]   += time;
    366373          fNumareahi  [aidx]   ++;
     
    373380    {
    374381      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]);
    376386
    377387      if (IsLoGain())
    378388        {
    379389          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]);
    381394        }
    382395    }
     
    385398    {
    386399      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]);
    388404
    389405      if (IsLoGain())
    390406        {
    391407          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]);
    393412        }
    394413    }
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r6917 r6919  
    344344    MHCalibrationChargePINDiode hpndiod;
    345345    MHCalibrationRelTimeCam     hrelcam;
     346
     347    hchacam.SetOscillations(kFALSE);
     348    hbndcam.SetOscillations(kFALSE);
     349    hrelcam.SetOscillations(kFALSE);
    346350
    347351    MCalibrationChargeCam      calcam;
     
    730734        filcam.SetFilter(&fcalib);
    731735        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);
    736738        chcalc.SetFilter(&fcalib);
    737739        recalc.SetFilter(&fcalib);
     
    745747        if (fIsRelTimesUpdate)
    746748          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);
    749753        tlist2.AddToList(&chcalc);
    750754        if (fIsRelTimesUpdate)
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r6913 r6919  
    327327    MHCamera disp4 (geomcam, "RSigmaPerCharge",   "Reduced Sigma per Charge");
    328328    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)");
    330330    MHCamera disp7 (geomcam, "TotalFFactor",      "Total F-Factor(F-Factor Method)");
    331331    MHCamera disp8 (geomcam, "CascadesQEFFactor", "Cascades QE (F-Factor Method)");
     
    452452
    453453    disp5.SetYTitle("Photo-electons [1]");
    454     disp6.SetYTitle("Conv.Factor [PhE/FADC cnts]");
     454    disp6.SetYTitle("Phes/<Q> [FADC cnts^{-1}]");
    455455    disp7.SetYTitle("Total F-Factor [1]");
    456456
Note: See TracChangeset for help on using the changeset viewer.