GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GLATEventCube Class Reference

Fermi/LAT event cube class. More...

#include <GLATEventCube.hpp>

Inheritance diagram for GLATEventCube:
GEventCube GEvents GBase

Public Member Functions

 GLATEventCube (void)
 Void constructor. More...
 
 GLATEventCube (const GFilename &filename)
 File name constructor. More...
 
 GLATEventCube (const GLATEventCube &cube)
 Copy constructor. More...
 
virtual ~GLATEventCube (void)
 Destructor. More...
 
virtual GLATEventCubeoperator= (const GLATEventCube &cube)
 Assignment operator. More...
 
virtual GLATEventBinoperator[] (const int &index)
 Event bin access operator. More...
 
virtual const GLATEventBinoperator[] (const int &index) const
 Event bin access operator (const version) More...
 
virtual void clear (void)
 Clear instance. More...
 
virtual GLATEventCubeclone (void) const
 Clone instance. More...
 
virtual std::string classname (void) const
 Return class name. More...
 
virtual int size (void) const
 Return number of bins in event cube. More...
 
virtual int dim (void) const
 Return dimension of event cube. More...
 
virtual int naxis (const int &axis) const
 Return number of bins in axis. More...
 
virtual void load (const GFilename &filename)
 Load LAT event cube from FITS file. More...
 
virtual void save (const GFilename &filename, const bool &clobber=false) const
 Save LAT event cube into FITS file. More...
 
virtual void read (const GFits &file)
 Read LAT event cube from FITS file. More...
 
virtual void write (GFits &file) const
 Write LAT event cube into FITS file. More...
 
virtual int number (void) const
 Return number of events in cube. More...
 
virtual std::string print (const GChatter &chatter=NORMAL) const
 Print event cube information. More...
 
void time (const GTime &time)
 Set event cube mean time. More...
 
void map (const GSkyMap &map)
 Set event cube from sky map. More...
 
void enodes (const GNodeArray &enodes)
 Set event cube energy nodes. More...
 
void ontime (const double &ontime)
 Set event cube ontime. More...
 
const GTimetime (void) const
 Return event cube mean time. More...
 
const GSkyMapmap (void) const
 Return event cube sky map. More...
 
const GNodeArrayenodes (void) const
 Return event cube energy nodes. More...
 
const double & ontime (void) const
 Return event cube ontime. More...
 
int nx (void) const
 Return number of bins in X direction. More...
 
int ny (void) const
 Return number of bins in Y direction. More...
 
int npix (void) const
 Return number of pixels in event cube sky map. More...
 
int ebins (void) const
 Return number of energy bins in event cube. More...
 
int ndiffrsp (void) const
 Return number of diffuse model components. More...
 
std::string diffname (const int &index) const
 Return name of diffuse model. More...
 
GSkyMapdiffrsp (const int &index) const
 Return diffuse response map. More...
 
double maxrad (const GSkyDir &dir) const
 Computes the maximum radius (in degrees) around a given source direction that fits spatially into the event cube. More...
 
- Public Member Functions inherited from GEventCube
 GEventCube (void)
 Void constructor. More...
 
 GEventCube (const GEventCube &cube)
 Copy constructor. More...
 
virtual ~GEventCube (void)
 Destructor. More...
 
virtual GEventCubeoperator= (const GEventCube &cube)
 Assignment operator. More...
 
- Public Member Functions inherited from GEvents
 GEvents (void)
 Void constructor. More...
 
 GEvents (const GEvents &events)
 Copy constructor. More...
 
virtual ~GEvents (void)
 Destructor. More...
 
virtual GEventsoperator= (const GEvents &events)
 Assignment operator. More...
 
void ebounds (const GEbounds &ebounds)
 Set energy boundaries. More...
 
void gti (const GGti &gti)
 Set Good Time Intervals. More...
 
const GEboundsebounds (void) const
 Return energy boundaries. More...
 
const GGtigti (void) const
 Return Good Time Intervals. More...
 
const GTimetstart (void) const
 Return start time. More...
 
const GTimetstop (void) const
 Return stop time. More...
 
const GEnergyemin (void) const
 Return minimum energy. More...
 
const GEnergyemax (void) const
 Return maximum energy. 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 GLATEventCube &cube)
 Copy class members. More...
 
void free_members (void)
 Delete class members. More...
 
void read_cntmap (const GFitsImage &hdu)
 Read Fermi/LAT counts map from HDU. More...
 
void read_srcmap (const GFitsImage &hdu)
 Read LAT source map from HDU. More...
 
void read_ebds (const GFitsTable &hdu)
 Read energy boundaries from HDU. More...
 
void read_gti (const GFitsTable &hdu)
 Read GTIs from HDU. More...
 
void set_directions (void)
 Set sky directions and solid angles of events cube. More...
 
virtual void set_energies (void)
 Set log mean energies and energy widths of event cube. More...
 
virtual void set_times (void)
 Set mean event time and ontime of event cube. More...
 
void set_bin (const int &index)
 Set event bin. More...
 
- Protected Member Functions inherited from GEventCube
void init_members (void)
 Initialise class members. More...
 
void copy_members (const GEventCube &cube)
 Copy class members. More...
 
void free_members (void)
 Delete class members. More...
 
- Protected Member Functions inherited from GEvents
void init_members (void)
 Initialise class members. More...
 
void copy_members (const GEvents &events)
 Copy class members. More...
 
void free_members (void)
 Delete class members. More...
 

Protected Attributes

GLATEventBin m_bin
 Actual energy bin. More...
 
GSkyMap m_map
 Counts map stored as sky map. More...
 
GTime m_time
 Event cube mean time. More...
 
double m_ontime
 Event cube ontime (sec) More...
 
std::vector< GLATInstDirm_dirs
 Array of event directions. More...
 
std::vector< double > m_solidangle
 Array of solid angles (sr) More...
 
std::vector< GEnergym_energies
 Array of log mean energies. More...
 
std::vector< GEnergym_ewidth
 Array of energy bin widths. More...
 
std::vector< GSkyMap * > m_srcmap
 Pointers to source maps. More...
 
std::vector< std::string > m_srcmap_names
 Source map names. More...
 
GNodeArray m_enodes
 Energy nodes. More...
 
- Protected Attributes inherited from GEvents
GEbounds m_ebounds
 Energy boundaries covered by events. More...
 
GGti m_gti
 Good time intervals covered by events. More...
 

Detailed Description

Fermi/LAT event cube class.

Definition at line 53 of file GLATEventCube.hpp.

Constructor & Destructor Documentation

GLATEventCube::GLATEventCube ( void  )

Void constructor.

Definition at line 65 of file GLATEventCube.cpp.

References init_members().

Referenced by clone().

GLATEventCube::GLATEventCube ( const GFilename filename)
explicit

File name constructor.

Parameters
[in]filenameCounts cube filename.

Construct event cube object by loading the events from a FITS file.

Definition at line 82 of file GLATEventCube.cpp.

References init_members(), and load().

GLATEventCube::GLATEventCube ( const GLATEventCube cube)

Copy constructor.

Parameters
[in]cubeLAT event cube.

Definition at line 100 of file GLATEventCube.cpp.

References copy_members(), and init_members().

GLATEventCube::~GLATEventCube ( void  )
virtual

Destructor.

Definition at line 116 of file GLATEventCube.cpp.

References free_members().

Member Function Documentation

std::string GLATEventCube::classname ( void  ) const
inlinevirtual

Return class name.

Returns
String containing the class name ("GLATEventCube").

Implements GEventCube.

Definition at line 135 of file GLATEventCube.hpp.

void GLATEventCube::clear ( void  )
virtual

Clear instance.

This method properly resets the object to an initial state.

Implements GEventCube.

Definition at line 209 of file GLATEventCube.cpp.

References GEventCube::free_members(), free_members(), GEvents::free_members(), GEventCube::init_members(), init_members(), and GEvents::init_members().

Referenced by read().

GLATEventCube * GLATEventCube::clone ( void  ) const
virtual

Clone instance.

Returns
Deep copy of LAT event cube.

Implements GEventCube.

Definition at line 231 of file GLATEventCube.cpp.

References GLATEventCube().

void GLATEventCube::copy_members ( const GLATEventCube cube)
protected

Copy class members.

Parameters
[in]cubeFermi/LAT event cube.

Definition at line 721 of file GLATEventCube.cpp.

References m_bin, m_dirs, m_energies, m_enodes, m_ewidth, m_map, m_ontime, m_solidangle, m_srcmap, m_srcmap_names, and m_time.

Referenced by GLATEventCube(), and operator=().

std::string GLATEventCube::diffname ( const int &  index) const

Return name of diffuse model.

Parameters
[in]indexDiffuse model index [0,...,ndiffrsp()-1].
Returns
Name of diffuse model.
Exceptions
GException::out_of_rangeModel index out of valid range.

Returns name of diffuse model.

Definition at line 577 of file GLATEventCube.cpp.

References G_DIFFNAME, m_srcmap_names, and ndiffrsp().

Referenced by GLATResponse::irf_spatial_bin().

GSkyMap * GLATEventCube::diffrsp ( const int &  index) const

Return diffuse response map.

Parameters
[in]indexDiffuse model index [0,...,ndiffrsp()-1].
Returns
Pointer to diffuse response map.
Exceptions
GException::out_of_rangeModel index out of valid range.

Returns pointer to diffuse model sky map.

Definition at line 603 of file GLATEventCube.cpp.

References G_DIFFRSP, m_srcmap, and ndiffrsp().

Referenced by GLATResponse::irf_spatial_bin().

int GLATEventCube::dim ( void  ) const
virtual

Return dimension of event cube.

Returns
Number of dimensions in event cube (either 2 or 3).

Implements GEventCube.

Definition at line 257 of file GLATEventCube.cpp.

References m_map, and GSkyMap::nmaps().

Referenced by naxis().

int GLATEventCube::ebins ( void  ) const
inline

Return number of energy bins in event cube.

Returns
Number of energy bins in event cube.

Definition at line 270 of file GLATEventCube.hpp.

References m_map, and GSkyMap::nmaps().

Referenced by print(), set_bin(), and set_energies().

void GLATEventCube::enodes ( const GNodeArray enodes)
inline

Set event cube energy nodes.

Parameters
[in]enodesEnergy nodes.

Definition at line 160 of file GLATEventCube.hpp.

References enodes(), and m_enodes.

Referenced by GLATResponse::irf_spatial_bin().

const GNodeArray & GLATEventCube::enodes ( void  ) const
inline

Return event cube energy nodes.

Returns
Energy nodes.

Definition at line 210 of file GLATEventCube.hpp.

References m_enodes.

Referenced by enodes().

void GLATEventCube::free_members ( void  )
protected

Delete class members.

Definition at line 749 of file GLATEventCube.cpp.

References m_srcmap, and m_srcmap_names.

Referenced by clear(), operator=(), and ~GLATEventCube().

void GLATEventCube::init_members ( void  )
protected
void GLATEventCube::load ( const GFilename filename)
virtual

Load LAT event cube from FITS file.

Parameters
[in]filenameFITS file name.

Implements GEventCube.

Definition at line 312 of file GLATEventCube.cpp.

References GFits::close(), and read().

Referenced by GLATEventCube(), and GLATObservation::load_binned().

void GLATEventCube::map ( const GSkyMap map)

Set event cube from sky map.

Definition at line 474 of file GLATEventCube.cpp.

References m_map, map(), and set_directions().

Referenced by GLATMeanPsf::set_map_corrections().

const GSkyMap & GLATEventCube::map ( void  ) const
inline

Return event cube sky map.

Returns
Sky map.

Definition at line 198 of file GLATEventCube.hpp.

References m_map.

Referenced by map(), and read_srcmap().

double GLATEventCube::maxrad ( const GSkyDir srcDir) const

Computes the maximum radius (in degrees) around a given source direction that fits spatially into the event cube.

Parameters
[in]srcDirSource direction.
Returns
Maximum radius in degrees that fully fits into event cube.

By computing the sky directions of the event cube boundaries, the maximum radius is computed that fits fully within the event cube. This method is used for PSF normalization.

Definition at line 629 of file GLATEventCube.cpp.

References GSkyMap::contains(), GSkyDir::dist_deg(), m_map, nx(), ny(), and GSkyMap::pix2dir().

Referenced by GLATMeanPsf::set_map_corrections().

int GLATEventCube::naxis ( const int &  axis) const
virtual

Return number of bins in axis.

Parameters
[in]axisAxis [0,...,dim()-1]
Returns
Number of bins in specified axis
Exceptions
GException::out_of_rangeAxis is out of range.

Returns the number of bins along a given event cube axis.

Implements GEventCube.

Definition at line 278 of file GLATEventCube.cpp.

References dim(), G_NAXIS, m_map, GSkyMap::npix(), GSkyMap::nx(), and GSkyMap::ny().

int GLATEventCube::ndiffrsp ( void  ) const
inline

Return number of diffuse model components.

Returns
Number of diffuse model components.

Definition at line 282 of file GLATEventCube.hpp.

References m_srcmap.

Referenced by diffname(), diffrsp(), and GLATResponse::irf_spatial_bin().

int GLATEventCube::npix ( void  ) const
inline

Return number of pixels in event cube sky map.

Returns
Number of pixels in event cube sky map.

Definition at line 258 of file GLATEventCube.hpp.

References m_map, and GSkyMap::npix().

Referenced by set_bin(), and set_directions().

int GLATEventCube::number ( void  ) const
virtual

Return number of events in cube.

Returns
Total number of events in event cube.

Implements GEventCube.

Definition at line 451 of file GLATEventCube.cpp.

References m_map, GSkyMap::pixels(), and size().

Referenced by print().

int GLATEventCube::nx ( void  ) const
inline

Return number of bins in X direction.

Returns
Number of bins in X direction.

Definition at line 234 of file GLATEventCube.hpp.

References m_map, and GSkyMap::nx().

Referenced by maxrad(), print(), set_directions(), and GLATMeanPsf::set_map_corrections().

int GLATEventCube::ny ( void  ) const
inline

Return number of bins in Y direction.

Returns
Number of bins in Y direction.

Definition at line 246 of file GLATEventCube.hpp.

References m_map, and GSkyMap::ny().

Referenced by maxrad(), print(), set_directions(), and GLATMeanPsf::set_map_corrections().

void GLATEventCube::ontime ( const double &  ontime)
inline

Set event cube ontime.

Parameters
[in]ontimeOntime.

Definition at line 173 of file GLATEventCube.hpp.

References m_ontime, and ontime().

const double & GLATEventCube::ontime ( void  ) const
inline

Return event cube ontime.

Returns
Ontime.

Definition at line 222 of file GLATEventCube.hpp.

References m_ontime.

Referenced by ontime().

GLATEventCube & GLATEventCube::operator= ( const GLATEventCube cube)
virtual

Assignment operator.

Parameters
[in]cubeLAT event cube.
Returns
LAT event cube.

Definition at line 138 of file GLATEventCube.cpp.

References copy_members(), free_members(), init_members(), and GEventCube::operator=().

GLATEventBin * GLATEventCube::operator[] ( const int &  index)
virtual

Event bin access operator.

Parameters
[in]indexEvent index [0,...,size()-1].
Returns
Pointer to event bin.

Returns pointer to an event bin.

Implements GEventCube.

Definition at line 170 of file GLATEventCube.cpp.

References m_bin, and set_bin().

const GLATEventBin * GLATEventCube::operator[] ( const int &  index) const
virtual

Event bin access operator (const version)

Parameters
[in]indexEvent index [0,...,size()-1].
Returns
Pointer to event bin.

Returns pointer to an event bin.

Implements GEventCube.

Definition at line 188 of file GLATEventCube.cpp.

References m_bin, and set_bin().

std::string GLATEventCube::print ( const GChatter chatter = NORMAL) const
virtual

Print event cube information.

Parameters
[in]chatterChattiness.
Returns
String containing event cube information.

Implements GEventCube.

Definition at line 493 of file GLATEventCube.cpp.

References ebins(), GEvents::ebounds(), GEvents::emax(), GEvents::emin(), GEvents::gti(), m_map, m_srcmap, m_srcmap_names, number(), nx(), GSkyMap::nx(), ny(), GSkyMap::ny(), gammalib::parformat(), GSkyProjection::print(), GSkyMap::projection(), gammalib::reduce(), SILENT, size(), gammalib::str(), GEvents::tstart(), and GEvents::tstop().

void GLATEventCube::read ( const GFits fits)
virtual

Read LAT event cube from FITS file.

Parameters
[in]fitsFITS file.

It is assumed that the counts map resides in the primary extension of the FITS file, the energy boundaries reside in the EBOUNDS extension and the Good Time Intervals reside in the GTI extension. The method clears the object before loading, thus any events residing in the object before loading will be lost.

Implements GEventCube.

Definition at line 364 of file GLATEventCube.cpp.

References GFits::at(), GFitsHDU::card(), clear(), gammalib::extname_ebounds, gammalib::extname_gti, GFitsHDU::exttype(), GFitsHDU::has_card(), GFitsHDU::HT_IMAGE, GFits::image(), read_cntmap(), read_ebds(), read_gti(), read_srcmap(), GFits::size(), and GFits::table().

Referenced by load().

void GLATEventCube::read_cntmap ( const GFitsImage hdu)
protected

Read Fermi/LAT counts map from HDU.

Parameters
[in]hduImage HDU.

This method reads a Fermi/LAT counts map from a FITS image. The counts map is stored in a GSkyMap object, and a pointer is set up to access the pixels individually. Recall that skymap pixels are stored in the order (ix,iy,ebin).

Definition at line 774 of file GLATEventCube.cpp.

References m_map, GSkyMap::read(), and set_directions().

Referenced by read().

void GLATEventCube::read_ebds ( const GFitsTable hdu)
protected

Read energy boundaries from HDU.

Parameters
[in]hduEnergy boundaries table.

Read the energy boundaries from the HDU.

Todo:
Energy bounds read method should take const GFitsTable* as argument

Definition at line 857 of file GLATEventCube.cpp.

References GEvents::m_ebounds, GEbounds::read(), and set_energies().

Referenced by read().

void GLATEventCube::read_gti ( const GFitsTable hdu)
protected

Read GTIs from HDU.

Parameters
[in]hduGTI table.

Reads the Good Time Intervals from the GTI extension. Since the Fermi LAT Science Tools do not set corrently the time reference for source maps, the method automatically adds this missing information so that the time reference is set correctly. The time reference that is assumed for Fermi LAT is

 MJDREFI 51910
 MJDREFF 0.00074287037037037

Definition at line 885 of file GLATEventCube.cpp.

References GFitsHDU::card(), GFitsTable::clone(), GFitsHDU::has_card(), GFitsHDU::header(), GEvents::m_gti, GGti::read(), set_times(), GFitsHDU::string(), and gammalib::strip_whitespace().

Referenced by read().

void GLATEventCube::read_srcmap ( const GFitsImage hdu)
protected

Read LAT source map from HDU.

Parameters
[in]hduImage HDU.
Exceptions
GException::invalid_argumentSource map in hdu is not compatible with event cube.

This method reads a LAT source map from a FITS image. The source map is stored in a GSkyMap object and is given in units of counts/pixel/MeV.

Definition at line 798 of file GLATEventCube.cpp.

References GFitsHDU::extname(), G_READ_SRCMAP, m_map, m_srcmap, m_srcmap_names, map(), GSkyMap::nmaps(), GSkyMap::nx(), GSkyMap::ny(), GSkyMap::projection(), GSkyMap::read(), and gammalib::str().

Referenced by read().

void GLATEventCube::save ( const GFilename filename,
const bool &  clobber = false 
) const
virtual

Save LAT event cube into FITS file.

Parameters
[in]filenameFITS file name.
[in]clobberOverwrite existing FITS file? (default: false)

Save the LAT event cube into FITS file.

Implements GEventCube.

Definition at line 336 of file GLATEventCube.cpp.

References GFits::saveto(), and write().

void GLATEventCube::set_bin ( const int &  index)
protected

Set event bin.

Parameters
[in]indexEvent index [0,...,size()-1].
Exceptions
GException::out_of_rangeEvent index is outside valid range.
GException::invalid_valueEnergy vectors have not been set up. Sky directions and solid angles vectors have not been set up.

This method provides the event attributes to the event bin. The event bin is in fact physically stored in the event cube, and only a single event bin is indeed allocated. This method sets up the pointers in the event bin so that a client can easily access the information of individual bins as if they were stored in an array.

Definition at line 1049 of file GLATEventCube.cpp.

References ebins(), G_SET_BIN, m_bin, GLATEventBin::m_counts, GLATEventBin::m_cube, GLATEventBin::m_dir, m_dirs, m_energies, GLATEventBin::m_energy, GLATEventBin::m_ewidth, m_ewidth, GLATEventBin::m_ieng, GLATEventBin::m_index, GLATEventBin::m_ipix, m_map, GLATEventBin::m_ontime, m_ontime, GLATEventBin::m_solidangle, m_solidangle, GLATEventBin::m_time, m_time, npix(), GSkyMap::pixels(), size(), and gammalib::str().

Referenced by operator[]().

void GLATEventCube::set_directions ( void  )
protected

Set sky directions and solid angles of events cube.

Exceptions
GException::invalid_valueNo sky pixels found in event cube.

This method computes the sky directions and solid angles for all event cube pixels. Sky directions are stored in an array of GLATInstDir objects while solid angles are stored in units of sr in a double precision array.

Definition at line 925 of file GLATEventCube.cpp.

References G_SET_DIRECTIONS, m_dirs, m_map, m_solidangle, npix(), nx(), ny(), GSkyMap::pix2dir(), and GSkyMap::solidangle().

Referenced by map(), and read_cntmap().

void GLATEventCube::set_energies ( void  )
protectedvirtual

Set log mean energies and energy widths of event cube.

Exceptions
GException::invalid_valueNo energy boundaries found in event cube.

This method computes the log mean energies and the energy widths of the event cube. The log mean energies and energy widths are stored unit independent in arrays of GEnergy objects.

Reimplemented from GEventCube.

Definition at line 966 of file GLATEventCube.cpp.

References GNodeArray::append(), GNodeArray::clear(), ebins(), GEvents::ebounds(), gammalib::elogmean(), GEvents::emax(), GEvents::emin(), G_SET_ENERGIES, log10(), m_energies, m_enodes, and m_ewidth.

Referenced by read_ebds().

void GLATEventCube::set_times ( void  )
protectedvirtual

Set mean event time and ontime of event cube.

Exceptions
GException::invalid_valueNo Good Time Intervals found.

Computes the mean time of the event cube by taking the mean between start and stop time. Computes also the ontime by summing up of all good time intervals.

Todo:
Could add a more sophisticated mean event time computation that weights by the length of the GTIs, yet so far we do not really use the mean event time, hence there is no rush to implement this.

Reimplemented from GEventCube.

Definition at line 1011 of file GLATEventCube.cpp.

References G_SET_TIMES, GEvents::m_gti, m_ontime, m_time, GGti::ontime(), GGti::size(), GGti::tstart(), and GGti::tstop().

Referenced by read_gti().

int GLATEventCube::size ( void  ) const
virtual

Return number of bins in event cube.

Returns
Number of bins in event cube.

Implements GEventCube.

Definition at line 242 of file GLATEventCube.cpp.

References m_map, GSkyMap::nmaps(), and GSkyMap::npix().

Referenced by number(), print(), and set_bin().

void GLATEventCube::time ( const GTime time)
inline

Set event cube mean time.

Parameters
[in]timeEvent cube mean time.

Definition at line 147 of file GLATEventCube.hpp.

References m_time, and time().

const GTime & GLATEventCube::time ( void  ) const
inline

Return event cube mean time.

Returns
Event cube mean time.

Definition at line 186 of file GLATEventCube.hpp.

References m_time.

Referenced by time().

void GLATEventCube::write ( GFits fits) const
virtual

Write LAT event cube into FITS file.

Parameters
[in]fitsFITS file.

Implements GEventCube.

Definition at line 425 of file GLATEventCube.cpp.

References GEvents::ebounds(), GEvents::gti(), m_map, m_srcmap, GGti::write(), GEbounds::write(), and GSkyMap::write().

Referenced by save().

Member Data Documentation

GLATEventBin GLATEventCube::m_bin
protected

Actual energy bin.

Definition at line 115 of file GLATEventCube.hpp.

Referenced by copy_members(), init_members(), operator[](), and set_bin().

std::vector<GLATInstDir> GLATEventCube::m_dirs
protected

Array of event directions.

Definition at line 119 of file GLATEventCube.hpp.

Referenced by copy_members(), init_members(), set_bin(), and set_directions().

std::vector<GEnergy> GLATEventCube::m_energies
protected

Array of log mean energies.

Definition at line 121 of file GLATEventCube.hpp.

Referenced by copy_members(), init_members(), set_bin(), and set_energies().

GNodeArray GLATEventCube::m_enodes
protected

Energy nodes.

Definition at line 125 of file GLATEventCube.hpp.

Referenced by copy_members(), enodes(), init_members(), and set_energies().

std::vector<GEnergy> GLATEventCube::m_ewidth
protected

Array of energy bin widths.

Definition at line 122 of file GLATEventCube.hpp.

Referenced by copy_members(), init_members(), set_bin(), and set_energies().

GSkyMap GLATEventCube::m_map
protected
double GLATEventCube::m_ontime
protected

Event cube ontime (sec)

Definition at line 118 of file GLATEventCube.hpp.

Referenced by copy_members(), init_members(), ontime(), set_bin(), and set_times().

std::vector<double> GLATEventCube::m_solidangle
protected

Array of solid angles (sr)

Definition at line 120 of file GLATEventCube.hpp.

Referenced by copy_members(), init_members(), set_bin(), and set_directions().

std::vector<GSkyMap*> GLATEventCube::m_srcmap
protected

Pointers to source maps.

Definition at line 123 of file GLATEventCube.hpp.

Referenced by copy_members(), diffrsp(), free_members(), init_members(), ndiffrsp(), print(), read_srcmap(), and write().

std::vector<std::string> GLATEventCube::m_srcmap_names
protected

Source map names.

Definition at line 124 of file GLATEventCube.hpp.

Referenced by copy_members(), diffname(), free_members(), init_members(), print(), and read_srcmap().

GTime GLATEventCube::m_time
protected

Event cube mean time.

Definition at line 117 of file GLATEventCube.hpp.

Referenced by copy_members(), init_members(), set_bin(), set_times(), and time().


The documentation for this class was generated from the following files: