Changeset 3201 for trunk/MagicSoft


Ignore:
Timestamp:
02/16/04 15:54:34 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3199 r3201  
    1414   * mcalib/MExtractedSignalBlindPixel.[h,cc]
    1515     - new container for the extracted signal of the BlindPixel
     16
     17   * mcalib/MCalibrationCalc.[h,cc]
     18     - does not extract signal from Blind Pixel any more, searches
     19       for MExtractedSignalBlindPixel and fills the hists from there
    1620
    1721   * manalysis/MPedestalCam.h
  • trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.h

    r3173 r3201  
    3131class MCalibrationCam;
    3232class MExtractedSignalCam;
     33class MExtractedSignalBlindPixel;
    3334
    3435class MTime;
     
    3839private:
    3940
    40   static const UInt_t fgBlindPixelId;           // ID of the blind pixel
    41   static const UInt_t fgPINDiodeId;             // ID of the PIN Diode
    42   static const Byte_t fgSaturationLimit;        // Saturation of Hi Gain
    43   static const Int_t  fgBlindPixelFirst;        // First FADC slice blind pixel
    44   static const Int_t  fgBlindPixelLast;         // Last FADC slice blind pixel
    45   static const Int_t  fgBlindPixelSinglePheCut; // FADC sum from which on an event is considered as a S.ph. one.
     41  static const UInt_t fgBlindPixelIdx;          // ID of the blind pixel
     42  static const UInt_t fgPINDiodeIdx;            // ID of the PIN Diode
     43  static const UInt_t fgBlindPixelSinglePheCut; // FADC sum from which on an event is considered as a S.ph. one.
    4644 
    47   MPedestalCam             *fPedestals;         // Pedestals of all pixels in the camera
    48   MCalibrationCam          *fCalibrations;      // Calibration events of all pixels in the camera
    49   MExtractedSignalCam      *fSignals;           // Calibration events of all pixels in the camera
     45  MPedestalCam               *fPedestals;         // Pedestals of all pixels in the camera
     46  MCalibrationCam            *fCalibrations;      // Calibration events of all pixels in the camera
     47  MExtractedSignalCam        *fSignals;           // Extracted signal of all pixels in the camera
     48  MExtractedSignalBlindPixel *fBlindPixel;        // Extracted signal of the blind pixel 
    5049
    5150  MRawEvtData              *fRawEvt;            // raw event data (time slices)
     
    5453  MTime                    *fEvtTime;           // Time of the event
    5554
     55  UInt_t fBlindPixelIdx; 
     56  UInt_t fPINDiodeIdx;     
     57 
    5658  Byte_t  fNumHiGainSamples;
    5759  Byte_t  fNumLoGainSamples;
    5860  Float_t fSqrtHiGainSamples;
    5961 
    60   Int_t   fBlindPixelFirst;
    61   Int_t   fBlindPixelLast;
    62   Int_t   fBlindPixelSinglePheCut;
     62  UInt_t  fBlindPixelSinglePheCut;
    6363
    6464  Int_t   fNumBlindPixelSinglePhe;
     
    9090  Int_t PostProcess();
    9191
    92   Bool_t CalcSignalBlindPixel(Byte_t *ptr, Float_t &signal) const; 
    9392 
    9493public:
     
    110109  void SetConversionHiLo(Float_t conv)         { fConversionHiLo = conv; }
    111110
    112   void SetBlindPixelRange(Int_t first=fgBlindPixelFirst, Int_t last=fgBlindPixelLast);
    113   void SetBlindPixelSinglePheCut(Int_t cut=fgBlindPixelSinglePheCut)   
     111  void SetBlindPixelSinglePheCut(const Int_t cut=fgBlindPixelSinglePheCut)   
    114112                                               { fBlindPixelSinglePheCut = cut;  }
    115  
     113
     114  void SetPINDiodeIdx(const UInt_t idx=fgPINDiodeIdx)     {   fPINDiodeIdx   = idx; }
     115  void SetBlindPixelIdx(const UInt_t idx=fgBlindPixelIdx)  {   fBlindPixelIdx = idx; }
     116
    116117  // Getters
    117118  MCalibrationBlindPix *GetBlindPixel() const;
  • trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.cc

    r3198 r3201  
    105105    fBlindPixel->SetUsedFADCSlices(fFirst, fLast);
    106106
    107 
    108107    return kTRUE;
    109108}
  • trunk/MagicSoft/Mars/mcalib/MExtractPINDiode.cc

    r3195 r3201  
    4949using namespace std;
    5050
    51 const UInt_t MExtractPINDiode::fgPINDiodeIdx     = 999;
     51const UInt_t MExtractPINDiode::fgPINDiodeIdx     = 1;
    5252const Byte_t MExtractPINDiode::fgSaturationLimit = 254;
    5353const Byte_t MExtractPINDiode::fgFirst =  1;
Note: See TracChangeset for help on using the changeset viewer.