Ignore:
Timestamp:
09/02/07 14:53:56 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mastro
Files:
2 edited

Legend:

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

    r8106 r8725  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MAstroCatalog.cc,v 1.28 2006-10-17 17:15:58 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MAstroCatalog.cc,v 1.29 2007-09-02 13:53:55 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    718718void MAstroCatalog::Paint(Option_t *o)
    719719{
     720    if (!fRaDec.IsValid())
     721        return;
     722
    720723    SetRangePad(o);
    721724
  • trunk/MagicSoft/Mars/mastro/MVector3.h

    r4977 r8725  
    3737    Double_t Magnitude() const { return -2.5*TMath::Log10(Mag()); }
    3838
     39    Bool_t IsValid() const { return fType!=kIsInvalid; }
     40
    3941    void SetRaDec(Double_t ra, Double_t dec, Double_t mag=0)
    4042    {
Note: See TracChangeset for help on using the changeset viewer.