27 #ifndef GCOMMODELDRM_HPP
28 #define GCOMMODELDRM_HPP
62 virtual void clear(
void);
64 virtual std::string
classname(
void)
const;
65 virtual std::string
type(
void)
const;
69 const bool& gradients =
false)
const;
98 return (
"GCOMModelDRM");
virtual void clear(void)
Clear instance.
virtual GCOMModelDRM * clone(void) const
Clone instance.
virtual double npred(const GEnergy &obsEng, const GTime &obsTime, const GObservation &obs) const
Return spatially integrated DRM model.
XML element node class interface definition.
virtual GCOMEventCube * mc(const GObservation &obs, GRan &ran) const
Return simulated list of events.
Abstract interface for the event classes.
Random number generator class.
void init_members(void)
Initialise class members.
virtual void write(GXmlElement &xml) const
Write model into XML element.
Model parameter class interface definition.
virtual ~GCOMModelDRM(void)
Destructor.
Node array class interface definition.
virtual std::string classname(void) const
Return class name.
Abstract data model base class interface definition.
Abstract event base class definition.
virtual bool is_constant(void) const
Signals if model is temporally constant.
Abstract data model class.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print model information.
Abstract observation base class.
COMPTEL event bin container class.
Abstract observation base class interface definition.
GFilename m_filename
Name of DRM FITS file.
void copy_members(const GCOMModelDRM &model)
Copy class members.
void free_members(void)
Delete class members.
GCOMModelDRM(void)
Void constructor.
GModelPar m_norm
Normalisation.
COMPTEL Data Space class.
virtual double eval(const GEvent &event, const GObservation &obs, const bool &gradients=false) const
Evaluate function.
COMPTEL event bin container class interface definition.
virtual std::string type(void) const
Return model type.
virtual void read(const GXmlElement &xml)
Read model from XML element.
virtual GCOMModelDRM & operator=(const GCOMModelDRM &model)
Assignment operator.
Class that handles energies in a unit independent way.