Ignore:
Timestamp:
08/31/04 10:21:26 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.h

    r4521 r4817  
    3838    Double_t Magnitude() const { return -2.5*TMath::Log10(Mag()); }
    3939
    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)
    4141    {
    4242        fType = kIsRaDec;
     
    4444    }
    4545    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)
    4747    {
    4848        fType = kIsZdAz;
    4949        SetMagThetaPhi(pow(10, -mag/2.5), zd, az);
    5050    }
    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)
    5252    {
    5353        fType = kIsAltAz;
Note: See TracChangeset for help on using the changeset viewer.