27 #ifndef GCTAMODELSPATIALGRADIENT_HPP
28 #define GCTAMODELSPATIALGRADIENT_HPP
65 virtual void clear(
void);
67 virtual std::string
classname(
void)
const;
68 virtual std::string
type(
void)
const;
72 const bool& gradients =
false)
const;
104 return (
"GCTAModelSpatialGradient");
GModelPar m_detx_gradient
DETX gradient.
Abstract spatial model class.
virtual GCTAModelSpatialGradient * clone(void) const
Clone instance.
void copy_members(const GCTAModelSpatialGradient &model)
Copy class members.
virtual void clear(void)
Clear instance.
Random number generator class.
void free_members(void)
Delete class members.
Model parameter class interface definition.
virtual void read(const GXmlElement &xml)
Read model from XML element.
GModelPar m_dety_gradient
DETY gradient.
GCTAModelSpatialGradient(void)
Void constructor.
virtual ~GCTAModelSpatialGradient(void)
Destructor.
virtual void write(GXmlElement &xml) const
Write model into XML element.
virtual double eval(const GCTAInstDir &dir, const GEnergy &energy, const GTime &time, const bool &gradients=false) const
Evaluate function.
virtual std::string classname(void) const
Return class name.
virtual double mc_max_value(const GCTAObservation &obs) const
Return maximum function value for Monte Carlo simulations.
void init_members(void)
Initialise class members.
Spatial gradient CTA model class.
double detx_gradient(void) const
Return DETX gradient.
Abstract spatial model class interface definition.
double value(void) const
Return parameter value.
double dety_gradient(void) const
Return DETY gradient.
virtual GCTAModelSpatialGradient & operator=(const GCTAModelSpatialGradient &model)
Assignment operator.
CTA instrument direction class.
virtual std::string type(void) const
Return model type.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print point source information.
Class that handles energies in a unit independent way.