71 virtual std::string
type(
void)
const = 0;
75 const bool& gradients =
false)
const = 0;
Abstract model base class interface definition.
Class that handles energies in a unit independent way.
Abstract interface for the event classes.
Abstract event container class.
Sparse matrix class interface definition.
Abstract data model class.
virtual ~GModelData(void)
Destructor.
virtual GModelData * clone(void) const =0
Clones object.
void init_members(void)
Initialise class members.
virtual std::string type(void) const =0
virtual double eval(const GEvent &event, const GObservation &obs, const bool &gradients=false) const =0
GModelData(void)
Void constructor.
virtual void clear(void)=0
Clear object.
virtual void write(GXmlElement &xml) const =0
void copy_members(const GModelData &model)
Copy class members.
void free_members(void)
Delete class members.
virtual double npred(const GEnergy &obsEng, const GTime &obsTime, const GObservation &obs) const =0
virtual bool is_constant(void) const =0
virtual std::string classname(void) const =0
Return class name.
virtual GModelData & operator=(const GModelData &model)
Assignment operator.
virtual void read(const GXmlElement &xml)=0
virtual GEvents * mc(const GObservation &obs, GRan &ran) const =0
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
Abstract observation base class.
Random number generator class.