#include <PythonParameterSet.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, boost::python::list value) |
unfortunate side effect: destroys the original list! More... | |
void | addPSet (bool tracked, std::string const &name, PythonParameterSet const &ppset) |
void | addVPSet (bool tracked, std::string const &name, boost::python::list value) |
std::string | dump () const |
template<typename T > | |
T | getParameter (bool tracked, std::string const &name) const |
template<typename T > | |
boost::python::list | getParameters (bool tracked, std::string const &name) const |
templated on the type of the contained object More... | |
PythonParameterSet | getPSet (bool tracked, std::string const &name) const |
boost::python::list | getVPSet (bool tracked, std::string const &name) |
edm::ESInputTag | newESInputTag (std::string const &module, std::string const &data) |
edm::EventID | newEventID (unsigned int run, unsigned int lumi, unsigned int event) |
edm::EventRange | newEventRange (unsigned int start, unsigned int startLumi, unsigned int startSub, unsigned int end, unsigned int endLumi, unsigned int 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) |
PythonParameterSet | newPSet () const |
edm::ParameterSet & | pset () |
edm::ParameterSet const & | pset () const |
PythonParameterSet () | |
PythonParameterSet (edm::ParameterSet const &p) | |
Private Attributes | |
edm::ParameterSet | theParameterSet |
Definition at line 18 of file PythonParameterSet.h.
PythonParameterSet::PythonParameterSet | ( | ) |
Definition at line 4 of file PythonParameterSet.cc.
Referenced by getPSet(), getVPSet(), and newPSet().
|
inline |
Definition at line 22 of file PythonParameterSet.h.
void PythonParameterSet::addNewFileInPath | ( | bool | tracked, |
std::string const & | name, | ||
std::string const & | value | ||
) |
Definition at line 43 of file PythonParameterSet.cc.
References addParameter().
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 40 of file PythonParameterSet.h.
References mergeVDriftHistosByStation::name, theParameterSet, and relativeConstraints::value.
Referenced by editorTools.UserCodeTool::__init__(), electronTools.AddElectronUserIsolation::__init__(), photonTools.AddPhotonUserIsolation::__init__(), metTools.AddTcMET::__init__(), muonTools.AddMuonUserIsolation::__init__(), trackTools.MakeAODTrackCandidates::__init__(), HiCoreTools.RestrictInputToAOD::__init__(), coreTools.RestrictInputToAOD::__init__(), metUncertaintyTools.RunMEtUncertainties::__init__(), cmsswVersionTools.Run52xOn51xTrigger::__init__(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool::__init__(), editorTools.ChangeSource::__init__(), coreTools.RunOnData::__init__(), HiCoreTools.RemoveMCMatching::__init__(), metTools.AddPfMET::__init__(), trackTools.MakePATTrackCandidates::__init__(), trigTools.SwitchOnTrigger::__init__(), cmsswVersionTools.PickRelValInputFiles::__init__(), coreTools.RemoveMCMatching::__init__(), jetTools.RunBTagging::__init__(), HiCoreTools.RemoveAllPATObjectsBut::__init__(), HiCoreTools.RemoveSpecificPATObjects::__init__(), trigTools.SwitchOnTriggerStandAlone::__init__(), trackTools.MakeTrackCandidates::__init__(), coreTools.RemoveAllPATObjectsBut::__init__(), coreTools.RemoveSpecificPATObjects::__init__(), HiCoreTools.RemoveCleaning::__init__(), trigTools.SwitchOnTriggerMatching::__init__(), HiCoreTools.AddCleaning::__init__(), coreTools.RemoveCleaning::__init__(), tauTools.AddTauCollection::__init__(), trigTools.SwitchOnTriggerMatchingStandAlone::__init__(), coreTools.AddCleaning::__init__(), jetTools.AddJetCollection::__init__(), trigTools.SwitchOnTriggerMatchEmbedding::__init__(), trigTools.RemoveCleaningFromTriggerMatching::__init__(), jetTools.SwitchJetCollection::__init__(), jetTools.AddJetID::__init__(), jetTools.SetTagInfos::__init__(), jetTools.SwitchJetCorrLevels::__init__(), addNewFileInPath(), addParameters(), addPSet(), and addVPSet().
|
inline |
unfortunate side effect: destroys the original list!
Definition at line 60 of file PythonParameterSet.h.
References addParameter(), 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 70 of file PythonParameterSet.h.
References addParameter(), and theParameterSet.
Referenced by BOOST_PYTHON_MODULE().
void PythonParameterSet::addVPSet | ( | bool | tracked, |
std::string const & | name, | ||
boost::python::list | value | ||
) |
Definition at line 10 of file PythonParameterSet.cc.
References addParameter(), v, and relativeConstraints::value.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 124 of file PythonParameterSet.h.
References edm::ParameterSet::dump(), and theParameterSet.
Referenced by BOOST_PYTHON_MODULE(), and PythonProcessDesc::dump().
|
inline |
Definition at line 27 of file PythonParameterSet.h.
References mergeVDriftHistosByStation::name, query::result, and theParameterSet.
|
inline |
templated on the type of the contained object
Definition at line 52 of file PythonParameterSet.h.
References mergeVDriftHistosByStation::name, edm::toPythonList(), and v.
|
inline |
Definition at line 76 of file PythonParameterSet.h.
References PythonParameterSet().
Referenced by BOOST_PYTHON_MODULE().
boost::python::list PythonParameterSet::getVPSet | ( | bool | tracked, |
std::string const & | name | ||
) |
Definition at line 26 of file PythonParameterSet.cc.
References edm::ParameterSet::getParameterSetVector(), edm::ParameterSet::getUntrackedParameterSetVector(), prof2calltree::l, list(), PythonParameterSet(), theParameterSet, and v.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 93 of file PythonParameterSet.h.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 98 of file PythonParameterSet.h.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 111 of file PythonParameterSet.h.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 87 of file PythonParameterSet.h.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 102 of file PythonParameterSet.h.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
|
inline |
Definition at line 118 of file PythonParameterSet.h.
References PythonParameterSet().
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 120 of file PythonParameterSet.h.
References theParameterSet.
Referenced by PythonProcessDesc::parameterSet(), and edm::readPSetsFrom().
|
inline |
Definition at line 122 of file PythonParameterSet.h.
References theParameterSet.
|
private |
Definition at line 127 of file PythonParameterSet.h.
Referenced by addParameter(), addPSet(), dump(), getParameter(), getVPSet(), and pset().