34 #define CTULIMIT_NAME "ctulimit"
const double & flux_ulimit(void) const
Return flux upper limit.
ctulimit(void)
Void constructor.
GChatter m_chatter
Chattiness.
void get_model_parameter(void)
Get model parameter.
const GObservations & obs(void) const
Return observation container.
double m_dlogL
Likelihood difference for upper limit computation.
double m_diff_ulimit
Differential upper limit value.
Upper limit calculation tool.
void copy_members(const ctulimit &app)
Copy class members.
virtual ~ctulimit(void)
Destructor.
Likelihood tool base class interface definition.
double m_emax
Maximum energy for flux limits (TeV)
void free_members(void)
Delete class members.
double m_sigma_max
Starting value maximum (multiple fit errors above fit values)
double m_sigma_min
Starting value minimum (multiple fit errors above fit values)
GModelSky * m_skymodel
Pointer to sky model.
const double & diff_ulimit(void) const
Return differential upper limit.
std::string m_parname
Name of parameter for upper limit computation.
ctulimit & operator=(const ctulimit &app)
Assignment operator.
bool m_is_spatial
Signal that model parameter is spatial parameter.
void clear(void)
Clear ctulimit tool.
double m_eflux_ulimit
Energy flux upper limits.
GModelPar * m_model_par
Pointer to model parameter.
void get_parameter_brackets(double &parmin, double &parmax)
Determine parameter brackets.
double m_emin
Minimum energy for flux limits (TeV)
bool m_apply_edisp
Apply energy dispersion?
void get_parameters(void)
Get application parameters.
double m_confidence
Confidence level.
int m_max_iter
Maximum number of iterations.
const double & eflux_ulimit(void) const
return energy flux upper limit
void save(void)
Save upper limits.
void init_members(void)
Initialise class members.
double m_best_value
Best parameter value factor.
double m_tol
Tolerance for limit determination.
void process(void)
Compute upper limit.
double m_eref
Reference energy for flux limits (TeV)
double m_best_error
Best parameter value error.
Base class for likelihood tools.
void compute_ulimit(void)
Compute upper limit intensity and fluxes.
std::string m_srcname
Name of source for upper limit computation.
double m_flux_ulimit
Flux upper limit value.
double m_best_logL
Best fit log likelihood of given model.
void ulimit_bisection(const double &parmin, const double &parmax)
Calculate upper limit using a bisection method.