Ignore:
Timestamp:
01/16/05 12:48:33 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrateData.h

    r5853 r5854  
    2121#endif
    2222
     23#ifndef MARS_MArrayF
     24#include "MArrayF.h"
     25#endif
     26
    2327class MGeomCam;
    2428class MBadPixelsCam;
     
    3438{
    3539private:
     40
    3641  MGeomCam              *fGeomCam;       //! Camera geometry container
    3742  MBadPixelsCam         *fBadPixels;     //! Bad Pixels information
     
    5156  TList fPedPhotCams;                    //! List of pointers to corresponding output MPedPhotCam
    5257
    53   Int_t Calibrate(Bool_t data, Bool_t pedestal) const;
     58  MArrayF fCalibConsts;                  //! Array of calibration constants for each pixel, calculated only once!
     59  MArrayF fCalibFFactors;                //! Array of calibration F-Factors for each pixel, calculated only once! 
     60  MArrayF fHiLoConv;                     //! Array of calibration constants for each pixel, calculated only once!
     61  MArrayF fHiLoConvErr;                  //! Array of calibration F-Factors for each pixel, calculated only once! 
    5462 
    55   Bool_t GetConversionFactor(UInt_t, Float_t &, Float_t &, Float_t &, Float_t &, Float_t &) const;
     63  Int_t  Calibrate(Bool_t data, Bool_t pedestal) const;
    5664 
    5765  Int_t  PreProcess(MParList *pList);
     
    93101                 const char *name=NULL, const char *title=NULL);
    94102 
     103  void   AddPedestal(const char *name="Cam");
     104  void   AddPedestal(const char *pedestal, const char *pedphot);
     105
    95106  void   EnablePedestalType(PedestalType_t i)     { fPedestalFlag |=  i;      }
    96107  void   SetPedestalFlag(PedestalType_t i=kRun)   { fPedestalFlag  =  i;      }
     
    100111  void   SetSignalType      ( SignalType_t      sigtype=kPhot    ) { fSignalType     =sigtype; } 
    101112
    102   void   AddPedestal(const char *name="Cam");
    103   void   AddPedestal(const char *pedestal, const char *pedphot);
    104 
     113  Bool_t UpdateConversionFactors();
     114 
    105115  ClassDef(MCalibrateData, 1)   // Task to calibrate FADC counts into Cherenkov photons
    106116};
Note: See TracChangeset for help on using the changeset viewer.