TestSimpleMemoryCheckProducer_module.cc
Go to the documentation of this file.
1 //--------------------------------------------------------------------
2 //
3 // SimpleMemoryCheckProducer module
4 //
5 //--------------------------------------------------------------------
6 
10 #include "fhiclcpp/ParameterSet.h"
11 
12 #include <memory>
13 #include <vector>
14 
15 namespace arttest {
16 
18  public:
19  struct Config {
20  };
23  : EDProducer{ps}
24  {}
25 
26  private:
27  void produce(art::Event&) override;
28  std::vector<std::vector<int>> int_ptr_vec_;
29  };
30 
31  void
33  {
34  int_ptr_vec_.emplace_back(100000, 0.);
35  }
36 
37 } // namespace arttest
38 
static const double ps
Definition: Units.h:103
EDProducer()=default
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:68