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