Changeset 6326 for trunk/MagicSoft


Ignore:
Timestamp:
02/10/05 00:57:22 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6324 r6326  
    4545     - allow exclusion of bad pixels from the beginning (default is
    4646       Pixel 0 and 559).
    47      - make MHPedestalCam data member
    4847     - removed some obsolete includes
    4948 
     
    5857
    5958   * mpedestal/MExtractPedestal.[h,cc]
     59   * mpedestal/MPedCalcPedRun.cc
     60   * mpedestal/MPedCalcFromLoGain.cc
    6061     - included possibility for intermediate pedestal cam (not yet used)
     62
     63   * msignal/MExtractTimeAndChargeDigitalFilterPeakSearch.cc
     64     - initialize the bad events counters to 0 also in constructor
    6165
    6266 2005/02/08 Markus Gaug
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilterPeakSearch.cc

    r6312 r6326  
    1616!
    1717!
    18 !   Author(s): Hendrik Bartko, 09/2004 <mailto:hbartko@mppmu.mpg.de>
    19 !   Author(s): Markus Gaug, 05/2004 <mailto:markus@ifae.es>
    20 !   Author(s): Diego Tescaro, 05/2004 <mailto:tescaro@pd.infn.it>
     18!   Author(s): Markus Gaug, 02/2005 <mailto:markus@ifae.es>
    2119!
    22 !   Copyright: MAGIC Software Development, 2000-2004
     20!   Copyright: MAGIC Software Development, 2000-2005
    2321!
    2422!
     
    2826//   MExtractTimeAndChargeDigitalFilterPeakSearch
    2927//
    30 //   Hendrik has promised to write more documentation
    31 //
    32 //
    33 //   The following variables have to be set by the derived class and
    34 //   do not have defaults:
    35 //   - fNumHiGainSamples
    36 //   - fNumLoGainSamples
    37 //   - fSqrtHiGainSamples
    38 //   - fSqrtLoGainSamples
    39 //
    40 // Input Containers:
    41 //   MRawEvtData
    42 //   MRawRunHeader
    43 //   MPedestalCam
    44 //
    45 // Output Containers:
    46 //   MArrivalTimeCam
    47 //   MExtractedSignalCam
     28//   An extractor using the digital filter in combination with a global
     29//   peak search, analogue to the class MExtractFixedWindowPeakSearch.
     30//
     31//   The extractor returns kFALSE if too many events lie outside the
     32//   range: (peak - fOffsetLeftFromPeak, peak - fOffsetRightFromPeak)
     33//
     34//   Input Containers:
     35//    MRawEvtData
     36//    MRawRunHeader
     37//    MPedestalCam
     38//
     39//   Output Containers:
     40//    MArrivalTimeCam
     41//    MExtractedSignalCam
    4842//
    4943//////////////////////////////////////////////////////////////////////////////
    5044#include "MExtractTimeAndChargeDigitalFilterPeakSearch.h"
    5145
    52 #include <errno.h>
    5346#include <fstream>
    5447
     
    10396//
    10497MExtractTimeAndChargeDigitalFilterPeakSearch::MExtractTimeAndChargeDigitalFilterPeakSearch(const char *name, const char *title)
    105     : fBadPixels(NULL)
     98    :   fHiGainOutOfRangeLeft(0), fHiGainOutOfRangeRight(0),
     99        fLoGainOutOfRangeLeft(0), fLoGainOutOfRangeRight(0),
     100        fBadPixels(NULL)
    106101{
    107102    fName  = name  ? name  : "MExtractTimeAndChargeDigitalFilterPeakSearch";
     
    466461Int_t MExtractTimeAndChargeDigitalFilterPeakSearch::PostProcess()
    467462{
    468   if (GetNumExecutions() == 0)
     463
     464  if (GetNumExecutions() < 1)
    469465    return kTRUE;
    470466
Note: See TracChangeset for help on using the changeset viewer.