58 virtual void clear(
void);
60 virtual std::string
classname(
void)
const;
67 const double&
radius(
void)
const;
COMPTEL instrument direction class definition.
Abstract Region of interest base class definition.
Interface for the COMPTEL instrument direction class.
COMPTEL region of interest class.
void free_members(void)
Delete class members.
virtual std::string classname(void) const
Return class name.
double m_phibar_max
Minimum Phibar of region of interest.
const double & phibar_max(void) const
Return maximum Phibar of region of interest.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print region of interest information.
virtual bool contains(const GEvent &event) const
Check if region of interest contains an event.
double m_phibar_min
Minimum Phibar of region of interest.
virtual GCOMRoi * clone(void) const
Clone region of interest.
GCOMRoi(void)
Void constructor.
GCOMInstDir m_centre
Centre of RoI in instrument coordinates.
GCOMRoi & operator=(const GCOMRoi &roi)
Assignment operator.
double m_radius
Radius of region of interest.
void init_members(void)
Initialise class members.
virtual ~GCOMRoi(void)
Destructor.
virtual void clear(void)
Clear region of interest.
const GCOMInstDir & centre(void) const
Return centre of region of interest.
const double & phibar_min(void) const
Return minimum Phibar of region of interest.
const double & radius(void) const
Return radius of region of interest.
void copy_members(const GCOMRoi &roi)
Copy class members.
Abstract interface for the event classes.
Interface for the region of interest classes.