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