61 virtual void clear(
void);
63 virtual std::string
classname(
void)
const;
71 const int&
tjd(
void)
const;
73 const int&
tics(
void)
const;
75 const float&
gcaz(
void)
const;
77 const float&
gcel(
void)
const;
79 const float&
georad(
void)
const;
Definition of interface for all GammaLib classes.
Sky direction class interface definition.
Time class interface definition.
Vector class interface definition.
Interface class for all GammaLib classes.
COMPTEL Orbit Aspect Data class.
virtual std::string classname(void) const
Return class name.
const int & tjd(void) const
Return Truncated Julian Days of Orbit Aspect Record.
const GSkyDir & zaxis(void) const
Return telescope Z-axis.
int m_tjd
TJD of OAD record.
const int & tics(void) const
Return tics of Orbit Aspect Record.
GCOMOad(void)
Void constructor.
double theta(const GSkyDir &sky) const
Return zenith angle of sky direction in COMPTEL coordinates.
GCOMOad & operator=(const GCOMOad &oad)
Assignment operator.
GTime m_tstop
Stop time of superpacket.
GSkyDir m_xaxis
Telescope x-axis.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print COMPTEL Orbit Aspect Data.
GTime m_tstart
Start time of superpacket.
const float & gcaz(void) const
Return Geocentre azimuth angle.
float m_georad
Apparent radius of Earth (deg)
virtual void clear(void)
Clear COMPTEL Orbit Aspect Data.
const GTime & tstart(void) const
Return start time of superpacket.
const float & gcel(void) const
Return Geocentre zenith angle.
int m_tics
Tics of OAD record.
float m_gcaz
Geocentre azimuth angle (deg)
const float & georad(void) const
Return apparent radius of Earth.
const GTime & tstop(void) const
Return stop time of superpacket.
const GVector & pos(void) const
Return telescope position vector (km)
void free_members(void)
Delete class members.
double phi(const GSkyDir &sky) const
Return azimuth angle of sky direction in COMPTEL coordinates.
virtual GCOMOad * clone(void) const
Clone COMPTEL Orbit Aspect Data.
const GSkyDir & xaxis(void) const
Return telescope X-axis.
GVector m_pos
Position vector (km)
virtual ~GCOMOad(void)
Destructor.
double m_posang
X-axis position angle in COMPTEL system.
float m_gcel
Geocentre zenith angle (deg)
void init_members(void)
Initialise class members.
void copy_members(const GCOMOad &oad)
Copy class members.
GSkyDir m_zaxis
Telescope z-axis.
double dist_deg(const GSkyDir &dir) const
Compute angular distance between sky directions in degrees.
double posang_deg(const GSkyDir &dir, const std::string &coordsys="CEL") const
Compute position angle between sky directions in degrees.