Changeset 4149 for trunk/MagicSoft


Ignore:
Timestamp:
05/24/04 17:06:31 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc

    r4146 r4149  
    146146  SetFFactorMethodValid    ( kFALSE );
    147147
     148  fNumPhotonsBlindPixelMethod    = 0.;
     149  fNumPhotonsFFactorMethod       = 0.;
     150  fNumPhotonsPINDiodeMethod      = 0.;
     151  fNumPhotonsBlindPixelMethodErr = 0.;
     152  fNumPhotonsFFactorMethodErr    = 0.; 
     153  fNumPhotonsPINDiodeMethodErr   = 0.; 
     154
    148155  MCalibrationCam::Clear();
    149156
     
    274281  }
    275282  *fLog << all << endl;
    276 
    277283}
    278284
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h

    r3936 r4149  
    1414private:
    1515 
    16   Byte_t  fFlags;                    // Bit-field to hold the flags
     16  Byte_t  fFlags;                       // Bit-field to hold the flags
    1717
     18  Float_t fNumPhotonsBlindPixelMethod;    // Average nr. photons from Blind Pixel Method (Inner Pixel)
     19  Float_t fNumPhotonsFFactorMethod;       // Average nr. photons from F-Factor Method (Inner Pixel)
     20  Float_t fNumPhotonsPINDiodeMethod;      // Average nr. photons from PIN Diode Method (Inner Pixel)
     21  Float_t fNumPhotonsBlindPixelMethodErr; // Error av. nr. photons from Blind Pixel Method
     22  Float_t fNumPhotonsFFactorMethodErr;    // Error av. nr. photons from F-Factor Method
     23  Float_t fNumPhotonsPINDiodeMethodErr;   // Error av. nr. photons from PIN Diode Method
     24 
    1825  enum  { kFFactorMethodValid };
    1926
     
    2835
    2936  // Getters
    30   Bool_t GetConversionFactorFFactor( Int_t ipx, Float_t &mean, Float_t &err, Float_t &ffactor );
    31   Bool_t GetPixelContent           ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    32   Bool_t IsFFactorMethodValid()      const;
     37  Bool_t  GetConversionFactorFFactor( Int_t ipx, Float_t &mean, Float_t &err, Float_t &ffactor );
     38  Bool_t  GetPixelContent           ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
     39
     40  Float_t GetNumPhotonsBlindPixelMethod   () const { return fNumPhotonsBlindPixelMethod;    }
     41  Float_t GetNumPhotonsFFactorMethod      () const { return fNumPhotonsFFactorMethod;       }     
     42  Float_t GetNumPhotonsPINDiodeMethod     () const { return fNumPhotonsPINDiodeMethod;      }   
     43  Float_t GetNumPhotonsBlindPixelMethodErr() const { return fNumPhotonsBlindPixelMethodErr; }
     44  Float_t GetNumPhotonsFFactorMethodErr   () const { return fNumPhotonsFFactorMethodErr;    }     
     45  Float_t GetNumPhotonsPINDiodeMethodErr  () const { return fNumPhotonsPINDiodeMethodErr;   }   
     46  Bool_t  IsFFactorMethodValid            () const;
    3347
    3448  // Inits
     
    3953
    4054  // Setters   
    41   void   SetFFactorMethodValid ( const Bool_t b=kTRUE );
    42 
     55  void  SetFFactorMethodValid ( const Bool_t b=kTRUE );
     56  void  SetNumPhotonsBlindPixelMethod ( const Float_t f )     { fNumPhotonsBlindPixelMethod    = f; }
     57  void  SetNumPhotonsFFactorMethod   ( const Float_t f )     { fNumPhotonsFFactorMethod       = f; }     
     58  void  SetNumPhotonsPINDiodeMethod  ( const Float_t f )     { fNumPhotonsPINDiodeMethod      = f; }   
     59  void  SetNumPhotonsBlindPixelMethodErr ( const Float_t f )  { fNumPhotonsBlindPixelMethodErr = f; }
     60  void  SetNumPhotonsFFactorMethodErr   ( const Float_t f )  { fNumPhotonsFFactorMethodErr    = f; }     
     61  void  SetNumPhotonsPINDiodeMethodErr  ( const Float_t f )  { fNumPhotonsPINDiodeMethodErr   = f; }   
     62 
    4363  ClassDef(MCalibrationChargeCam, 1) // Container Charge Calibration Results Camera
    4464};
Note: See TracChangeset for help on using the changeset viewer.