U_S_module.cc
Go to the documentation of this file.
5 
6 namespace arttest {
7  class U_S;
8 }
9 
10 class arttest::U_S : public art::EDProducer {
11 public:
12  struct Config {
13  };
15  explicit U_S(Parameters const& ps) : EDProducer{ps}
16  {
17  produces<IntProduct>();
18  }
19 
20 private:
21  void
22  produce(art::Event& e) override
23  {
24  e.put(std::make_unique<IntProduct>(1));
25  }
26 };
27 
static const double ps
Definition: Units.h:103
EDProducer()=default
const double e
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:68
void produce(art::Event &e) override
Definition: U_S_module.cc:22
ProductID put(std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > const semantic)
Definition: DataViewImpl.h:692
U_S(Parameters const &ps)
Definition: U_S_module.cc:15