Changeset 3544 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 03/18/04 13:45:41 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/AnalysisIncl.h
r715 r3544 1 1 #ifndef __CINT__ 2 2 3 #include <TVector2.h> 4 3 5 #endif // __CINT__ -
trunk/MagicSoft/Mars/manalysis/MSrcPosCam.cc
r2173 r3544 36 36 #include <fstream> 37 37 38 #include <TVector2.h> 39 38 40 #include "MLog.h" 39 41 #include "MLogManip.h" … … 64 66 *fLog << " - x [mm] = " << fX << endl; 65 67 *fLog << " - y [mm] = " << fY << endl; 68 } 69 70 void MSrcPosCam::SetXY(const TVector2 &v) 71 { 72 fX = v.X(); 73 fY = v.Y(); 74 } 75 76 TVector2 MSrcPosCam::GetXY() const 77 { 78 return TVector2(fX, fY); 66 79 } 67 80 -
trunk/MagicSoft/Mars/manalysis/MSrcPosCam.h
r1477 r3544 5 5 #include "MParContainer.h" 6 6 #endif 7 8 class TVector2; 7 9 8 10 class MSrcPosCam : public MParContainer … … 22 24 void SetY(Float_t y) { fY = y; } 23 25 void SetXY(Float_t x, Float_t y) { fX = x; fY = y; } 26 void SetXY(const TVector2 &v); 24 27 25 28 Float_t GetX() const { return fX; } 26 29 Float_t GetY() const { return fY; } 30 TVector2 GetXY() const; 27 31 28 32 void Print(Option_t *opt=NULL) const;
Note:
See TracChangeset
for help on using the changeset viewer.