27#ifndef GLATEVENTLIST_HPP
28#define GLATEVENTLIST_HPP
69 virtual void clear(
void);
71 virtual std::string
classname(
void)
const;
72 virtual int size(
void)
const;
75 const bool& clobber =
false)
const;
78 virtual int number(
void)
const;
117 return (
"GLATEventList");
Abstract event atom container class interface definition.
Abstract FITS extension base class definition.
FITS table abstract base class interface definition.
FITS file class interface definition.
Fermi/LAT event atom class definition.
Fermi/LAT region of interest class definition.
Abstract event atom container class.
Abstract FITS extension base class.
Abstract interface for FITS table.
Fermi/LAT event atom class.
Fermi/LAT event list class.
std::vector< std::string > m_ds_type
Data selection types.
std::vector< GLATEventAtom > m_events
Events.
void read_ds_keys(const GFitsHDU &hdu)
Read data selection keywords from FITS HDU.
void remove(const int &index, const int &number=1)
Remove events from event list.
std::vector< std::string > m_ds_reference
Data selection references.
GLATEventList(void)
Void constructor.
virtual void clear(void)
Clear event list.
void append(const GLATEventAtom &event)
Append event to event list.
virtual void write(GFits &file) const
Write LAT event list into FITS file.
std::vector< std::string > m_difrsp_label
Diffuse response model labels.
virtual GLATEventList * clone(void) const
Clone event list.
virtual int size(void) const
Return number of events in list.
virtual const GLATRoi & roi(void) const
Return Region of Interest.
virtual void load(const GFilename &filename)
Load LAT events from FITS file.
void copy_members(const GLATEventList &list)
Copy class members.
std::vector< std::string > m_ds_value
Data selection values.
virtual ~GLATEventList(void)
Destructor.
virtual void save(const GFilename &filename, const bool &clobber=false) const
Save LAT events.
virtual int number(void) const
Return number of events in list.
void reserve(const int &number)
Reserves space for events.
virtual void read(const GFits &file)
Read LAT events from FITS file.
virtual std::string classname(void) const
Return class name.
virtual void set_energies(void)
void free_members(void)
Delete class members.
std::vector< std::string > m_ds_unit
Data selection units.
void read_events(const GFitsTable &hdu)
Read LAT events from FITS table.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print event list information.
virtual void set_times(void)
void init_members(void)
Initialise class members.
GLATRoi m_roi
Region of interest.
virtual GLATEventAtom * operator[](const int &index)
Event atom access operator.
virtual GLATEventList & operator=(const GLATEventList &list)
Assignment operator.
Fermi/LAT region of interest class.
Interface for the region of interest classes.
const std::string extname_lat_events