CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
16  // input can either be a python file name or a python config string
17  std::shared_ptr<ParameterSet>
19 
21  std::shared_ptr<ParameterSet>
22  readConfig(std::string const& config, int argc, char* argv[]);
23 
25  void
26  makeParameterSets(std::string const& configtext,
27  std::shared_ptr<ParameterSet>& main);
28 
32  std::shared_ptr<ParameterSet> readPSetsFrom(std::string const& fileOrString);
33 } // namespace edm
34 #endif
std::shared_ptr< ParameterSet > readPSetsFrom(std::string const &fileOrString)
std::shared_ptr< ParameterSet > readConfig(std::string const &config)
tuple argc
Definition: dir2webdir.py:38
void makeParameterSets(std::string const &configtext, std::shared_ptr< ParameterSet > &main)
essentially the same as the previous method