34 #define CTTSMAP_NAME "cttsmap"
61 cttsmap(
int argc,
char *argv[]);
72 void publish(
const std::string& name =
"");
73 const GSkyMap&
tsmap(
void)
const;
void get_parameters(void)
Get application parameters.
void init_members(void)
Initialise class members.
void clear(void)
Clear instance.
void copy_members(const cttsmap &app)
Copy class members.
bool m_publish
Publish TS map?
const GObservations & obs(void) const
Return observation container.
cttsmap(void)
Void constructor.
void save(void)
Save maps.
Likelihood tool base class interface definition.
std::vector< std::string > m_mapnames
Names of free parameters.
void process(void)
Computes the TS maps.
void free_members(void)
Delete class members.
GSkyMap m_statusmap
Map of optimizer fit status.
cttsmap & operator=(const cttsmap &app)
Assignment operator.
bool m_errors
Compute and store parameter errors?
bool m_apply_edisp
Apply energy dispersion?
double m_logL0
Likelihood value of null hypothesis.
std::vector< GSkyMap > m_maps
Sky maps for each free parameter.
int m_binmin
Map bin number from which computation should start.
GFilename m_outmap
Output TS map file name.
void init_maps(const GSkyMap &map)
Initialise skymaps.
void publish(const std::string &name="")
Publish TS map.
virtual ~cttsmap(void)
Destructor.
int m_binmax
Map bin number where map computation should end.
std::string m_srcname
Name of source which is moved around.
Base class for likelihood tools.
GModel * m_testsource
Pointer to test source for TS computation.
const GSkyMap & tsmap(void) const
Return TS skymap.