15 #ifndef BORNAGAIN_CORE_COMPUTATION_CONSTANTBACKGROUND_H
16 #define BORNAGAIN_CORE_COMPUTATION_CONSTANTBACKGROUND_H
32 double backgroundValue()
const {
return m_background_value; }
36 double addBackground(
double intensity)
const override final;
39 const double& m_background_value;
Defines interface IBackground.
Class representing a constant background signal.
void accept(INodeVisitor *visitor) const override
Calls the INodeVisitor's visit method.
Interface for a simulating the background signal.
Visitor interface to visit ISample objects.