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 "boost/shared_ptr.hpp"
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  boost::shared_ptr<ParameterSet>
18  readConfig(std::string const& config);
19 
21  boost::shared_ptr<ParameterSet>
22  readConfig(std::string const& config, int argc, char* argv[]);
23 
25  void
26  makeParameterSets(std::string const& configtext,
27  boost::shared_ptr<ParameterSet>& main);
28 
32  boost::shared_ptr<ParameterSet> readPSetsFrom(std::string const& fileOrString);
33 } // namespace edm
34 #endif
int main(int argc, char **argv)
boost::shared_ptr< ParameterSet > readConfig(std::string const &config)
boost::shared_ptr< ParameterSet > readPSetsFrom(std::string const &fileOrString)
tuple argc
Definition: dir2webdir.py:41
void makeParameterSets(std::string const &configtext, boost::shared_ptr< ParameterSet > &main)
essentially the same as the previous method