197 static float buffer[2];
204 u_int64_t
hash; std::memcpy(&hash, &buffer,
sizeof hash);
virtual u_int64_t hash(void) const
Return instrument direction hash value.
GSkyDir & dir(void)
Returns reference to sky direction.
Fermi/LAT instrument direction class.
virtual GInstDir & operator=(const GInstDir &dir)
Assignment operator.
void free_members(void)
Delete class members.
GSkyDir m_dir
Observed incident direction of event.
GLATInstDir(void)
Void constructor.
const double & ra(void) const
Return Right Ascension in radians.
Abstract instrument direction base class.
virtual void clear(void)
Clear Fermi/LAT instrument direction.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.
virtual ~GLATInstDir(void)
Destructor.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print instrument direction information.
virtual GLATInstDir * clone(void) const
Clone Fermi/LAT instrument direction.
const double & dec(void) const
Return Declination in radians.
GLATInstDir & operator=(const GLATInstDir &dir)
Assignment operator.
void copy_members(const GLATInstDir &dir)
Copy class members.
void clear(void)
Clear sky direction.
void init_members(void)
Initialise class members.
Fermi/LAT instrument direction class definition.
Mathematical function definitions.
std::string str(const unsigned short int &value)
Convert unsigned short integer value into string.