LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
RPWorkerT.h
Go to the documentation of this file.
1
#ifndef art_Framework_Core_RPWorkerT_h
2
#define art_Framework_Core_RPWorkerT_h
3
4
#include "
art/Framework/Principal/RPWorker.h
"
5
6
#include <memory>
7
8
namespace
art
{
9
template
<
typename
RP>
10
class
RPWorkerT
;
11
}
12
13
template
<
typename
RP>
14
class
art::RPWorkerT
:
public
art::RPWorker
{
15
public
:
16
using
RPType
= RP;
17
18
RPWorkerT
(
RPParams
const
& p,
fhicl::ParameterSet
const
& ps);
19
20
private
:
21
RP&
rp_
()
override
;
22
RP
const
&
rp_
()
const override
;
23
24
RP
rpPlugin_
;
25
};
26
27
template
<
typename
RP>
28
art::RPWorkerT<RP>::RPWorkerT
(
RPParams
const
& p,
fhicl::ParameterSet
const
& ps)
29
:
RPWorker
(p),
rpPlugin_
(ps)
30
{}
31
32
template
<
typename
RP>
33
inline
auto
34
art::RPWorkerT<RP>::rp_
() ->
RPType
&
35
{
36
return
rpPlugin_
;
37
}
38
39
template
<
typename
RP>
40
inline
auto
41
art::RPWorkerT<RP>::rp_
() const ->
RPType
const&
42
{
43
return
rpPlugin_
;
44
}
45
46
#endif
/* art_Framework_Core_RPWorkerT_h */
47
48
// Local Variables:
49
// mode: c++
50
// End:
art::RPWorker
Definition:
RPWorker.h:22
art::RPWorkerT::RPType
RP RPType
Definition:
RPWorkerT.h:16
art::RPWorkerT::rpPlugin_
RP rpPlugin_
Definition:
RPWorkerT.h:24
art::RPWorkerT::RPWorkerT
RPWorkerT(RPParams const &p, fhicl::ParameterSet const &ps)
Definition:
RPWorkerT.h:28
art::RPWorkerT
Definition:
RPWorkerT.h:10
art::RPParams
Definition:
RPParams.h:18
RPWorker.h
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
art::RPWorkerT::rp_
RP & rp_() override
Definition:
RPWorkerT.h:34
fhicl::ParameterSet
Definition:
ParameterSet.h:34
art
Framework
Core
RPWorkerT.h
Generated on Wed Dec 12 2018 14:42:32 for LArSoft by
1.8.11