SourceXtractorPlusPlus  0.16
Please provide a description of the project.
AperturePhotometryTask.h
Go to the documentation of this file.
1 
17 /*
18  * AperturePhotometryTask.h
19  *
20  * Created on: Sep 22, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRYTASK_H_
25 #define _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRYTASK_H_
26 
29 
30 namespace SourceXtractor {
31 
33 public:
34 
35  virtual ~AperturePhotometryTask() = default;
36 
37  AperturePhotometryTask(const std::vector<SeFloat> &apertures, unsigned int instance,
38  SeFloat magnitude_zero_point, bool use_symmetry)
39  : m_apertures(apertures),
40  m_instance(instance),
41  m_magnitude_zero_point(magnitude_zero_point),
42  m_use_symmetry(use_symmetry) {}
43 
44  virtual void computeProperties(SourceInterface &source) const override;
45 
46 private:
48  unsigned int m_instance;
51 
52 };
53 
54 }
55 
56 #endif /* _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRYTASK_H_ */
virtual void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
AperturePhotometryTask(const std::vector< SeFloat > &apertures, unsigned int instance, SeFloat magnitude_zero_point, bool use_symmetry)
The SourceInterface is an abstract "source" that has properties attached to it.
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
SeFloat32 SeFloat
Definition: Types.h:32