SourceXtractorPlusPlus  0.15
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_ */
SourceXtractor::AperturePhotometryTask::m_use_symmetry
bool m_use_symmetry
Definition: AperturePhotometryTask.h:50
SourceXtractor::AperturePhotometryTask
Definition: AperturePhotometryTask.h:32
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition: Types.h:32
std::vector< SeFloat >
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::AperturePhotometryTask::computeProperties
virtual void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition: AperturePhotometryTask.cpp:48
SourceXtractor::AperturePhotometryTask::m_apertures
std::vector< SeFloat > m_apertures
Definition: AperturePhotometryTask.h:47
Aperture.h
SourceXtractor::AperturePhotometryTask::m_magnitude_zero_point
SeFloat m_magnitude_zero_point
Definition: AperturePhotometryTask.h:49
SourceXtractor::AperturePhotometryTask::~AperturePhotometryTask
virtual ~AperturePhotometryTask()=default
SourceXtractor::SourceTask
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
SourceXtractor::AperturePhotometryTask::AperturePhotometryTask
AperturePhotometryTask(const std::vector< SeFloat > &apertures, unsigned int instance, SeFloat magnitude_zero_point, bool use_symmetry)
Definition: AperturePhotometryTask.h:37
SourceXtractor::AperturePhotometryTask::m_instance
unsigned int m_instance
Definition: AperturePhotometryTask.h:48
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition: SourceInterface.h:46
SourceTask.h