Changeset 18830 for trunk/Mars/mcore


Ignore:
Timestamp:
04/14/17 17:28:46 (8 years ago)
Author:
tbretz
Message:
Simplified CINT workaround. Added RWTH.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/nova.h

    r18827 r18830  
    1919    struct RaDecPosn;
    2020
    21     const static ln_lnlat_posn kORM
    2221#ifndef __CINT__
    23         = { -(17.+53./60+26.525/3600), 28.+45./60+42.462/3600 } // 2200m
     22#define OBS(lat,lng) ={lat,lng}
     23#else
     24#define OBS(lat,lng)
    2425#endif
    25     ;
    26     const static ln_lnlat_posn kHAWC
    27 #ifndef __CINT__
    28         = { -97.3084, 18.9947 } // 4100m;
    29 #endif
    30     ;
    31     const static ln_lnlat_posn kSPM
    32 #ifndef __CINT__
    33         = { -115.4637, 31.0439 } // 2800m;
    34 #endif
    35     ;
     26
     27    const static ln_lnlat_posn kORM  OBS(-(17.+53./60+26.525/3600), 28.+45./60+42.462/3600); // 2800m
     28    const static ln_lnlat_posn kHAWC OBS( -97.3084,                 18.9947               ); // 4100m;
     29    const static ln_lnlat_posn kSPM  OBS(-115.4637,                 31.0439               ); // 2800m;
     30    const static ln_lnlat_posn kRWTH OBS(   6.0657,                 50.7801               );
    3631
    3732    struct LnLatPosn : public ln_lnlat_posn
     
    4742                { "HAWC", kHAWC },
    4843                { "SPM",  kSPM  },
     44                { "RWTH", kRWTH },
    4945            };
    5046
Note: See TracChangeset for help on using the changeset viewer.