CMS 3D CMS Logo

Python11ParameterSet.cc
Go to the documentation of this file.
3 
4 namespace cmspython3 {
6 
8  std::vector<Python11ParameterSet> v = cmspython3::toVector<Python11ParameterSet>(value);
9  std::vector<edm::ParameterSet> v2;
10  v2.reserve(v.size());
11  for (std::vector<Python11ParameterSet>::iterator ppsetItr = v.begin(), ppsetItrEnd = v.end();
12  ppsetItr != ppsetItrEnd;
13  ++ppsetItr) {
14  v2.push_back(ppsetItr->theParameterSet);
15  }
16  addParameter(tracked, name, v2);
17  }
18 
20  std::vector<edm::ParameterSet> const& v =
22 
23  // convert to Python11ParameterSets
25  for (std::vector<edm::ParameterSet>::const_iterator psetItr = v.begin(), psetItrEnd = v.end();
26  psetItr != psetItrEnd;
27  ++psetItr) {
28  l.append(Python11ParameterSet(*psetItr));
29  }
30 
31  return l;
32  }
33 
36  }
37 } // namespace cmspython3
cmspython3::Python11ParameterSet::addVPSet
void addVPSet(bool tracked, std::string const &name, pybind11::list value)
Definition: Python11ParameterSet.cc:7
edm::ParameterSet::getUntrackedParameterSetVector
VParameterSet getUntrackedParameterSetVector(std::string const &name, VParameterSet const &defaultValue) const
Definition: ParameterSet.cc:2161
cmspython3::Python11ParameterSet::theParameterSet
edm::ParameterSet theParameterSet
Definition: Python11ParameterSet.h:119
findQualityFiles.v
v
Definition: findQualityFiles.py:179
FileInPath.h
edm::FileInPath
Definition: FileInPath.h:64
cmspython3
Definition: PyBind11ProcessDesc.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cmspython3::Python11ParameterSet::getVPSet
pybind11::list getVPSet(bool tracked, std::string const &name)
Definition: Python11ParameterSet.cc:19
value
Definition: value.py:1
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
cmspython3::Python11ParameterSet::addNewFileInPath
void addNewFileInPath(bool tracked, std::string const &name, std::string const &value)
Definition: Python11ParameterSet.cc:34
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSet::getParameterSetVector
VParameterSet const & getParameterSetVector(std::string const &name) const
Definition: ParameterSet.cc:2153
list
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*", "!HLTx*" if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL. It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of "!*" before the partial wildcard feature was incorporated). Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
cmspython3::Python11ParameterSet::Python11ParameterSet
Python11ParameterSet()
Definition: Python11ParameterSet.cc:5
Python11ParameterSet.h
cmspython3::Python11ParameterSet::addParameter
void addParameter(bool tracked, std::string const &name, T const &value)
Definition: Python11ParameterSet.h:38