Changeset 10066 for trunk/Cosy/tpoint/TPointStar.h
- Timestamp:
- 12/01/10 09:35:50 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosy/tpoint/TPointStar.h
r9952 r10066 2 2 #define COSY_TPointStar 3 3 4 #ifndef ROOT_T Object5 #include <T Object.h>4 #ifndef ROOT_TNamed 5 #include <TNamed.h> 6 6 #endif 7 7 … … 14 14 class MPointing; 15 15 16 class TPointStar : public T Object16 class TPointStar : public TNamed 17 17 { 18 18 friend istream &operator>>(istream &fin, TPointStar &set); … … 26 26 27 27 Double_t fMag; 28 29 void Init(const char *name=0, const char *title=0); 28 30 public: 29 TPointStar(Double_t sel=0, Double_t saz=0, Double_t rel=0, Double_t raz=0);/* 30 fStarAz(saz*TMath::DegToRad()), 31 fStarEl(sel*TMath::DegToRad()), 32 fRawAz(raz*TMath::DegToRad()), 33 fRawEl(rel*TMath::DegToRad()), fMag(-25) 34 { 35 }*/ 36 37 Double_t GetMag() const { return fMag; } 38 Double_t GetResidual(Double_t *err=0) const; 39 //Double_t GetResidual() const; 40 41 void operator=(TPointStar &set) 31 TPointStar(const char *name, const char *title=0) { Init(name, title); } 32 TPointStar(Double_t sel=0, Double_t saz=0, Double_t rel=0, Double_t raz=0); 33 TPointStar(const TPointStar &set) : TNamed(set) 42 34 { 43 35 fStarAz = set.fStarAz; … … 47 39 fMag = set.fMag; 48 40 } 41 42 Double_t GetMag() const { return fMag; } 43 Double_t GetResidual(Double_t *err=0) const; 44 //Double_t GetResidual() const; 49 45 50 46 Double_t GetDEl() const;// { return (fRawEl-fStarEl)*TMath::RadToDeg(); }
Note:
See TracChangeset
for help on using the changeset viewer.