Changeset 3837 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/26/04 18:27:04 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3836 r3837  
    3737   * mcalib/MCalibrationCam.h
    3838     - make Init() and InitSize() virtual
     39
     40   * mcalib/MCalibrationChargeCam.[h,cc]
     41     - introduce two TArrayI's for the number of uncalibrated and
     42       unreliable pixels.
     43
     44   * mcalib/MCalibrationChargeCalc.[h,cc]
     45     - calculate and store the above numbers.
    3946
    4047
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h

    r3712 r3837  
    66#endif
    77
     8#ifndef ROOT_TArrayI
     9#include "TArrayI.h"
     10#endif
     11
    812class MCalibrationChargeCam : public MCalibrationCam
    913{
    1014private:
    1115 
     16  TArrayI fNumUncalibrated;
     17  TArrayI fNumUnreliable;
     18
    1219  Byte_t  fFlags;                    // Bit-field to hold the flags
    1320
     
    2532  // Getters
    2633  Bool_t GetConversionFactorFFactor( Int_t ipx, Float_t &mean, Float_t &err, Float_t &ffactor );
     34  Int_t  GetNumUncalibrated        ( const Int_t aidx) const   { return fNumUncalibrated[aidx]; }
     35  Int_t  GetNumUnreliable          ( const Int_t aidx) const   { return fNumUnreliable  [aidx]; }
    2736  Bool_t GetPixelContent           ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    2837  Bool_t IsFFactorMethodValid()      const;
    2938
     39  // Inits
     40  void  Init                   ( const MGeomCam &geom         );
     41 
    3042  // Prints
    3143  void   Print(Option_t *o="")         const;
    3244
    3345  // Setters   
    34   void   SetFFactorMethodValid (const Bool_t b=kTRUE );
     46  void   SetFFactorMethodValid ( const Bool_t b=kTRUE );
     47  void   SetNumUncalibrated    ( const Int_t i, const Int_t aidx)   { fNumUncalibrated[aidx] = i; }
     48  void   SetNumUnreliable      ( const Int_t i, const Int_t aidx)   { fNumUnreliable  [aidx] = i; }
    3549
    3650  ClassDef(MCalibrationChargeCam, 1) // Container Charge Calibration Results Camera
Note: See TracChangeset for help on using the changeset viewer.