18 if (
pset.exists(
"options")) {
19 auto const& ops =
pset.getUntrackedParameterSet(
"options");
20 if (ops.exists(
"numberOfThreads")) {
21 threadsInfo.
nThreads_ = ops.getUntrackedParameter<
unsigned int>(
"numberOfThreads");
23 if (ops.exists(
"sizeOfStackForThreadsInKB")) {
24 threadsInfo.
stackSize_ = ops.getUntrackedParameter<
unsigned int>(
"sizeOfStackForThreadsInKB");
32 if (
pset.exists(
"options")) {
33 newOp =
pset.getUntrackedParameterSet(
"options");
void setThreadOptions(ThreadsInfo const &threadsInfo, edm::ParameterSet &pset)
void addUntrackedParameter(std::string const &name, T const &value)
ThreadsInfo threadOptions(edm::ParameterSet const &pset)