Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
test
Framework
Services
Optional
MyServiceUser_module.cc
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// Class: MyServiceUser
3
// Module Type: analyzer
4
// File: MyServiceUser_module.cc
5
//
6
// Generated at Thu Sep 6 07:28:25 2012 by Christopher Green using artmod
7
// from art v1_01_01.
8
////////////////////////////////////////////////////////////////////////
9
10
#include "
MyService.h
"
11
#include "
MyServiceInterface.h
"
12
#include "
art/Framework/Core/EDAnalyzer.h
"
13
#include "
art/Framework/Core/ModuleMacros.h
"
14
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
15
16
namespace
art::test
{
17
class
MyServiceUser;
18
}
19
20
class
art::test::MyServiceUser
:
public
EDAnalyzer
{
21
public
:
22
explicit
MyServiceUser
(
fhicl::ParameterSet
const
&
p
);
23
24
private
:
25
void
26
analyze
(
art::Event
const
&)
override
27
{}
28
};
29
30
art::test::MyServiceUser::MyServiceUser
(
fhicl::ParameterSet
const
&
p
)
31
:
EDAnalyzer
(p)
32
{
33
ServiceHandle<MyServiceInterface>
();
34
ServiceHandle<MyService>
();
35
}
36
37
DEFINE_ART_MODULE
(
art::test::MyServiceUser
)
art::ServiceHandle
Definition:
ServiceHandle.h:37
MyService.h
art::test
Definition:
DummyProducer_module.cc:15
ServiceHandle.h
art::test::MyServiceUser::MyServiceUser
MyServiceUser(fhicl::ParameterSet const &p)
Definition:
MyServiceUser_module.cc:30
DEFINE_ART_MODULE
#define DEFINE_ART_MODULE(klass)
Definition:
ModuleMacros.h:67
MyServiceInterface.h
test.p
p
Definition:
test.py:223
EDAnalyzer.h
ModuleMacros.h
art::test::MyServiceUser::analyze
void analyze(art::Event const &) override
Definition:
MyServiceUser_module.cc:26
art::test::MyServiceUser
Definition:
MyServiceUser_module.cc:20
art::Event
Definition:
Event.h:22
art::EDAnalyzer
Definition:
EDAnalyzer.h:20
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11