27#ifndef GCTAMODELRADIALPROFILE_HPP
28#define GCTAMODELRADIALPROFILE_HPP
74 virtual void clear(
void);
76 virtual std::string
classname(
void)
const;
77 virtual std::string
type(
void)
const;
78 virtual double eval(
const double& offset,
79 const bool& gradients =
false)
const;
82 virtual double omega(
void)
const;
88 double width(
void)
const;
89 double core(
void)
const;
90 double tail(
void)
const;
128 return (
"GCTAModelRadialProfile");
Abstract radial acceptance model class interface definition.
Single parameter function abstract base class definition.
Mathematical function definitions.
Model parameter class interface definition.
CTA instrument direction class.
integrand(const GCTAModelRadialProfile *model)
double eval(const double &x)
const GCTAModelRadialProfile * m_model
Radial Profile CTA model class.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.
virtual void clear(void)
Clear instance.
GModelPar m_tail
Tail parameter.
virtual GCTAModelRadialProfile & operator=(const GCTAModelRadialProfile &model)
Assignment operator.
virtual GCTAModelRadialProfile * clone(void) const
Clone instance.
virtual double mc_max_value(const GCTAObservation &obs) const
Return maximum function value for Monte Carlo simulations.
virtual ~GCTAModelRadialProfile(void)
Destructor.
virtual void read(const GXmlElement &xml)
Read model from XML element.
virtual GCTAInstDir mc(GRan &ran) const
Returns MC instrument direction.
virtual double omega(void) const
Returns integral over radial model (in steradians)
double core(void) const
Return profile core.
GCTAModelRadialProfile(void)
Void constructor.
virtual double eval(const double &offset, const bool &gradients=false) const
Evaluate function.
virtual std::string classname(void) const
Return class name.
double tail(void) const
Return profile tail.
virtual void write(GXmlElement &xml) const
Write model into XML element.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print point source information.
virtual std::string type(void) const
Return model type.
void copy_members(const GCTAModelRadialProfile &model)
Copy class members.
double width(void) const
Return profile width.
GModelPar m_width
Width parameter.
GModelPar m_core
Core parameter.
Abstract radial acceptance model class.
Single parameter function abstract base class.
double value(void) const
Return parameter value.
Random number generator class.