Changeset 4388 for trunk/MagicSoft


Ignore:
Timestamp:
07/15/04 12:14:21 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc

    r4386 r4388  
    2929//  Extracts the signal from a fixed window in a given range.
    3030//
    31 //  Call: SetRange(fHiGainFirst, fHiGainLast, fLoGainFirst, fLoGainLast)
    32 //  to modify the ranges. The "lo-gain" ranges are used for the NSB rejection
    33 //  whereas the high-gain ranges for blind pixel signal extraction. "High-gain"
    34 //  ranges can extend to the slices stored as "low-gain" in MRawEvtPixelIter
    35 //  Defaults are:
    36 //
    37 //   fHiGainFirst =  fgHiGainFirst =  12
    38 //   fHiGainLast  =  fgHiGainLast  =  16
    39 //   fLoGainFirst =  fgLoGainFirst =  0
    40 //   fLoGainLast  =  fgLoGainLast  =  10
     31//  Before run 31693 (gkModificationRun):
     32//
     33//    Call: SetRange(fHiGainFirst, fHiGainLast, fLoGainFirst, fLoGainLast)
     34//    to modify the ranges. The "low-gain" ranges are used for the NSB rejection
     35//    whereas the high-gain ranges for blind pixel signal extraction. "High-gain"
     36//    ranges can extend to the slices stored as "low-gain" in MRawEvtPixelIter
     37//
     38//    Defaults are:
     39//
     40//     fHiGainFirst =  fgHiGainFirst =  10
     41//     fHiGainLast  =  fgHiGainLast  =  29
     42//     fLoGainFirst =  fgLoGainFirst =  0
     43//     fLoGainLast  =  fgLoGainLast  =  7
     44//
     45//  After run 31693 (gkModificationRun):
     46//
     47//   Call: SetFirst(), SetLast() to modify the ranges. No filter is applied,
     48//   but instead the signal amplitude is extracted using Cubic spline.
     49//
     50//    Defaults are:
     51//
     52//     fHiGainFirst =  fgFirst =  0
     53//     fHiGainLast  =  fgLast  =  7
    4154//
    4255//////////////////////////////////////////////////////////////////////////////
     
    6881const Byte_t  MExtractBlindPixel::fgHiGainLast       =  29;
    6982const Byte_t  MExtractBlindPixel::fgLoGainFirst      =   0;
    70 const Byte_t  MExtractBlindPixel::fgLoGainLast       =   6;
     83const Byte_t  MExtractBlindPixel::fgLoGainLast       =   7;
    7184const Int_t   MExtractBlindPixel::fgNSBFilterLimit   =  70;
    7285const Float_t MExtractBlindPixel::fgResolution       = 0.003;
     
    329342
    330343  *fLog << endl;
    331   *fLog << inf << GetDescriptor() << ": Taking " << range
    332         << " FADC samples from "
     344  *fLog << inf << GetDescriptor() << ": Extracting "
     345        << Form("%s",IsExtractionType(kAmplitude) ? "Amplitude " : " Integral ")
     346        << " using " << range << " FADC samples from "
    333347        << Form("%s%2i",fHiLoFirst ? "Low Gain slice " : " High Gain slice ",
    334348                fHiLoFirst ? (Int_t)fHiLoFirst : (Int_t)fHiGainFirst)
     
    337351                fHiLoLast ?  (Int_t)fHiLoLast-1 : (Int_t)fHiGainLast )
    338352        << endl;
    339 
     353  if (IsExtractionType(kFilter))
     354    *fLog << inf << GetDescriptor() << ": Will use Filter using "
     355          << (Int_t)(fLoGainLast-fLoGainFirst+1) << " FADC slices "
     356          << "from High Gain slice " << (Int_t)fLoGainFirst
     357          << " to High Gain slice " << (Int_t)fLoGainLast << endl;
    340358
    341359  fBlindPixel->SetUsedFADCSlices(fHiGainFirst, range);
Note: See TracChangeset for help on using the changeset viewer.