GammaLib
2.1.0.dev
|
Interface for the region of interest classes. More...
#include <GRoi.hpp>
Public Member Functions | |
GRoi (void) | |
Void constructor. More... | |
GRoi (const GRoi &roi) | |
Copy constructor. More... | |
virtual | ~GRoi (void) |
Destructor. More... | |
virtual GRoi & | operator= (const GRoi &roi) |
Assignment operator. More... | |
virtual void | clear (void)=0 |
Clear object. More... | |
virtual GRoi * | clone (void) const =0 |
Clones object. More... | |
virtual std::string | classname (void) const =0 |
Return class name. More... | |
virtual bool | contains (const GEvent &event) const =0 |
virtual std::string | print (const GChatter &chatter=NORMAL) const =0 |
Print content of object. More... | |
Public Member Functions inherited from GBase | |
virtual | ~GBase (void) |
Destructor. More... | |
Protected Member Functions | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GRoi &roi) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Friends | |
class | GObservation |
Interface for the region of interest classes.
The region of interest class holds instrument specific information about the spatial region in detector or telescopes coordinates that is used for an analysis. In particular, the definition of a region of interest is required for an unbinned analysis.
GRoi::GRoi | ( | void | ) |
GRoi::GRoi | ( | const GRoi & | roi | ) |
Copy constructor.
[in] | roi | Region of interest from which the instance should be built. |
Definition at line 67 of file GRoi.cpp.
References copy_members(), and init_members().
|
virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
protected |
Copy class members.
[in] | roi | Region of interest from which members should be copied. |
Definition at line 153 of file GRoi.cpp.
Referenced by GRoi(), and operator=().
|
protected |
Delete class members.
Definition at line 163 of file GRoi.cpp.
Referenced by GCOMRoi::clear(), GLATRoi::clear(), GCTARoi::clear(), operator=(), and ~GRoi().
|
protected |
Initialise class members.
Definition at line 141 of file GRoi.cpp.
Referenced by GCOMRoi::clear(), GLATRoi::clear(), GCTARoi::clear(), GRoi(), and operator=().
Assignment operator.
[in] | roi | Region of interest which should be assigned. |
Definition at line 104 of file GRoi.cpp.
References copy_members(), free_members(), and init_members().
Referenced by GCOMRoi::operator=(), GLATRoi::operator=(), and GCTARoi::operator=().
|
friend |