AssnsMultipleProduces_module.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // Class: AssnsMultipleProduces
3 // Module Type: producer
4 // File: AssnsMultipleProduces_module.cc
5 ////////////////////////////////////////////////////////////////////////
6 
11 
12 namespace art {
13  namespace test {
14  class AssnsMultipleProduces;
15  }
16 } // namespace art
17 
19 public:
20  struct Config {
21  };
23  explicit AssnsMultipleProduces(Parameters const&);
24 
25 private:
26  void produce(art::Event&) override{};
27 };
28 
29 using std::size_t;
30 using std::string;
31 
33  : EDProducer{ps}
34 {
35  produces<Assns<size_t, string>>();
36  produces<Assns<string, size_t>>();
37 }
38 
static const double ps
Definition: Units.h:103
std::string string
Definition: nybbler.cc:12
Definition: test.py:1
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:68