Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
test
Integration
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
10
#include "
art/Framework/Core/EDAnalyzer.h
"
11
#include "
art/Framework/Core/ModuleMacros.h
"
12
#include "
art/Framework/Principal/Event.h
"
13
#include "
art/Framework/Principal/Handle.h
"
14
#include "
art/Framework/Principal/Run.h
"
15
#include "
art/Framework/Principal/SubRun.h
"
16
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
17
#include "
art/test/Integration/SimpleServiceTest.h
"
18
#include "
canvas/Utilities/InputTag.h
"
19
#include "
fhiclcpp/ParameterSet.h
"
20
#include "
messagefacility/MessageLogger/MessageLogger.h
"
21
22
#include <cassert>
23
24
namespace
arttest
{
25
class
SimpleServiceTestAnalyzer;
26
}
27
28
class
arttest::SimpleServiceTestAnalyzer
:
public
art::EDAnalyzer
{
29
public
:
30
explicit
SimpleServiceTestAnalyzer
(
fhicl::ParameterSet
const
&
p
);
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.
35
SimpleServiceTestAnalyzer
(
SimpleServiceTestAnalyzer
const
&) =
delete
;
36
SimpleServiceTestAnalyzer
(
SimpleServiceTestAnalyzer
&&) =
delete
;
37
SimpleServiceTestAnalyzer
&
operator=
(
SimpleServiceTestAnalyzer
const
&) =
38
delete
;
39
SimpleServiceTestAnalyzer
&
operator=
(
SimpleServiceTestAnalyzer
&&) =
delete
;
40
41
// Required functions.
42
void
analyze
(
art::Event
const
&
e
)
override
;
43
44
private
:
45
// Declare member data here.
46
};
47
48
arttest::SimpleServiceTestAnalyzer::SimpleServiceTestAnalyzer
(
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
59
arttest::SimpleServiceTestAnalyzer::analyze
(
art::Event
const
&)
60
{}
61
62
DEFINE_ART_MODULE
(
arttest::SimpleServiceTestAnalyzer
)
art::ServiceHandle
Definition:
ServiceHandle.h:37
Handle.h
art::EDAnalyzer::EDAnalyzer
EDAnalyzer(fhicl::ParameterSet const &pset)
Definition:
EDAnalyzer.h:27
MessageLogger.h
ParameterSet.h
ServiceHandle.h
e
const double e
Definition:
gUpMuFluxGen.cxx:165
DEFINE_ART_MODULE
#define DEFINE_ART_MODULE(klass)
Definition:
ModuleMacros.h:68
arttest
Definition:
GroupSelector_t.h:4
arttest::SimpleServiceTestAnalyzer::SimpleServiceTestAnalyzer
SimpleServiceTestAnalyzer(fhicl::ParameterSet const &p)
Definition:
SimpleServiceTestAnalyzer_module.cc:48
SubRun.h
SimpleServiceTest.h
EDAnalyzer.h
ModuleMacros.h
test.p
p
Definition:
test.py:228
art::Event
Definition:
Event.h:40
arttest::SimpleServiceTestAnalyzer
Definition:
SimpleServiceTestAnalyzer_module.cc:28
art::EDAnalyzer
Definition:
EDAnalyzer.h:22
arttest::SimpleServiceTestAnalyzer::operator=
SimpleServiceTestAnalyzer & operator=(SimpleServiceTestAnalyzer const &)=delete
InputTag.h
arttest::SimpleServiceTestAnalyzer::analyze
void analyze(art::Event const &e) override
Definition:
SimpleServiceTestAnalyzer_module.cc:59
Event.h
Run.h
fhicl::ParameterSet
Definition:
ParameterSet.h:34
Generated by
1.8.11