Changeset 4190 for trunk


Ignore:
Timestamp:
05/26/04 11:26:19 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4189 r4190  
    3030   * mjobs/MJExtractCalibTest.[h,cc]
    3131     - don't derive from MGCamDisplays any more.
     32
     33
     34   * msignal/MExtractBlindPixel.cc
     35     - adjusted some default numbers for the current blind pixel
     36
     37   * msignal/MExtractedSignalBlindPixel.[h,cc]
     38     - set extracted signal from UInt_t to Int_t (sometimes, less than
     39       0)
    3240
    3341
  • trunk/MagicSoft/Mars/mjobs/JobsLinkDef.h

    r3855 r4190  
    1010#pragma link C++ class MJExtractCalibTest+;
    1111
    12 #pragma link C++ class MGCamDisplays+;
    13 
    1412#endif
  • trunk/MagicSoft/Mars/mjobs/Makefile

    r3982 r4190  
    2828           MJCalibration.cc \
    2929           MJExtractSignal.cc \
    30            MJExtractCalibTest.cc \
    31            MGCamDisplays.cc
     30           MJExtractCalibTest.cc
    3231
    3332############################################################
  • trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc

    r3962 r4190  
    6363
    6464const Int_t  MExtractBlindPixel::fgBlindPixelIdx  = 559;
    65 const Int_t  MExtractBlindPixel::fgNSBFilterLimit = 800;
    66 const Byte_t MExtractBlindPixel::fgHiGainFirst    =  12;
     65const Int_t  MExtractBlindPixel::fgNSBFilterLimit = 100;
     66const Byte_t MExtractBlindPixel::fgHiGainFirst    =  10;
    6767const Byte_t MExtractBlindPixel::fgHiGainLast     =  29;
    6868const Byte_t MExtractBlindPixel::fgLoGainFirst    =  0;
    69 const Byte_t MExtractBlindPixel::fgLoGainLast     =  10;
     69const Byte_t MExtractBlindPixel::fgLoGainLast     =  7;
    7070// --------------------------------------------------------------------------
    7171//
     
    168168  if (fHiLoLast == 0)
    169169    return;
     170
    170171 
    171172  end = logain + fHiLoLast;
     
    173174    {
    174175      sum += *logain;
    175      
     176
    176177      if (*logain++ >= fSaturationLimit)
    177178            sat++;
     
    233234  sat = 0;
    234235
    235   FindSignalHiGain(pixel.GetHiGainSamples()+fLoGainFirst, pixel.GetLoGainSamples(), sum, sat);
     236  FindSignalHiGain(pixel.GetHiGainSamples()+fHiGainFirst, pixel.GetLoGainSamples(), sum, sat);
    236237 
    237238  fBlindPixel->SetExtractedSignal(sum);
  • trunk/MagicSoft/Mars/msignal/MExtractedSignalBlindPixel.cc

    r3322 r4190  
    4040using namespace std;
    4141
    42 static const UInt_t gkSignalInitializer = 99999;
     42static const Int_t gkSignalInitializer = 99999;
    4343
    4444// ------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/msignal/MExtractedSignalBlindPixel.h

    r3322 r4190  
    1212private:
    1313
    14   UInt_t fExtractedSignal;    // mean value of the extracted signal
     14  Int_t fExtractedSignal;    // mean value of the extracted signal
    1515
    1616  Byte_t fFirst;
     
    3333 
    3434  // Setter
    35   void SetExtractedSignal(const UInt_t sig    )    { fExtractedSignal = sig;     }
     35  void SetExtractedSignal(const Int_t sig    )    { fExtractedSignal = sig;     }
    3636  void SetNumSaturated(   const Byte_t numsat )    { fNumSaturated    = numsat;  }
    3737  void SetUsedFADCSlices( const Byte_t first, const Byte_t num);
     
    4646
    4747    // Getter
    48   UInt_t GetExtractedSignal()    const { return fExtractedSignal; }
     48  Int_t GetExtractedSignal()    const { return fExtractedSignal; }
    4949  Byte_t GetNumFADCSamples()     const { return fNumFADCSamples;  }
    5050  Int_t  GetBlindPixelIdx()      const { return fBlindPixelIdx; } 
Note: See TracChangeset for help on using the changeset viewer.