68 const double&
phibin = 0.0,
69 const int& nphibin = 0);
76 const double&
operator[](
const int& index)
const;
79 virtual void clear(
void);
81 virtual std::string
classname(
void)
const;
90 const std::string&
name(
void)
const;
91 void name(
const std::string& name);
96 const double&
phimin(
void)
const;
97 const double&
phibin(
void)
const;
110 const double& zetamin = 5.0);
113 const double& zetamin = 5.0);
119 const double& armmin,
120 const double& armmax)
const;
123 const bool& clobber =
false)
const;
126 const std::string& extname =
"")
const;
145 const double& x2,
const double& y2,
const double& r2)
const;
146 double compute_overlap(
const double& x1,
const double& y1,
const double& r1,
147 const double& x2,
const double& y2,
const double& r2,
148 const double& x3,
const double& y3,
const double& r3)
const;
196 return (const_cast<double&>((
m_dri.
pixels()[index])));
COMPTEL instrument status class.
Abstract FITS image base class.
std::string number(const std::string &noun, const int &number)
Convert singular noun into number noun.
const int & ny(void) const
Returns number of pixels in y coordinate.
GTime m_tstart
Selection start time.
GCOMSelection m_selection
Selection parameters.
const double & phimin(void) const
Return minimum Compton scatter angle of DRI cube.
double m_tofcor
ToF correction.
int size(void) const
Return number of bins.
double compute_overlap(const double &x1, const double &y1, const double &r1, const double &x2, const double &y2, const double &r2, const double &x3, const double &y3, const double &r3) const
Compute overlap between three circles.
Abstract FITS extension base class.
const int & num_skipped_superpackets(void) const
Return number of superpackets skipped for DRI.
double m_phibin
Phibar binsize (deg)
void compute_drg(const GCOMObservation &obs, const GCOMSelection &select=GCOMSelection(), const double &zetamin=5.0)
Compute geometry cube.
void write_attributes(GFitsHDU *hdu) const
Write DRI attributes into FITS HDU.
Definition of interface for all GammaLib classes.
const double & tof_correction(void) const
Return ToF correction factor.
double & operator[](const int &index)
DRI bin access operators.
int m_num_superpackets
Number of superpackets.
int nchi(void) const
Return number of Chi bins.
GCOMDri(void)
Void constructor.
COMPTEL selection set class.
Sky map class definition.
COMPTEL Orbit Aspect Data class.
Good time interval class interface definition.
double compute_surface(const double &x1, const double &y1, const double &r1, const double &x2, const double &y2, const double &r2) const
Compute surface of overlap between two circles.
COMPTEL selection set class definition.
void copy_members(const GCOMDri &dri)
Copy class members.
const double & phase_correction(void) const
Return pulsar phase correction factor.
const int & num_superpackets(void) const
Return number of superpackets read for DRI.
virtual GCOMDri * clone(void) const
Clone COMPTEL Data Space.
double cone_content(const GSkyDir &dir, const double &armmin, const double &armmax) const
Compute content in cone.
Energy boundaries container class.
const GEbounds & ebounds(void) const
Return energy boundaries of DRI cube.
const int & nmaps(void) const
Returns number of maps.
void init_cube(void)
Initialise DRI cube.
double m_phasecor
Pulsar phase correction.
GTime m_tstop
Selection stop time.
void write(GFits &fits, const std::string &extname="") const
Write COMPTEL Data Space into FITS image.
void compute_drm(const GCOMObservation &obs, const GModel &model)
Compute DRM model.
Interface class for all GammaLib classes.
bool m_has_selection
Signal that selection was applied.
const GSkyMap & map(void) const
Return DRI sky map.
double compute_geometry(const int &tjd, const double &theta, const double &phi, const GCOMSelection &select, const GCOMStatus &status) const
Compute DRG geometry factor.
int m_num_skipped_superpackets
Number of skipped superpackets.
void free_members(void)
Delete class members.
void save(const GFilename &filename, const bool &clobber=false) const
Save COMPTEL Data Space into DRI FITS file.
Good Time Interval class.
virtual ~GCOMDri(void)
Destructor.
void compute_drx(const GCOMObservation &obs, const GCOMSelection &select=GCOMSelection())
Compute DRX exposure map.
int nphibar(void) const
Return number of Phibar bins.
GCOMDri & operator=(const GCOMDri &dri)
Assignment operator.
const GGti & gti(void) const
Return Good Time Intervals of DRI cube.
void compute_tof_correction(void)
Compute ToF correction.
const std::string extname_dri
void init_statistics(void)
Initialise computation statistics.
virtual void clear(void)
Clear COMPTEL Data Space.
virtual std::string classname(void) const
Return class name.
void read(const GFitsImage &image)
Read COMPTEL Data Space from DRI FITS image.
void init_members(void)
Initialise class members.
GGti m_gti
Good Time Intervals of data cube.
Interface class for COMPTEL observations.
int npsi(void) const
Return number of Psi bins.
void load(const GFilename &filename)
Load COMPTEL Data Space from DRI FITS file.
GEbounds m_ebounds
Energy boundaries of data cube.
Energy boundaries class interface definition.
void compute_dre(const GCOMObservation &obs, const GCOMSelection &select=GCOMSelection(), const double &zetamin=5.0)
Compute event cube.
const int & nx(void) const
Returns number of pixels in x coordinate.
COMPTEL Data Space class.
int m_num_used_superpackets
Number of used superpackets.
double m_zetamin
Minimum zeta angle.
bool use_superpacket(const GCOMOad &oad, const GCOMTim &tim, const GCOMSelection &select)
Check if superpacket should be used.
COMPTEL Good Time Intervals class.
const std::string & name(void) const
Return DRI cube name.
const int & npix(void) const
Returns number of pixels.
const double & phibin(void) const
Return Compton scatter angle bin of DRI cube.
void read_attributes(const GFitsHDU *hdu)
Read DRI attributes from FITS HDU.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print COMPTEL Data Space.
const double * pixels(void) const
Returns pointer to pixel data.
double m_phimin
Phibar minimum (deg)
const int & num_used_superpackets(void) const
Return number of superpackets used for DRI.
std::string m_name
Data cube name.