|
Jpp 20.0.0-rc.3
the software that should make you happy
|
Auxiliary class to make coordinate transformations for a specific geographical location of the detector. More...
#include <JAstronomy.hh>
Public Member Functions | |
| JAstronomy (const JGeographicalLocation &location, const JEllipsoid &ellipsoid=EARTH_WGS84) | |
| Constructor. | |
| JNeutrinoDirection | getNeutrinoDirection (const double t1_s, const JSourceLocation &pos) const |
| Get direction pointing to source given time and source location. | |
| JSourceLocation | getSourceLocation (const double t1_s, const JNeutrinoDirection &dir) const |
| Get location of source given time and neutrino direction. | |
| const JGeographicalLocation & | getGeographicalLocation () const |
| Get geographical location. | |
| operator JAngle3D () const | |
| Type conversion operator. | |
| double | getLatitude () const |
| Get latitude. | |
| double | getLongitude () const |
| Get longitude. | |
| double | getDot (const JGeographicalLocation &location) const |
| Dot product. | |
| void | set (const angle_type_deg &angle) |
| Convert angle. | |
| bool | equals (const angle_type &angle, const double precision=std::numeric_limits< double >::min()) const |
| Check equality. | |
| const JEllipsoid & | getEllipsoid () const |
| Get ellipsoid. | |
Public Attributes | |
| double | radius_m |
| Ellipsoid radius [m];. | |
| double | eccentricity |
| Ellipsoid eccentricity squared. | |
Protected Attributes | |
| double | _theta_ |
| double | _phi_ |
Auxiliary class to make coordinate transformations for a specific geographical location of the detector.
Note that SLALIB reference system corresponds to (x,y,z) = (N,E,up).
Definition at line 991 of file JAstronomy.hh.
|
inline |
Constructor.
| location | location of detector |
| ellipsoid | Earth ellipsoid |
Definition at line 1003 of file JAstronomy.hh.
|
inline |
Get direction pointing to source given time and source location.
| t1_s | time since MJD [s] |
| pos | source location |
Definition at line 1016 of file JAstronomy.hh.
|
inline |
Get location of source given time and neutrino direction.
| t1_s | time since MJD [s] |
| dir | direction of neutrino |
Definition at line 1070 of file JAstronomy.hh.
|
inlineinherited |
Get geographical location.
Definition at line 881 of file JAstronomy.hh.
|
inlineinherited |
Type conversion operator.
Definition at line 892 of file JAstronomy.hh.
|
inlineinherited |
Get latitude.
Definition at line 898 of file JAstronomy.hh.
|
inlineinherited |
Get longitude.
Definition at line 899 of file JAstronomy.hh.
|
inlineinherited |
Dot product.
| location | location |
Definition at line 908 of file JAstronomy.hh.
|
inlineinherited |
Convert angle.
| angle | angle [rad] |
Definition at line 293 of file JAstronomy.hh.
|
inlineinherited |
Check equality.
| angle | pair of angles |
| precision | precision |
Definition at line 194 of file JAstronomy.hh.
|
inlineinherited |
Get ellipsoid.
Definition at line 64 of file JAstronomy.hh.
|
protectedinherited |
Definition at line 250 of file JAstronomy.hh.
|
protectedinherited |
Definition at line 251 of file JAstronomy.hh.
|
inherited |
Ellipsoid radius [m];.
Definition at line 69 of file JAstronomy.hh.
|
inherited |
Ellipsoid eccentricity squared.
Definition at line 70 of file JAstronomy.hh.