Public Member Functions | List of all members
GeoMagnetic::FieldPoint Class Reference

Public Member Functions

 FieldPoint (UInt_t unixTime, double lon, double lat, double alt)
 
 FieldPoint (UInt_t unixTime, const TVector3 &position)
 
virtual void Draw (Option_t *opt="")
 
double posX () const
 
double posY () const
 
double posZ () const
 
double posR () const
 
double posTheta () const
 
double posPhi () const
 
double componentX () const
 
double componentY () const
 
double componentZ () const
 
const TVector3 & field ()
 
const TVector3 & position ()
 
UInt_t getUnixTime ()
 

Detailed Description

Definition at line 35 of file GeoMagnetic.h.

Inheritance diagram for GeoMagnetic::FieldPoint:
Inheritance graph
[legend]
Collaboration diagram for GeoMagnetic::FieldPoint:
Collaboration graph
[legend]

Constructor & Destructor Documentation

GeoMagnetic::FieldPoint::FieldPoint ( UInt_t  unixTime,
double  lon,
double  lat,
double  alt 
)

Human friendly constructor for the field point taking lontitude, latitude and altitude at which you want to evaluate the field

Parameters
unixTimeis the time at which you wish to evaluate the field
lonis the longitude
latis the latitude
altis the altitude above the geoid surface

Definition at line 765 of file GeoMagnetic.cxx.

GeoMagnetic::FieldPoint::FieldPoint ( UInt_t  unixTime,
const TVector3 &  position 
)

Constructor for the field point taking a TVector containing the cartesian position at which you want to evaluate the field

Parameters
unixTimeis the time at which you wish to evaluate the field
positionis the cartesian position at which you wish to evaluate the field

Definition at line 748 of file GeoMagnetic.cxx.

Member Function Documentation

void GeoMagnetic::FieldPoint::Draw ( Option_t *  opt = "")
virtual

Handles conversion to easting/northing for use with AntarcticaBackground

Parameters
optthe draw option, passed to the TArrow draw option

Definition at line 718 of file GeoMagnetic.cxx.


The documentation for this class was generated from the following files: