NonPersistableProducer_module.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // Class: NonPersistableProducer
3 // Plugin Type: producer (art v2_09_03)
4 // File: NonPersistableProducer_module.cc
5 //
6 // Generated at Tue Jan 2 14:57:40 2018 by Kyle Knoepfel using cetskelgen
7 // from cetlib version v3_01_03.
8 ////////////////////////////////////////////////////////////////////////
9 
14 
15 #include <memory>
16 #include <vector>
17 
18 namespace art {
19  namespace test {
20  class NonPersistableProducer;
21  }
22 }
23 
25 public:
26  struct Config {
27  };
29 
31  {
32  produces<arttest::PtrToNonPersistable>();
33  }
34 
35  // Plugins should not be copied or assigned.
40 
41 private:
42  void
43  produce(art::Event& e) override
44  {
45  auto non_persistable_name =
46  std::make_unique<arttest::PtrToNonPersistable>("Billy");
47  e.put(move(non_persistable_name));
48  }
49 };
50 
static const double ps
Definition: Units.h:103
Definition: test.py:1
const double e
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:68
NonPersistableProducer & operator=(NonPersistableProducer const &)=delete
ProductID put(std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > const semantic)
Definition: DataViewImpl.h:692