Changeset 4817 for trunk/MagicSoft/Mars/mastro
- Timestamp:
- 08/31/04 10:21:26 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mastro/MAstroCatalog.h
r4521 r4817 38 38 Double_t Magnitude() const { return -2.5*TMath::Log10(Mag()); } 39 39 40 void SetRaDec(Double_t ra, Double_t dec, Double_t mag )40 void SetRaDec(Double_t ra, Double_t dec, Double_t mag=0) 41 41 { 42 42 fType = kIsRaDec; … … 44 44 } 45 45 void SetName(const TString &str) { fName = str.Strip(TString::kBoth); } 46 void SetZdAz(Double_t zd, Double_t az, Double_t mag )46 void SetZdAz(Double_t zd, Double_t az, Double_t mag=0) 47 47 { 48 48 fType = kIsZdAz; 49 49 SetMagThetaPhi(pow(10, -mag/2.5), zd, az); 50 50 } 51 void SetAltAz(Double_t alt, Double_t az, Double_t mag )51 void SetAltAz(Double_t alt, Double_t az, Double_t mag=0) 52 52 { 53 53 fType = kIsAltAz;
Note:
See TracChangeset
for help on using the changeset viewer.