Changeset 6082 for trunk/MagicSoft/Mars
- Timestamp:
- 01/28/05 11:51:05 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6078 r6082 73 73 - new member function WriteContainer to simplify code in derived 74 74 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 75 79 76 80 -
trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.cc
r6081 r6082 88 88 // 89 89 MSrcPosCalc::MSrcPosCalc(const char *name, const char *title) 90 : fObservatory(0), fPointPos(0), fSourcePos(0), fSrcPosCam(0), 91 fGeom(0), fTime(0) 90 92 { 91 93 fName = name ? name : "MSrcPosCalc"; -
trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.h
r6081 r6082 27 27 MTime *fTime; 28 28 29 Double_t fR; // Distance of source to a fitted star30 Double_t fDrho; // angle between the two stars31 32 Double_t fX; // [deg] x-position of source33 Double_t fY; // [deg] y-position of source34 35 29 TVector2 CalcXYinCamera(const MVector3 &pos0, const MVector3 &pos) const; 36 30 … … 41 35 MSrcPosCalc(const char *name=NULL, const char *title=NULL); 42 36 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 51 37 ClassDef(MSrcPosCalc, 0) // Derotates the source position in the camera 52 38 };
Note:
See TracChangeset
for help on using the changeset viewer.