Changeset 6082


Ignore:
Timestamp:
01/28/05 11:51:05 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6078 r6082  
    7373     - new member function WriteContainer to simplify code in derived
    7474       classes
     75
     76   * mpointing/MSrcPosCalc.[h,cc]
     77     - fixed the header according to Abelardo's changes
     78     - added the initialization of the pointers to the constructor
    7579
    7680
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.cc

    r6081 r6082  
    8888//
    8989MSrcPosCalc::MSrcPosCalc(const char *name, const char *title)
     90    : fObservatory(0), fPointPos(0), fSourcePos(0), fSrcPosCam(0),
     91    fGeom(0), fTime(0)
    9092{
    9193    fName  = name  ? name  : "MSrcPosCalc";
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.h

    r6081 r6082  
    2727    MTime        *fTime;
    2828
    29     Double_t fR;    // Distance of source to a fitted star
    30     Double_t fDrho; // angle between the two stars
    31 
    32     Double_t fX;    // [deg] x-position of source
    33     Double_t fY;    // [deg] y-position of source
    34 
    3529    TVector2 CalcXYinCamera(const MVector3 &pos0, const MVector3 &pos) const;
    3630
     
    4135    MSrcPosCalc(const char *name=NULL, const char *title=NULL);
    4236
    43     // Use is deprecated!
    44     void SetOffset(Double_t r, Double_t drho)
    45     {
    46         fDrho = drho*TMath::DegToRad();
    47         fR    = r;
    48     }
    49     void SetPositionXY(Double_t x, Double_t y) { fX=x; fY=y; }
    50 
    5137    ClassDef(MSrcPosCalc, 0) // Derotates the source position in the camera
    5238};
Note: See TracChangeset for help on using the changeset viewer.