UnputtingProducer_module.cc
Go to the documentation of this file.
3 
4 #include <string>
5 #include <vector>
6 
7 namespace arttest {
8  class UnputtingProducer;
9 }
10 
11 //--------------------------------------------------------------------
12 //
13 // UnputtingProducer registers products, but does not put them into
14 // the Event.
15 //
17 public:
18  explicit UnputtingProducer(fhicl::ParameterSet const&);
19 
20 private:
21  void produce(art::Event& e) override;
22 };
23 
25  : art::EDProducer{ps}
26 {
27  produces<std::string>();
28 }
29 
30 void
32 {
33  // We don't put anything.
34 }
35 
static const double ps
Definition: Units.h:103
EDProducer()=default
UnputtingProducer(fhicl::ParameterSet const &)
const double e
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:68
void produce(art::Event &e) override