FWCore
PythonParameterSet
interface
MakePyBind11ParameterSets.h
Go to the documentation of this file.
1
#ifndef FWCore_PyBind11ParameterSet_MakePyBind11ParameterSets_h
2
#define FWCore_PyBind11ParameterSet_MakePyBind11ParameterSets_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
cmspybind11 {
16
// input can either be a python file name or a python config string
17
std::unique_ptr<ParameterSet>
readConfig
(
std::string
const
&
config
);
18
20
std::unique_ptr<ParameterSet>
readConfig
(
std::string
const
&
config
,
int
argc
,
char
*
argv
[]);
21
23
void
makeParameterSets
(
std::string
const
& configtext, std::unique_ptr<ParameterSet>&
main
);
24
28
std::unique_ptr<ParameterSet>
readPSetsFrom
(
std::string
const
& fileOrString);
29
}
// namespace cmspybind11
30
}
// namespace edm
31
#endif
cmsBatch.argv
argv
Definition:
cmsBatch.py:279
dir2webdir.argc
argc
Definition:
dir2webdir.py:39
edm::cmspybind11::makeParameterSets
void makeParameterSets(std::string const &configtext, std::unique_ptr< ParameterSet > &main)
essentially the same as the previous method
Definition:
MakePyBind11ParameterSets.cc:36
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::cmspybind11::readPSetsFrom
std::unique_ptr< ParameterSet > readPSetsFrom(std::string const &fileOrString)
Definition:
MakePyBind11ParameterSets.cc:41
config
Definition:
config.py:1
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
main
Definition:
main.py:1
edm::cmspybind11::readConfig
std::unique_ptr< ParameterSet > readConfig(std::string const &config)
Definition:
MakePyBind11ParameterSets.cc:26
Generated for CMSSW Reference Manual by
1.8.16