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