Ignore:
Timestamp:
04/09/04 19:17:17 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.h

    r3199 r3701  
    1010#endif
    1111
     12#ifndef ROOT_TArrayI
     13#include <TArrayI.h>
     14#endif
     15
    1216class MRawEvtData;
    1317class MPedestalCam;
    14 
     18class MGeomCam;
    1519class MPedCalcPedRun : public MTask
    1620{
    17     Byte_t fNumHiGainSamples;
    18     UInt_t fNumSamplesTot;
    1921
    20     MRawEvtData  *fRawEvt;     // raw event data (time slices)
    21     MPedestalCam *fPedestals;  // Pedestals of all pixels in the camera
     22  Byte_t fNumHiGainSamples;
     23  UInt_t fNumSamplesTot;
     24 
     25  MRawEvtData  *fRawEvt;     // raw event data (time slices)
     26  MPedestalCam *fPedestals;  // Pedestals of all pixels in the camera
     27  MGeomCam     *fGeom;       // Camera geometry
     28 
     29  TArrayF fSumx;         // sum of values
     30  TArrayF fSumx2;        // sum of squared values
     31  TArrayF fAreaSumx;     // averaged sum of values per area idx
     32  TArrayF fAreaSumx2;    // averaged sum of squared values per area idx
     33  TArrayI fAreaValid;    // number of valid pixel with area idx 
     34  TArrayF fSectorSumx;   // averaged sum of values per sector
     35  TArrayF fSectorSumx2;  // averaged sum of squared values per sector
     36  TArrayI fSectorValid;  // number of valid pixel with sector idx 
     37 
     38  Int_t  PreProcess ( MParList *pList );
     39  Bool_t ReInit     ( MParList *pList );
     40  Int_t  Process    ();
     41  Int_t  PostProcess();
     42 
     43public:
    2244
    23     TArrayF fSumx;   // sum of values
    24     TArrayF fSumx2;  // sum of squared values
    25 
    26     Bool_t ReInit(MParList *pList);
    27 
    28     Int_t PreProcess(MParList *pList);
    29     Int_t Process();
    30     Int_t PostProcess();
    31 
    32 public:
    33     MPedCalcPedRun(const char *name=NULL, const char *title=NULL);
    34 
    35     void Clear(const Option_t *o="");
    36     void SetNumHiGainSamples(const Byte_t n)      { fNumHiGainSamples = n;   }
    37    
    38     ClassDef(MPedCalcPedRun, 0)   // Task to calculate pedestals from pedestal runs raw data
     45  MPedCalcPedRun(const char *name=NULL, const char *title=NULL);
     46 
     47  void Clear(const Option_t *o="");
     48  void SetNumHiGainSamples(const Byte_t n)      { fNumHiGainSamples = n;   }
     49 
     50  ClassDef(MPedCalcPedRun, 0)   // Task to calculate pedestals from pedestal runs raw data
    3951};
    4052
Note: See TracChangeset for help on using the changeset viewer.