18 #include "Sim/Background/ConstantBackground.h" 
   19 #include "Sim/Background/PoissonBackground.h" 
   23     m_backgroundValue.init(
"Background value", 
"Constant background value", 0.0, 
"counts/pixel", 3,
 
   24                            RealLimits::nonnegative(), 
"value");
 
   29     return std::make_unique<ConstantBackground>(m_backgroundValue);
 
   40     return std::make_unique<PoissonBackground>();
 
Defines BackgroundItem classes.
 
Defines class DoubleDescriptor.
 
void serialize(Streamer &s) override
 
std::unique_ptr< IBackground > createBackground() const override
 
std::unique_ptr< IBackground > createBackground() const override
 
std::unique_ptr< IBackground > createBackground() const override
 
Supports serialization to or deserialization from QXmlStream.
 
void assertVersion(unsigned expectedVersion) const
As reader, throws DeserializationException unless the expected version is read. As writer,...
 
void rwProperty(Streamer &s, DoubleProperty &d)