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