LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
WorkerParams.h
Go to the documentation of this file.
1 #ifndef art_Framework_Principal_WorkerParams_h
2 #define art_Framework_Principal_WorkerParams_h
3 
4 // This struct is used to communicate parameters into the worker factory.
5 
8 #include <string>
9 
10 namespace art {
11  class ActionTable;
12  class MasterProductRegistry;
13  struct WorkerParams;
14 }
15 
17  WorkerParams(fhicl::ParameterSet const& procPset,
18  fhicl::ParameterSet const& pset,
20  ProductDescriptions& producedProducts,
21  ActionTable& actions,
22  std::string const& processName);
23 
29  std::string const processName_;
30 };
31 
33  fhicl::ParameterSet const& pset,
35  ProductDescriptions& producedProducts,
36  ActionTable& actions,
37  std::string const& processName)
38  : procPset_{procPset}
39  , pset_{pset}
40  , reg_{reg}
41  , producedProducts_{producedProducts}
42  , actions_{actions}
43  , processName_{processName}
44 {}
45 
46 #endif /* art_Framework_Principal_WorkerParams_h */
47 
48 // Local Variables:
49 // mode: c++
50 // End:
ProductDescriptions & producedProducts_
Definition: WorkerParams.h:27
std::vector< BranchDescription > ProductDescriptions
fhicl::ParameterSet const & procPset_
Definition: WorkerParams.h:24
WorkerParams(fhicl::ParameterSet const &procPset, fhicl::ParameterSet const &pset, MasterProductRegistry &reg, ProductDescriptions &producedProducts, ActionTable &actions, std::string const &processName)
Definition: WorkerParams.h:32
MasterProductRegistry & reg_
Definition: WorkerParams.h:26
std::string const processName_
Definition: WorkerParams.h:29
ActionTable & actions_
Definition: WorkerParams.h:28
fhicl::ParameterSet const pset_
Definition: WorkerParams.h:25
HLT enums.