Ignore:
Timestamp:
07/13/05 19:06:26 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r6073 r7188  
    99{
    1010private:
    11 
    1211    Float_t fCalibConst;        // conversion factor (modified after each interlaced cal. update)
    1312    Float_t fCalibFFactor;      // global F-Factor   (modified after each interlaced cal. update)
    1413
    1514public:
    16  
    1715    MCalibConstPix();
    18    
     16
     17    // TObject
    1918    void Clear(Option_t *o="")
    20       {
    21         fCalibConst   = -1.;
    22         fCalibFFactor = -1.;
    23       }
    24    
     19    {
     20        fCalibConst   = -1.;
     21        fCalibFFactor = -1.;
     22    }
     23
     24    void Copy(TObject &object) const
     25    {
     26        MCalibConstPix &pix =  (MCalibConstPix&)object;
     27        pix.fCalibConst   = fCalibConst;
     28        pix.fCalibFFactor = fCalibFFactor;
     29    }
     30
    2531    // Getters
    2632    Float_t GetCalibConst()   const { return fCalibConst;   }
     
    3137    void SetCalibFFactor( const Float_t f )  { fCalibFFactor = f; }
    3238
    33     ClassDef(MCalibConstPix, 0) // Temporay Storage Calibraion Constant of one pixel
     39    ClassDef(MCalibConstPix, 1) // Temporay Storage Calibraion Constant of one pixel
    3440};
    3541
Note: See TracChangeset for help on using the changeset viewer.