SourceXtractorPlusPlus  0.11
Please provide a description of the project.
KronRadiusPlugin.cpp
Go to the documentation of this file.
1 
17 /*
18  * KronRadiusPlugin.cpp
19  *
20  * Created on: Sep 12, 2016
21  * Author: mkuemmel@usm.lmu.de
22  */
23 
25 
29 
30 namespace SourceXtractor {
31 
33 
36 
38  "kron_radius",
39  [](const KronRadius& prop){
40  return prop.getKronRadius();
41  },
42  "pixel",
43  "Kron radius"
44  );
45 
47  "kron_flag",
48  [](const KronRadius& prop){
49  return prop.getFlag();
50  },
51  "",
52  "Flags for the Kron radius"
53  );
54 
55  // register as optional output (to have it in the output catalog)
56  plugin_api.getOutputRegistry().enableOutput<KronRadius>("KronRadius");
57 }
58 
60  return "KronRadiusPlugin";
61 }
62 
63 }
std::string
STL class.
StaticPlugin.h
SourceXtractor::KronRadius
Kron radius.
Definition: KronRadius.h:36
SourceXtractor
Definition: Aperture.h:30
KronRadiusPlugin.h
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
SourceXtractor::TaskFactoryRegistry::registerTaskFactory
void registerTaskFactory()
Definition: TaskFactoryRegistry.h:51
SourceXtractor::OutputRegistry::enableOutput
void enableOutput(std::string alias_name)
Definition: OutputRegistry.h:128
SourceXtractor::KronRadiusPlugin::getIdString
virtual std::string getIdString() const override
Definition: KronRadiusPlugin.cpp:59
std::int64_t
KronRadiusTaskFactory.h
SourceXtractor::KronRadiusPlugin::registerPlugin
virtual void registerPlugin(PluginAPI &plugin_api) override
Definition: KronRadiusPlugin.cpp:34
SourceXtractor::PluginAPI::getOutputRegistry
virtual OutputRegistry & getOutputRegistry() const =0
SourceXtractor::PluginAPI::getTaskFactoryRegistry
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
SourceXtractor::StaticPlugin
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
SourceXtractor::KronRadiusTaskFactory
Definition: KronRadiusTaskFactory.h:31
SourceXtractor::kron_radius_plugin
static StaticPlugin< KronRadiusPlugin > kron_radius_plugin
Definition: KronRadiusPlugin.cpp:32
SourceXtractor::OutputRegistry::registerColumnConverter
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")
Definition: OutputRegistry.h:46
KronRadius.h