SimpleServiceTestAnalyzer_module.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // Class: SimpleServiceTestAnalyzer
3 // Plugin Type: analyzer (art v1_19_00_rc3)
4 // File: SimpleServiceTestAnalyzer_module.cc
5 //
6 // Generated at Mon May 9 16:40:47 2016 by Christopher Green using cetskelgen
7 // from cetlib version v1_17_04.
8 ////////////////////////////////////////////////////////////////////////
9 
19 #include "fhiclcpp/ParameterSet.h"
21 
22 #include <cassert>
23 
24 namespace arttest {
25  class SimpleServiceTestAnalyzer;
26 }
27 
29 public:
31  // The compiler-generated destructor is fine for non-base
32  // classes without bare pointers or other resource use.
33 
34  // Plugins should not be copied or assigned.
38  delete;
40 
41  // Required functions.
42  void analyze(art::Event const& e) override;
43 
44 private:
45  // Declare member data here.
46 };
47 
49  fhicl::ParameterSet const& p)
50  : EDAnalyzer(p)
51 {
52  assert(art::ServiceHandle<arttest::SimpleServiceTest>()->verifyStatus());
53  assert((*art::ServiceHandle<arttest::SimpleServiceTest>()).verifyStatus());
54  assert(
55  art::ServiceHandle<arttest::SimpleServiceTest>().get()->verifyStatus());
56 }
57 
58 void
60 {}
61 
EDAnalyzer(fhicl::ParameterSet const &pset)
Definition: EDAnalyzer.h:27
const double e
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:68
SimpleServiceTestAnalyzer(fhicl::ParameterSet const &p)
p
Definition: test.py:228
SimpleServiceTestAnalyzer & operator=(SimpleServiceTestAnalyzer const &)=delete
void analyze(art::Event const &e) override