19 #include <momemta/Module.h> 21 #include <momemta/ParameterSet.h> 22 #include <momemta/Types.h> 34 input = pool->get<T>(parameters.get<
InputTag>(
"input"));
41 virtual Status
work()
override {
53 std::shared_ptr<T> result = produce<T>(
"sum");
62 result->SetXYZT(0, 0, 0, 0);
virtual void beginPoint() override
Called once when a new PS point is started.
Parent class for all the modules.
A class encapsulating a lua table.
A class representing a value produced by a module.
Module(PoolPtr pool, const std::string &name)
Constructor.
virtual Status work() override
Main function.
A module performing a sum over a set of values.