27#ifndef GCTAMODELRADIALPOLYNOM_HPP
28#define GCTAMODELRADIALPOLYNOM_HPP
73 virtual void clear(
void);
75 virtual std::string
classname(
void)
const;
76 virtual std::string
type(
void)
const;
77 virtual double eval(
const double& offset,
78 const bool& gradients =
false)
const;
81 virtual double omega(
void)
const;
122 return (
"GCTAModelRadialPolynom");
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 GCTAModelRadialPolynom *model)
const GCTAModelRadialPolynom * m_model
double eval(const double &x)
Radial Polynom CTA model class.
virtual double eval(const double &offset, const bool &gradients=false) const
Evaluate function.
virtual void read(const GXmlElement &xml)
Read model from XML element.
virtual void clear(void)
Clear instance.
virtual double mc_max_value(const GCTAObservation &obs) const
Return maximum function value for Monte Carlo simulations.
std::vector< GModelPar > m_coeffs
Coefficients.
void free_members(void)
Delete class members.
void copy_members(const GCTAModelRadialPolynom &model)
Copy class members.
virtual GCTAModelRadialPolynom & operator=(const GCTAModelRadialPolynom &model)
Assignment operator.
virtual std::string classname(void) const
Return class name.
virtual void write(GXmlElement &xml) const
Write model into XML element.
virtual GCTAModelRadialPolynom * clone(void) const
Clone instance.
virtual GCTAInstDir mc(GRan &ran) const
Returns MC instrument direction.
virtual ~GCTAModelRadialPolynom(void)
Destructor.
GCTAModelRadialPolynom(void)
Void constructor.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print point source information.
void update_pars(void)
Update parameter mapping.
void init_members(void)
Initialise class members.
virtual std::string type(void) const
Return model type.
virtual double omega(void) const
Returns integral over radial model (in steradians)
Abstract radial acceptance model class.
Single parameter function abstract base class.
Random number generator class.