Ignore:
Timestamp:
01/19/04 23:02:57 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2760 r2852  
    1414#include "MTask.h"
    1515#endif
     16
     17#ifndef ROOT_TArrayI
     18#include "TArrayI.h"
     19#endif
     20
     21#ifndef MARS_MCalibrationCam
     22#include "MCalibrationCam.h"
     23#endif
     24
     25#include "TString.h"
    1626
    1727class MRawEvtData;
     
    4555  Float_t fSqrtHiGainSamples;
    4656 
     57  Float_t fConversionHiLo;
    4758  Byte_t fFlags;                           // Flag for the fits used
    48    
    49   Float_t fConversionHiLo;
     59
     60  TString fExcludedPixelsFile;
     61  UInt_t  fNumExcludedPixels;
    5062 
    51   enum  { kUseTimeFits, kUseBlindPixelFit, kUsePinDiodeFit };
    52 
    5363public:
    5464 
     
    6878  MCalibrationCalc(const char *name=NULL, const char *title=NULL);
    6979
    70   void SetSkipTimeFits(Bool_t b=kTRUE)
     80
     81private:
     82
     83  enum  { kUseTimeFits, kUseBlindPixelFit, kUsePinDiodeFit };
     84
     85public:
     86
     87  // Skipping fits
     88  void SkipTimeFits(Bool_t b=kTRUE)
    7189      {b ? CLRBIT(fFlags, kUseTimeFits) : SETBIT(fFlags, kUseTimeFits);}
    72   void SetSkipBlindPixelFit(Bool_t b=kTRUE)
     90  void SkipBlindPixelFit(Bool_t b=kTRUE)
    7391      {b ? CLRBIT(fFlags, kUseBlindPixelFit) : SETBIT(fFlags, kUseBlindPixelFit);}
    74   void SetSkipPinDiodeFit(Bool_t b=kTRUE)
     92  void SkipPinDiodeFit(Bool_t b=kTRUE)
    7593      {b ? CLRBIT(fFlags, kUsePinDiodeFit) : SETBIT(fFlags, kUsePinDiodeFit);}
    7694
     95  // Setters
    7796  void SetPulserColor(PulserColor_t color)    { fColor = color; }
     97  void SetConversionHiLo(Float_t conv)         { fConversionHiLo = conv; }
    7898
    79   void SetConversionHiLo(Float_t conv)         { fConversionHiLo = conv; }
     99  // Getters
     100  MCalibrationBlindPix *GetBlindPixel()   const   { return fCalibrations->GetBlindPixel();  }
     101  MCalibrationPINDiode *GetPINDiode()     const   { return fCalibrations->GetPINDiode();  } 
     102
     103  // Exclude pixels from configuration file
     104  void ExcludePixelsFromAsciiFile(const char *file) { fExcludedPixelsFile = file;  }
    80105 
    81106  ClassDef(MCalibrationCalc, 1)   // Task to fill the Calibration Containers from raw data
Note: See TracChangeset for help on using the changeset viewer.