27 #ifndef GCTAMODELRADIALGAUSS_HPP
28 #define GCTAMODELRADIALGAUSS_HPP
72 virtual void clear(
void);
74 virtual std::string
classname(
void)
const;
75 virtual std::string
type(
void)
const;
76 virtual double eval(
const double& offset,
77 const bool& gradients =
false)
const;
80 virtual double omega(
void)
const;
86 double sigma(
void)
const;
87 void sigma(
const double& sigma);
102 double arg2 = arg * arg;
123 return (
"GCTAModelRadialGauss");
virtual std::string print(const GChatter &chatter=NORMAL) const
Print point source information.
virtual double eval(const double &offset, const bool &gradients=false) const
Evaluate function.
virtual ~GCTAModelRadialGauss(void)
Destructor.
GCTAModelRadialGauss(void)
Void constructor.
double eval(const double &x)
virtual GCTAModelRadialGauss & operator=(const GCTAModelRadialGauss &model)
Assignment operator.
void free_members(void)
Delete class members.
Random number generator class.
virtual void clear(void)
Clear instance.
virtual void read(const GXmlElement &xml)
Read model from XML element.
virtual std::string type(void) const
Return model type.
Radial Gaussian CTA model class.
Model parameter class interface definition.
GModelPar m_sigma
Width parameter (degrees^2)
Single parameter function abstract base class definition.
Abstract radial acceptance model class interface definition.
void copy_members(const GCTAModelRadialGauss &model)
Copy class members.
double sigma(void) const
Return Gaussian width parameter.
virtual GCTAModelRadialGauss * clone(void) const
Clone instance.
virtual double mc_max_value(const GCTAObservation &obs) const
Return maximum function value for Monte Carlo simulations.
double value(void) const
Return parameter value.
Single parameter function abstract base class.
GVector sin(const GVector &vector)
Computes sine of vector elements.
virtual std::string classname(void) const
Return class name.
void init_members(void)
Initialise class members.
GVector exp(const GVector &vector)
Computes exponential of vector elements.
CTA instrument direction class.
virtual GCTAInstDir mc(GRan &ran) const
Returns MC instrument direction.
Abstract radial acceptance model class.
virtual double omega(void) const
Returns integral over radial model (in steradians)
virtual void write(GXmlElement &xml) const
Write model into XML element.