Changeset 2971


Ignore:
Timestamp:
01/30/04 10:16:10 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2970 r2971  
    1616     - include storage of number of used FADC slices to compare later
    1717       the pedestal per slice ( and sigma per slice_
     18
     19   * mcalib/MCalibrationCalc.[h,cc]
     20     - fBlindPixelId and fPINDiodeId now like in PedestalCam
     21     - fill Blind Pixel with information about its fitted pedestal if
     22       available
     23
    1824
    1925 2004/01/29: Abelardo Moralejo
  • trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.cc

    r2951 r2971  
    230230            MExtractedSignalPix &sig =  (*fSignals)[idx];           
    231231            const Float_t signal = sig.GetExtractedSignalHiGain();
    232             const Float_t signalPerSlice = signal/(Float_t)fSignals->GetNumUsedFADCSlices();
    233             (*fPedestals)[idx].FillHists(signalPerSlice);
     232            (*fPedestals)[idx].FillHists(signal);
    234233          }
    235234    }
     
    248247Int_t MPedCalcPedRun::PostProcess()
    249248{
     249
    250250  // Compute pedestals and rms from the whole run
    251251  const ULong_t n     = fNumSamplesTot;
     
    278278    }
    279279 
     280  fPedestals->SetNumTotSlices(fNumSamplesTot);
     281
     282  if (fUseHists)
     283    fPedestals->SetNumExtractSlices(fSignals->GetNumUsedHiGainFADCSlices());
     284
    280285  return kTRUE;
    281286}
  • trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.h

    r2956 r2971  
    3939private:
    4040
     41  static const Int_t fBlindPixelId;         // ID of the blind pixel
     42  static const Int_t fPINDiodeId;           // ID of the PIN Diode
     43 
    4144  MPedestalCam             *fPedestals;    // Pedestals of all pixels in the camera
    4245  MCalibrationCam          *fCalibrations; // Calibration events of all pixels in the camera
     
    5053  MTime                    *fEvtTime;      // Time of the event
    5154
    52   enum { kBlindPixelId = 559,               // ID of the blind pixel
    53          kPINDiodeId = 9999};              // ID of the PIN Diode
    54  
    5555  Int_t fEvents;                           // Number of events 
    5656  Int_t fCosmics;                          // Number of events due to supposed cosmics
Note: See TracChangeset for help on using the changeset viewer.