27 #ifndef CTCUBEMASK_HPP
28 #define CTCUBEMASK_HPP
33 #include "GammaLib.hpp"
34 #include "GCTALib.hpp"
36 #include "GCTAEventCube.hpp"
39 #define CTCUBEMASK_NAME "ctcubemask"
64 void publish(
const std::string& name =
"");
void apply_mask(GCTAObservation *obs)
Apply mask to event cube.
void init_members(void)
Initialise class members.
bool m_select_energy
Perform energy selection.
GFilename m_outcube
Output event list or XML file.
const GObservations & obs(void) const
Return observation container.
ctcubemask & operator=(const ctcubemask &app)
Assignment operator.
void save_xml(void)
Save counts cube(s) in XML format.
void publish(const std::string &name="")
Publish counts cube.
std::string m_prefix
Prefix for multiple counts maps.
void save(void)
Save the masked event cube(s)
std::string region_string(const GSkyRegion ®ion) const
Return region string.
void copy_members(const ctcubemask &app)
Copy class members.
void get_parameters(void)
Get application parameters.
Observation tool base class interface definition.
Base class for observation tools.
ctcubemask(void)
Void constructor.
virtual ~ctcubemask(void)
Destructor.
double m_emin
Lower energy.
std::vector< std::string > m_infiles
Input event filenames.
void process(void)
Mask data cube.
void clear(void)
Clear ctcubemask tool.
std::string set_outfile_name(const std::string &filename) const
Set output file name.
bool m_publish
Publish counts cube?
void save_fits(void)
Save counts cube in FITS format.
void free_members(void)
Delete class members.
double m_emax
Upper energy.