27#ifndef GCOMINSTDIR_HPP
28#define GCOMINSTDIR_HPP
33#if defined(__sun) && (defined(__svr4__) || defined(__SVR4))
34 typedef uint64_t u_int64_t;
58 virtual void clear(
void);
60 virtual std::string
classname(
void)
const;
61 virtual u_int64_t
hash(
void)
const;
68 const double&
phibar(
void)
const;
90 return (
"GCOMInstDir");
Abstract instrument direction base class definition.
Sky direction class interface definition.
Interface for the COMPTEL instrument direction class.
const GSkyDir & dir(void) const
Return event scatter direction.
virtual ~GCOMInstDir(void)
Destructor.
GSkyDir m_dir
Observed scatter direction of event.
const double & phibar(void) const
Return event Compton scatter angle.
void copy_members(const GCOMInstDir &dir)
Copy class members.
virtual u_int64_t hash(void) const
Return instrument direction hash value.
virtual std::string classname(void) const
Return class name.
virtual void clear(void)
Clear instance.
virtual GCOMInstDir * clone(void) const
Clone instance.
GCOMInstDir & operator=(const GCOMInstDir &dir)
Assignment operator.
double m_phibar
Observed scatter angle of event.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.
GCOMInstDir(void)
Void constructor.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print instrument direction information.
Abstract instrument direction base class.