Changeset 3888 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/29/04 15:45:42 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3880 r3888  
    3030       checks of the range there. Slight differences in every extractor
    3131       because of the floating windows.
     32
     33
     34   * mpedestals/MPedCalcPedRun.[h,cc]
     35     - add the possibility to set ranges and extraction windows. Default
     36       is what has always been
    3237
    3338
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.h

    r3803 r3888  
    22#define MARS_MPedCalcPedRun
    33
    4 #ifndef MARS_MTask
    5 #include "MTask.h"
     4#ifndef MARS_MExtractor
     5#include "MExtractor.h"
    66#endif
    77
     
    1414#endif
    1515
    16 class MRawEvtData;
    17 class MPedestalCam;
    1816class MGeomCam;
    19 class MPedCalcPedRun : public MTask
     17class MPedCalcPedRun : public MExtractor
    2018{
    2119
    22   Byte_t fNumHiGainSamples;
    23   UInt_t fNumSamplesTot;
     20  static const Byte_t fgHiGainFirst;      // First FADC slice Hi-Gain (currently set to: 3)
     21  static const Byte_t fgHiGainLast;       // Last FADC slice Hi-Gain (currently set to: 14)
     22  static const Byte_t fgLoGainFirst;      // First FADC slice Lo-Gain (currently set to: 3)
     23  static const Byte_t fgLoGainLast;       // Last FADC slice Lo-Gain (currently set to: 14)
     24  static const Byte_t fgHiGainWindowSize; // The extraction window Hi-Gain
     25  static const Byte_t fgLoGainWindowSize; // The extraction window Lo-Gain
     26
     27  UInt_t  fNumSamplesTot;
     28  Byte_t  fWindowSizeHiGain;             // Number of Hi Gain slices in window
     29  Byte_t  fWindowSizeLoGain;             // Number of Lo Gain slices in window 
    2430 
    25   MRawEvtData  *fRawEvt;     // raw event data (time slices)
    26   MPedestalCam *fPedestals;  // Pedestals of all pixels in the camera
    2731  MGeomCam     *fGeom;       // Camera geometry
    2832 
     
    4650 
    4751  void Clear(const Option_t *o="");
    48   void SetNumHiGainSamples(const Byte_t n)      { fNumHiGainSamples = n;   }
     52  void SetRange(Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0);
     53  void SetWindowSize(Byte_t windowh=0, Byte_t windowl=0);
    4954 
    5055  ClassDef(MPedCalcPedRun, 0)   // Task to calculate pedestals from pedestal runs raw data
Note: See TracChangeset for help on using the changeset viewer.