27 #ifndef GCTAMODELSPATIALGAUSSSPECTRUM_HPP
28 #define GCTAMODELSPATIALGAUSSSPECTRUM_HPP
63 virtual void clear(
void);
65 virtual std::string
classname(
void)
const;
66 virtual std::string
type(
void)
const;
70 const bool& gradients =
false)
const;
78 void sigma(
const double& sigma);
102 return (
"GCTAModelSpatialGaussSpectrum");
114 return (
"EnergyDependentGaussian");
virtual ~GCTAModelSpatialGaussSpectrum(void)
Destructor.
Abstract spatial model class.
virtual void clear(void)
Clear instance.
Abstract spectral model base class.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.
virtual GCTAModelSpatialGaussSpectrum * clone(void) const
Clone instance.
virtual void write(GXmlElement &xml) const
Write model into XML element.
virtual std::string classname(void) const
Return class name.
virtual GCTAModelSpatialGaussSpectrum & operator=(const GCTAModelSpatialGaussSpectrum &model)
Assignment operator.
virtual std::string type(void) const
Return model type.
const GModelSpectral * sigma(void) const
Return pointer to sigma spectrum.
Spatial energy dependent Gaussian model class.
void copy_members(const GCTAModelSpatialGaussSpectrum &model)
Copy class members.
Abstract spectral model base class interface definition.
virtual double eval(const GCTAInstDir &dir, const GEnergy &energy, const GTime &time, const bool &gradients=false) const
Evaluate function.
GCTAModelSpatialGaussSpectrum(void)
Void constructor.
Abstract spatial model class interface definition.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print point source information.
virtual void read(const GXmlElement &xml)
Read model from XML element.
CTA instrument direction class.
virtual double mc_max_value(const GCTAObservation &obs) const
Return maximum function value for Monte Carlo simulations.
void set_pointers(void)
Set pointers.
Class that handles energies in a unit independent way.