SourceXtractorPlusPlus  0.16
Please provide a description of the project.
AssocModeTask.h
Go to the documentation of this file.
1 
19 #ifndef _SEIMPLEMENTATION_PLUGIN_ASSOCMODE_ASSOCMODETASK_H_
20 #define _SEIMPLEMENTATION_PLUGIN_ASSOCMODE_ASSOCMODETASK_H_
21 
22 
23 #include "AssocModeConfig.h"
24 #include "SEUtils/Types.h"
25 #include "SEUtils/KdTree.h"
26 
28 
29 
30 namespace SourceXtractor {
31 
32 class AssocModeTask : public SourceTask {
33 public:
36 
38  virtual ~AssocModeTask() = default;
39 
41 
42  void computeProperties(SourceInterface& source) const override;
43 
44 private:
47  double m_radius;
48 };
49 
50 }
51 
52 
53 
54 #endif /* _SEIMPLEMENTATION_PLUGIN_ASSOCMODE_ASSOCMODETASK_H_ */
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
KdTree< AssocModeConfig::CatalogEntry > m_catalog
Definition: AssocModeTask.h:45
AssocModeTask(const std::vector< AssocModeConfig::CatalogEntry > &catalog, AssocModeConfig::AssocMode assoc_type, double radius)
AssocModeConfig::AssocMode m_assoc_mode
Definition: AssocModeTask.h:46
virtual ~AssocModeTask()=default
Destructor.
A simple N-dimensional KdTree for speeding-up elements within range types of queries.
Definition: KdTree.h:42
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