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/MCalibrationCam.h

    r2765 r2852  
    6262  TH2D* fOffvsSlope;                          //!
    6363
     64  UInt_t  fNumExcludedPixels;
     65
    6466public:
    6567 
     
    7880 
    7981  void InitSize(const Int_t i);
     82
     83  // Setters
     84  void SetColor(const CalibrationColor_t color)       {  fColor = color; }
     85  void SetNumPixelsExcluded(const UInt_t n)               {  fNumExcludedPixels = n;    }
     86   
     87  // Getters
    8088  Int_t GetSize()                    const;
    81 
    8289  UInt_t GetNumPixels()              const { return fNumPixels; }
    8390
    84   Bool_t IsPixelUsed(Int_t idx)      const;
    85   Bool_t IsPixelFitted(Int_t idx)    const;
    86  
    87   MCalibrationPix &operator[](Int_t i);
    88   MCalibrationPix &operator[](Int_t i) const;
    89  
    90   Bool_t CheckBounds(Int_t i) const;
    91 
    92   void Print(Option_t *o="") const;
    93  
    94   void CutEdges();
    95  
    96   Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    97   void   DrawPixelContent(Int_t num) const;   
    98  
    9991  MCalibrationBlindPix *GetBlindPixel()              const { return fBlindPixel;  }
    10092  MCalibrationPINDiode *GetPINDiode()                const { return fPINDiode;    }
    101 
    102   void SetColor(CalibrationColor_t color)                     { fColor = color; }
    10393
    10494  Bool_t GetConversionFactorFFactor(Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma);
     
    10797  Bool_t GetConversionFactorCombined(Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma);
    10898
     99  Bool_t IsPixelUsed(Int_t idx)      const;
     100  Bool_t IsPixelFitted(Int_t idx)    const;
     101
     102  // Others
     103  MCalibrationPix &operator[](Int_t i);
     104  MCalibrationPix &operator[](Int_t i) const;
     105 
     106  void CutEdges();
     107  Bool_t CheckBounds(Int_t i) const;
     108
     109  // Prints
     110  void Print(Option_t *o="") const;
     111 
     112  // Draws
     113  void DrawPixelContent(Int_t num) const;   
     114  void DrawHiLoFits();
     115 
     116  // Others
     117  Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
     118
    109119  Bool_t CalcNumPhotInsidePlexiglass();
    110120  Bool_t CalcNumPhotOutsidePlexiglass();
    111 
    112   void DrawHiLoFits();
    113121
    114122  ClassDef(MCalibrationCam, 1)  // Storage Container for all calibration information of the camera
Note: See TracChangeset for help on using the changeset viewer.