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;
91 void width(
const double& width);
92 void core(
const double& core);
93 void tail(
const double& tail);
128 return (
"GCTAModelRadialProfile");
virtual std::string print(const GChatter &chatter=NORMAL) const
Print point source information.
double eval(const double &x)
GCTAModelRadialProfile(void)
Void constructor.
void init_members(void)
Initialise class members.
double tail(void) const
Return profile tail.
virtual void clear(void)
Clear instance.
virtual std::string classname(void) const
Return class name.
virtual GCTAModelRadialProfile * clone(void) const
Clone instance.
Random number generator class.
double width(void) const
Return profile width.
Model parameter class interface definition.
virtual double omega(void) const
Returns integral over radial model (in steradians)
Single parameter function abstract base class definition.
void free_members(void)
Delete class members.
virtual double eval(const double &offset, const bool &gradients=false) const
Evaluate function.
virtual ~GCTAModelRadialProfile(void)
Destructor.
Abstract radial acceptance model class interface definition.
GModelPar m_core
Core parameter.
Radial Profile CTA model class.
virtual double mc_max_value(const GCTAObservation &obs) const
Return maximum function value for Monte Carlo simulations.
GModelPar m_tail
Tail parameter.
virtual GCTAInstDir mc(GRan &ran) const
Returns MC instrument direction.
virtual GCTAModelRadialProfile & operator=(const GCTAModelRadialProfile &model)
Assignment operator.
integrand(const GCTAModelRadialProfile *model)
virtual void read(const GXmlElement &xml)
Read model from XML element.
double value(void) const
Return parameter value.
Single parameter function abstract base class.
const GCTAModelRadialProfile * m_model
GVector sin(const GVector &vector)
Computes sine of vector elements.
virtual void write(GXmlElement &xml) const
Write model into XML element.
CTA instrument direction class.
GModelPar m_width
Width parameter.
Abstract radial acceptance model class.
void copy_members(const GCTAModelRadialProfile &model)
Copy class members.
double core(void) const
Return profile core.
virtual std::string type(void) const
Return model type.
Mathematical function definitions.