Changeset 7103


Ignore:
Timestamp:
05/27/05 18:42:42 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h

    r7028 r7103  
    110110      return 13;
    111111    }
    112    
     112
    113113    Int_t  GetUnreliableCalLevel() const   {
    114114      if (!IsUnreliable() || IsUnsuitable())      return 0;
     
    124124      return 10;
    125125    }
    126    
    127        
    128    
     126
    129127    void Merge(const MBadPixelsPix &pix);
    130128
  • trunk/MagicSoft/Mars/mimage/MHillasSrc.h

    r5080 r7103  
    2222public:
    2323    MHillasSrc(const char *name=NULL, const char *title=NULL);
     24    MHillasSrc(const MHillasSrc &h) { h.Copy(*this); }
     25
     26    void Copy(TObject &o) const
     27    {
     28        MHillasSrc &src = static_cast<MHillasSrc&>(o);
     29        src.fSrcPos = fSrcPos;
     30        src.fAlpha  = fAlpha;
     31        src.fDist   = fDist;
     32        src.fCosDeltaAlpha = fCosDeltaAlpha;
     33        src.fDCA = fDCA;
     34        src.fDCADelta = fDCADelta;
     35    }
    2436
    2537    void SetSrcPos(const MSrcPosCam *pos) { fSrcPos = pos; }
Note: See TracChangeset for help on using the changeset viewer.