SourceXtractorPlusPlus  0.12
Please provide a description of the project.
MoffatModelFittingTask.h
Go to the documentation of this file.
1 
17 /*
18  * MoffatModelFittingTask.h
19  *
20  * Created on: May 2, 2017
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTINGTASK_H_
25 #define _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTINGTASK_H_
26 
28 
30 
31 namespace SourceXtractor {
32 
34 
35 public:
36  MoffatModelFittingTask(const std::string& least_squares_engine, unsigned int max_iterations)
37  : m_least_squares_engine(least_squares_engine), m_max_iterations(max_iterations) {}
38 
39  virtual ~MoffatModelFittingTask() = default;
40 
41  virtual void computeProperties(SourceInterface& source) const override;
42 
43 private:
44 
46  unsigned int m_max_iterations;
47 };
48 
49 }
50 
51 #endif /* _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTINGTASK_H_ */
virtual void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
STL class.
MoffatModelFittingTask(const std::string &least_squares_engine, unsigned int max_iterations)
The SourceInterface is an abstract "source" that has properties attached to it.