CMS 3D CMS Logo

MakeParameterSets.h
Go to the documentation of this file.
1 #ifndef FWCore_PythonParameterSet_MakeParameterSets_h
2 #define FWCore_PythonParameterSet_MakeParameterSets_h
3 
4 //----------------------------------------------------------------------
5 // Declare functions used to create ParameterSets.
6 //----------------------------------------------------------------------
7 
8 #include <memory>
9 
10 #include <string>
11 #include <vector>
12 
13 namespace edm {
14  class ParameterSet;
15  namespace boost_python {
16 
17  // input can either be a python file name or a python config string
18  std::unique_ptr<edm::ParameterSet>
20 
22  std::unique_ptr<edm::ParameterSet>
23  readConfig(std::string const& config, int argc, char* argv[]);
24 
26  void
27  makeParameterSets(std::string const& configtext,
28  std::unique_ptr<edm::ParameterSet> & main);
29 
33  std::unique_ptr<edm::ParameterSet> readPSetsFrom(std::string const& fileOrString);
34  } // BoostPython
35 } // namespace edm
36 #endif
37 
std::unique_ptr< edm::ParameterSet > readConfig(std::string const &config)
Definition: config.py:1
std::unique_ptr< edm::ParameterSet > readPSetsFrom(std::string const &fileOrString)
void makeParameterSets(std::string const &configtext, std::unique_ptr< edm::ParameterSet > &main)
essentially the same as the previous method
HLT enums.
Definition: main.py:1