58 virtual void clear(
void);
60 virtual std::string
classname(
void)
const;
66 const double&
radius(
void)
const;
Fermi/LAT instrument direction class definition.
Abstract Region of interest base class definition.
Abstract interface for the event classes.
Fermi/LAT instrument direction class.
Fermi/LAT region of interest class.
GLATInstDir m_centre
Centre of ROI in instrument coordinates.
GLATRoi & operator=(const GLATRoi &roi)
Assignment operator.
void init_members(void)
Initialise class members.
double m_radius
Radius of ROI in degrees.
const double & radius(void) const
Returns radius of region of interest in degrees.
virtual ~GLATRoi(void)
Destructor.
void copy_members(const GLATRoi &roi)
Copy class members.
const GLATInstDir & centre(void) const
Returns region of interest centre.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print region of interest information.
virtual std::string classname(void) const
Return class name.
virtual void clear(void)
Clear region of interest.
void free_members(void)
Delete class members.
GLATRoi(void)
Void constructor.
virtual bool contains(const GEvent &event) const
Check if region of interest contains an event.
virtual GLATRoi * clone(void) const
Clone region of interest.
Interface for the region of interest classes.