31 #include "GammaLib.hpp"
32 #include "GCTALib.hpp"
36 #define CTBKGCUBE_NAME "ctbkgcube"
61 void publish(
const std::string& name =
"");
63 const GCTACubeBackground&
bkgcube(
void)
const;
64 const GModels&
models(
void)
const;
void free_members(void)
Delete class members.
ctbkgcube(void)
Void constructor.
GModels m_outmdl
Output models.
Background cube generation tool.
GModels m_bkgmdl
CTA background models.
void cntcube(const GCTAEventCube &cntcube)
Set event cube.
const GObservations & obs(void) const
Return observation container.
void clear(void)
Clear ctbkgcube tool.
const GModels & models(void) const
Return background model container.
GCTAEventCube m_cube
Event cube.
void save(void)
Save background cube.
void process(void)
Generate the background cube(s).
void copy_members(const ctbkgcube &app)
Copy class members.
ctbkgcube & operator=(const ctbkgcube &app)
Assignment operator.
const GCTACubeBackground & bkgcube(void) const
Return background response cube containing background rate.
GCTACubeBackground m_background
Background cube.
Observation tool base class interface definition.
Base class for observation tools.
GChatter m_chatter
Chattiness.
virtual ~ctbkgcube(void)
Destructor.
void init_members(void)
Initialise class members.
GFilename m_outcube
Filename of output cube.
void publish(const std::string &name="")
Publish background cube.
GFilename m_outmodel
Filename of output XML model.
void get_parameters(void)
Get application parameters.
bool m_publish
Publish background cube?