Changeset 5464


Ignore:
Timestamp:
11/24/04 16:08:21 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5463 r5464  
    2626     - improved the Print() function such that the individual pixels
    2727       matching a certain badness-criterion are listed.
     28
     29   * mpedestal/MPedestalPix.[h,cc]
     30     - introduced Copy-function
    2831
    2932
  • trunk/MagicSoft/Mars/mpedestal/MPedestalPix.cc

    r4556 r5464  
    8787}
    8888
     89// --------------------------------------------------------------------------
     90//
     91// Copy 'constructor'
     92//
     93void MPedestalPix::Copy(TObject &object) const
     94{
     95
     96  MPedestalPix &pix =  (MPedestalPix&)object;
     97
     98  pix.fPedestal         = fPedestal         ;
     99  pix.fPedestalRms      = fPedestalRms      ;
     100  pix.fPedestalABoffset = fPedestalABoffset ;
     101}
     102
    89103// ------------------------------------------------------------------------
    90104//
  • trunk/MagicSoft/Mars/mpedestal/MPedestalPix.h

    r4778 r5464  
    1818
    1919    void Clear(Option_t *o="");
    20 
     20    void Copy(TObject &object) const;
     21   
    2122    // Using histograms
    2223    void InitUseHists();
Note: See TracChangeset for help on using the changeset viewer.