LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
BasicSourceOptionsHandler.h
Go to the documentation of this file.
1 #ifndef art_Framework_Art_BasicSourceOptionsHandler_h
2 #define art_Framework_Art_BasicSourceOptionsHandler_h
3 
4 // Handle the file input options: source, source-list, etc.
5 
6 namespace art {
7  class BasicSourceOptionsHandler;
8 }
9 
11 
12 #include <string>
13 
15 public:
16  explicit BasicSourceOptionsHandler(bpo::options_description& desc);
17 
18 private:
19  // Check selected options for consistency.
20  int doCheckOptions(bpo::variables_map const& vm) override;
21  // Act on selected options.
22  int doProcessOptions(bpo::variables_map const& vm,
23  fhicl::intermediate_table& raw_config) override;
24 
25  // Private helper functions.
26  bool processSourceListArg_(bpo::variables_map const& vm,
27  std::vector<std::string>& source_list);
28 };
29 #endif /* art_Framework_Art_BasicSourceOptionsHandler_h */
30 
31 // Local Variables:
32 // mode: c++
33 // End:
BasicSourceOptionsHandler(bpo::options_description &desc)
int doProcessOptions(bpo::variables_map const &vm, fhicl::intermediate_table &raw_config) override
HLT enums.
int doCheckOptions(bpo::variables_map const &vm) override
bool processSourceListArg_(bpo::variables_map const &vm, std::vector< std::string > &source_list)