Ignore:
Timestamp:
11/11/04 10:32:21 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mpedestal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcFromLoGain.cc

    r5378 r5381  
    576576//
    577577//  The following resources are available:
    578 //    FirstCheckWindowSlice: 0
    579 //    LastCheckWindowSlice: 29
    580 //    ExtractWindowFirst:   15
    581 //    ExtractWindowSize:     6
    582 //    NumEventsDump:
     578//    FirstCheckWindowSlice:  0
     579//    LastCheckWindowSlice:  29
     580//    ExtractWindowFirst:    15
     581//    ExtractWindowSize:      6
     582//    NumEventsDump:        500
     583//    MaxSignalVar:          40
     584//    PedestalUpdate:       yes
    583585//
    584586Int_t MPedCalcFromLoGain::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
    585587{
    586     if (MExtractor::ReadEnv(env, prefix, print)==kERROR)
    587         return kERROR;
    588 
    589588    Bool_t rc=kFALSE;
    590589
     
    653652    *fLog << "Max allowed signal variation: " << fMaxSignalVar << endl;
    654653    *fLog << "Pedestal Update is " << (fPedestalUpdate?"on":"off") << endl;
    655     MExtractor::Print(o);
    656 }
     654}
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcFromLoGain.h

    r5378 r5381  
    22#define MARS_MPedCalcFromLoGain
    33
    4 #ifndef MARS_MExtractor
    5 #include "MExtractor.h"
     4#ifndef MARS_MTask
     5#include "MTask.h"
    66#endif
    77
     
    1515
    1616class MGeomCam;
    17 class MBadPixelsCam;
     17class MPedestalCam;
     18class MRawEvtData;
    1819class MRawEvtPixelIter;
     20class MRawRunHeader;
    1921
    20 class MPedCalcFromLoGain : public MExtractor
     22class MPedCalcFromLoGain : public MTask
    2123{
    2224    static const UShort_t fgCheckWinFirst;    // First FADC slice to check for signal (currently set to: 0)
     
    2628    static const UShort_t fgMaxSignalVar;     // The maximum difference between the highest and lowest slice
    2729
    28     MGeomCam *fGeom;                          // Camera geometry
     30    MGeomCam      *fGeom;        //! Camera geometry
     31    MPedestalCam  *fPedestals;   //! Pedestals of all pixels in the camera
     32    MRawEvtData   *fRawEvt;      //! Raw event data (time slices)
     33    MRawRunHeader *fRunHeader;   //! RunHeader information
    2934
    30     UInt_t   fNumEventsDump;                  // Number of event after which MPedestalCam gets updated
     35    UInt_t   fNumEventsDump;     // Number of event after which MPedestalCam gets updated
    3136
    3237    UShort_t fMaxSignalVar;
    3338    UShort_t fCheckWinFirst;
    3439    UShort_t fCheckWinLast;
    35     UShort_t fExtractWinSize;                 // Number of slices to calculate the pedestal from
     40    UShort_t fExtractWinSize;    // Number of slices to calculate the pedestal from
    3641    UShort_t fExtractWinFirst;
    3742    UShort_t fExtractWinLast;
Note: See TracChangeset for help on using the changeset viewer.