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