27 #ifndef GCOMMMODELDRBPHIBARBINS_HPP
28 #define GCOMMMODELDRBPHIBARBINS_HPP
64 virtual void clear(
void);
66 virtual std::string
classname(
void)
const;
67 virtual std::string
type(
void)
const;
71 const bool& gradients =
false)
const;
99 return (
"GCOMModelDRBPhibarBins");
114 return (
"DRBPhibarBins");
virtual GCOMModelDRBPhibarBins & operator=(const GCOMModelDRBPhibarBins &model)
Assignment operator.
COMPTEL DRB model Phibar bin fitting class.
virtual std::string classname(void) const
Return class name.
Abstract interface for the event classes.
virtual double eval(const GEvent &event, const GObservation &obs, const bool &gradients=false) const
Evaluate function.
virtual void clear(void)
Clear instance.
Random number generator class.
void free_members(void)
Delete class members.
virtual GCOMEventCube * mc(const GObservation &obs, GRan &ran) const
Return simulated list of events.
virtual void read(const GXmlElement &xml)
Read model from XML element.
Model parameter class interface definition.
virtual GCOMModelDRBPhibarBins * clone(void) const
Clone instance.
virtual std::string type(void) const
Return model type.
void copy_members(const GCOMModelDRBPhibarBins &model)
Copy class members.
Abstract data model base class interface definition.
std::vector< GModelPar > m_values
Normalisation values.
Abstract data model class.
Abstract observation base class.
COMPTEL event bin container class.
virtual double npred(const GEnergy &obsEng, const GTime &obsTime, const GObservation &obs) const
Return spatially integrated data model.
virtual void write(GXmlElement &xml) const
Write model into XML element.
GCOMModelDRBPhibarBins(void)
Void constructor.
virtual ~GCOMModelDRBPhibarBins(void)
Destructor.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print model information.
void init_members(void)
Initialise class members.
COMPTEL event bin container class interface definition.
void set_pointers(void)
Set pointers.
virtual bool is_constant(void) const
Signals if model is temporally constant.
Class that handles energies in a unit independent way.