Changeset 7142 for trunk/MagicSoft/Mars/mpointing
- Timestamp:
- 06/10/05 13:10:09 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mpointing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc
r7109 r7142 62 62 // Copy constructor, set default name and title 63 63 // 64 MSrcPosCam::MSrcPosCam(const MSrcPosCam &p) : fX(p.fX), fY(p ,fY)64 MSrcPosCam::MSrcPosCam(const MSrcPosCam &p) : fX(p.fX), fY(p.fY) 65 65 { 66 66 fName = gsDefName.Data(); … … 69 69 70 70 // ----------------------------------------------------------------------- 71 // 72 // Print contents 71 73 // 72 74 void MSrcPosCam::Print(Option_t *) const … … 78 80 } 79 81 82 // ----------------------------------------------------------------------- 83 // 84 // Set fX to v.X() and fY to v.Y() 85 // 80 86 void MSrcPosCam::SetXY(const TVector2 &v) 81 87 { … … 84 90 } 85 91 92 // ----------------------------------------------------------------------- 93 // 94 // Add v.X() to fX and v.Y() to fY 95 // 96 void MSrcPosCam::Add(const TVector2 &v) 97 { 98 fX+=v.X(); 99 fY+=v.Y(); 100 } 101 102 // ----------------------------------------------------------------------- 103 // 104 // Get TVector2(fX, fY) 105 // 86 106 TVector2 MSrcPosCam::GetXY() const 87 107 { -
trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h
r7109 r7142 25 25 void SetXY(const TVector2 &v); 26 26 27 void Add(const TVector2 &v); 28 27 29 Float_t GetX() const { return fX; } 28 30 Float_t GetY() const { return fY; } 29 31 TVector2 GetXY() const; 32 30 33 31 34 void Print(Option_t *opt=NULL) const; -
trunk/MagicSoft/Mars/mpointing/Makefile
r6048 r7142 28 28 MSrcPosCam.cc \ 29 29 MSrcPosCalc.cc \ 30 MSrcPosCorrect.cc \ 30 31 MSrcPosFromModel.cc 31 32
Note:
See TracChangeset
for help on using the changeset viewer.