LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
RPWorkerT.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_RPWorkerT_h
2 #define art_Framework_Core_RPWorkerT_h
3 
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 
25 };
26 
27 template <typename RP>
29  : RPWorker(p), rpPlugin_(ps)
30 {}
31 
32 template <typename RP>
33 inline auto
35 {
36  return rpPlugin_;
37 }
38 
39 template <typename RP>
40 inline auto
42 {
43  return rpPlugin_;
44 }
45 
46 #endif /* art_Framework_Core_RPWorkerT_h */
47 
48 // Local Variables:
49 // mode: c++
50 // End:
RPWorkerT(RPParams const &p, fhicl::ParameterSet const &ps)
Definition: RPWorkerT.h:28
HLT enums.
RP & rp_() override
Definition: RPWorkerT.h:34