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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc

    r3568 r7109  
    5656    fName  = name  ? name  : gsDefName.Data();
    5757    fTitle = title ? title : gsDefTitle.Data();
     58}
     59
     60// --------------------------------------------------------------------------
     61//
     62// Copy constructor, set default name and title
     63//
     64MSrcPosCam::MSrcPosCam(const MSrcPosCam &p) : fX(p.fX), fY(p,fY)
     65{
     66    fName  = gsDefName.Data();
     67    fTitle = gsDefTitle.Data();
    5868}
    5969
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h

    r4710 r7109  
    1616public:
    1717    MSrcPosCam(const char *name=NULL, const char *title=NULL);
     18    MSrcPosCam(const MSrcPosCam &p);
    1819
    1920    void Clear(Option_t *)           { fX = 0; fY = 0; }
Note: See TracChangeset for help on using the changeset viewer.