#include <Python11ParameterSet.h>
Public Member Functions | |
void | addNewFileInPath (bool tracked, std::string const &name, std::string const &value) |
template<typename T > | |
void | addParameter (bool tracked, std::string const &name, T const &value) |
template<typename T > | |
void | addParameters (bool tracked, std::string const &name, pybind11::list value) |
unfortunate side effect: destroys the original list! More... | |
void | addPSet (bool tracked, std::string const &name, Python11ParameterSet const &ppset) |
void | addVPSet (bool tracked, std::string const &name, pybind11::list value) |
std::string | dump () const |
template<typename T > | |
T | getParameter (bool tracked, std::string const &name) const |
template<typename T > | |
pybind11::list | getParameters (bool tracked, std::string const &name) const |
templated on the type of the contained object More... | |
Python11ParameterSet | getPSet (bool tracked, std::string const &name) const |
pybind11::list | getVPSet (bool tracked, std::string const &name) |
edm::ESInputTag | newESInputTag (std::string const &module, std::string const &data) |
edm::EventID | newEventID (edm::RunNumber_t run, edm::LuminosityBlockNumber_t lumi, edm::EventNumber_t event) |
edm::EventRange | newEventRange (edm::RunNumber_t start, edm::LuminosityBlockNumber_t startLumi, edm::EventNumber_t startSub, edm::RunNumber_t end, edm::LuminosityBlockNumber_t endLumi, edm::EventNumber_t endSub) |
edm::InputTag | newInputTag (std::string const &label, std::string const &instance, std::string const &process) |
edm::LuminosityBlockID | newLuminosityBlockID (unsigned int run, unsigned int lumi) |
edm::LuminosityBlockRange | newLuminosityBlockRange (unsigned int start, unsigned int startSub, unsigned int end, unsigned int endSub) |
Python11ParameterSet | newPSet () const |
edm::ParameterSet & | pset () |
edm::ParameterSet const & | pset () const |
Python11ParameterSet () | |
Python11ParameterSet (edm::ParameterSet const &p) | |
Private Attributes | |
edm::ParameterSet | theParameterSet |
Definition at line 20 of file Python11ParameterSet.h.
Python11ParameterSet::Python11ParameterSet | ( | ) |
Definition at line 5 of file Python11ParameterSet.cc.
Referenced by getPSet(), getVPSet(), and newPSet().
|
inline |
Definition at line 24 of file Python11ParameterSet.h.
void Python11ParameterSet::addNewFileInPath | ( | bool | tracked, |
std::string const & | name, | ||
std::string const & | value | ||
) |
Definition at line 34 of file Python11ParameterSet.cc.
References addParameter().
Referenced by newEventRange(), and PYBIND11_MODULE().
|
inline |
Definition at line 38 of file Python11ParameterSet.h.
References dataset::name, theParameterSet, and relativeConstraints::value.
Referenced by editorTools.UserCodeTool::__init__(), metTools.AddMETCollection::__init__(), trackTools.MakeAODTrackCandidates::__init__(), HiCoreTools.RestrictInputToAOD::__init__(), coreTools.RunOnData::__init__(), runJetUncertainties.RunJetUncertainties::__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__init__(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool::__init__(), editorTools.ChangeSource::__init__(), cmsswVersionTools.PickRelValInputFiles::__init__(), HiCoreTools.RemoveMCMatching::__init__(), coreTools.RemoveMCMatching::__init__(), trackTools.MakePATTrackCandidates::__init__(), trigTools.SwitchOnTrigger::__init__(), HiCoreTools.RemoveAllPATObjectsBut::__init__(), HiCoreTools.RemoveSpecificPATObjects::__init__(), trigTools.SwitchOnTriggerStandAlone::__init__(), trackTools.MakeTrackCandidates::__init__(), tauTools.AddTauCollection::__init__(), trigTools.SwitchOnTriggerMatching::__init__(), HiCoreTools.RemoveCleaning::__init__(), HiCoreTools.AddCleaning::__init__(), trigTools.SwitchOnTriggerMatchingStandAlone::__init__(), trigTools.SwitchOnTriggerMatchEmbedding::__init__(), jetTools.AddJetCollection::__init__(), jetTools.SwitchJetCollection::__init__(), jetTools.UpdateJetCollection::__init__(), jetTools.AddJetID::__init__(), jetTools.SetTagInfos::__init__(), addNewFileInPath(), addParameters(), addPSet(), and addVPSet().
|
inline |
unfortunate side effect: destroys the original list!
Definition at line 55 of file Python11ParameterSet.h.
References addParameter(), findQualityFiles::v, and relativeConstraints::value.
|
inline |
these custom classes do seem to be a hassle to wrap, compared to, say, InputTag maybe we will need to template these someday
Definition at line 63 of file Python11ParameterSet.h.
References addParameter(), and theParameterSet.
Referenced by PYBIND11_MODULE().
void Python11ParameterSet::addVPSet | ( | bool | tracked, |
std::string const & | name, | ||
pybind11::list | value | ||
) |
Definition at line 7 of file Python11ParameterSet.cc.
References addParameter(), findQualityFiles::v, and relativeConstraints::value.
Referenced by getPSet(), and PYBIND11_MODULE().
|
inline |
Definition at line 116 of file Python11ParameterSet.h.
References edm::ParameterSet::dump(), and theParameterSet.
Referenced by cmspython3::PyBind11ProcessDesc::dump(), and PYBIND11_MODULE().
|
inline |
Definition at line 27 of file Python11ParameterSet.h.
References dataset::name, mps_fire::result, and theParameterSet.
|
inline |
templated on the type of the contained object
Definition at line 48 of file Python11ParameterSet.h.
References dataset::name, cmspython3::toPython11List(), and findQualityFiles::v.
|
inline |
Definition at line 67 of file Python11ParameterSet.h.
References addVPSet(), getVPSet(), list(), dataset::name, Python11ParameterSet(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PYBIND11_MODULE().
pybind11::list Python11ParameterSet::getVPSet | ( | bool | tracked, |
std::string const & | name | ||
) |
Definition at line 19 of file Python11ParameterSet.cc.
References edm::ParameterSet::getParameterSetVector(), edm::ParameterSet::getUntrackedParameterSetVector(), checklumidiff::l, list(), Python11ParameterSet(), theParameterSet, and findQualityFiles::v.
Referenced by getPSet(), and PYBIND11_MODULE().
|
inline |
Definition at line 80 of file Python11ParameterSet.h.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 84 of file Python11ParameterSet.h.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 99 of file Python11ParameterSet.h.
References addNewFileInPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 76 of file Python11ParameterSet.h.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 88 of file Python11ParameterSet.h.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 92 of file Python11ParameterSet.h.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 110 of file Python11ParameterSet.h.
References Python11ParameterSet().
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 112 of file Python11ParameterSet.h.
References theParameterSet.
Referenced by cmspython3::PyBind11ProcessDesc::parameterSet(), and edm::cmspybind11_p3::readPSetsFrom().
|
inline |
Definition at line 114 of file Python11ParameterSet.h.
References theParameterSet.
|
private |
Definition at line 119 of file Python11ParameterSet.h.
Referenced by addParameter(), addPSet(), dump(), getParameter(), getVPSet(), and pset().