27#ifndef GCTAPOINTING_HPP
28#define GCTAPOINTING_HPP
77 const double&
zenith(
void)
const;
78 const double&
azimuth(
void)
const;
112 return (
"GCTAPointing");
Generic matrix class definition.
Node array class interface definition.
Sky direction class interface definition.
Interface class for all GammaLib classes.
CTA instrument direction class.
std::string classname(void) const
Return class name.
const double & zenith(void) const
Return pointing zenith angle.
virtual ~GCTAPointing(void)
Destructor.
void free_members(void)
Delete class members.
double m_zenith
Pointing zenith angle (deg)
GSkyDir m_dir
Pointing direction in sky coordinates.
std::string print(const GChatter &chatter=NORMAL) const
Print CTA pointing information.
const GMatrix & rot(void) const
Return rotation matrix.
void read(const GXmlElement &xml)
Read pointing from XML element.
GCTAInstDir instdir(const GSkyDir &skydir) const
Get instrument direction from sky direction.
bool m_has_cache
Has transformation cache.
double m_azimuth
Pointing azimuth angle (deg)
const GSkyDir & dir(void) const
Return pointing sky direction.
const bool & is_valid(void) const
Checks if pointing is valid.
void update(void) const
Update coordinate transformation cache.
GCTAPointing * clone(void) const
Clone CTA pointing.
GCTAPointing(void)
Void constructor.
bool m_valid
Validity flag.
virtual GCTAPointing & operator=(const GCTAPointing &pnt)
Assignment operator.
void copy_members(const GCTAPointing &pnt)
Copy class members.
const double & azimuth(void) const
Return pointing azimuth angle.
GSkyDir skydir(const GCTAInstDir &instdir) const
Get sky direction direction from instrument direction.
void clear(void)
Clear CTA pointing.
void init_members(void)
Initialise class members.
GMatrix m_Rback
Rotation matrix.
void write(GXmlElement &xml) const
Write pointing information into XML element.
Generic matrix class definition.