SourceXtractorPlusPlus  0.10
Please provide a description of the project.
GroupInfoPlugin.cpp
Go to the documentation of this file.
1 
17 /*
18  * GroupInfoPlugin.cpp
19  *
20  * Created on: 2019 M01 30
21  * Author: mschefer
22  */
23 
24 
26 
29 
31 
32 namespace SourceXtractor {
33 
35 
38 
40  "group_id",
41  [](const GroupInfo& prop){
42  return prop.getGroupId();
43  },
44  "",
45  "Running group number"
46  );
47 
48  plugin_api.getOutputRegistry().enableOutput<GroupInfo>("GroupInfo");
49 }
50 
52  return "GroupInfo";
53 }
54 
55 }
56 
std::string
STL class.
StaticPlugin.h
GroupInfo.h
SourceXtractor::GroupInfoPlugin::registerPlugin
virtual void registerPlugin(PluginAPI &plugin_api) override
Definition: GroupInfoPlugin.cpp:36
SourceXtractor
Definition: Aperture.h:30
GroupInfoTaskFactory.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
GroupInfoPlugin.h
SourceXtractor::group_info_plugin
static StaticPlugin< GroupInfoPlugin > group_info_plugin
Definition: GroupInfoPlugin.cpp:34
SourceXtractor::GroupInfo
Definition: GroupInfo.h:32
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::GroupInfoPlugin::getIdString
virtual std::string getIdString() const override
Definition: GroupInfoPlugin.cpp:51
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
SourceXtractor::GroupInfoTaskFactory
Produces GroupInfoTask.
Definition: GroupInfoTaskFactory.h:35