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