227 result.append(
"=== GLATRoi ===");
virtual GRoi & operator=(const GRoi &roi)
Assignment operator.
void dir(const GSkyDir &dir)
Set sky direction.
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.
Fermi/LAT region of interest 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 void clear(void)
Clear Fermi/LAT instrument direction.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print region of interest information.
void init_members(void)
Initialise class members.
Abstract event base class definition.
void init_members(void)
Initialise class members.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print instrument direction information.
virtual void clear(void)
Clear region of interest.
void free_members(void)
Delete class members.
GLATRoi(void)
Void constructor.
virtual ~GLATRoi(void)
Destructor.
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.
std::string parformat(const std::string &s, const int &indent=0)
Convert string in parameter format.
Fermi/LAT region of interest class.
std::string str(const unsigned short int &value)
Convert unsigned short integer value into string.