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