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