19 #include "boost/bind.hpp"
37 if(!nameOfTracked.empty()) {
39 LogInfo(
"ParameterSet") <<
"Warning: You have added a new tracked parameter\n"
40 <<
"'" << nameOfTracked <<
"' to a previously registered parameter set.\n"
41 <<
"This is a bad idea because the new parameter(s) will not be recorded.\n"
42 <<
"Use the forthcoming ParameterSetDescription facility instead.\n"
43 <<
"A warning is given only for the first such parameter in a pset.\n";
70 <<
"The encoded configuration string "
71 <<
"passed to a ParameterSet during construction is invalid:\n"
86 <<
"The encoded configuration string "
87 <<
"passed to a ParameterSet during construction is invalid:\n"
97 psetTable_(other.psetTable_),
98 vpsetTable_(other.vpsetTable_),
131 psettable::iterator it =
psetTable_.find(name);
141 table::iterator it =
tbl_.find(name);
142 assert(it !=
tbl_.end());
148 psettable::iterator it =
psetTable_.find(name);
151 if (pset.isRegistered()) {
152 it->second.setIsTracked(
false);
162 std::auto_ptr<std::vector<ParameterSet> > vpset(
new std::vector<ParameterSet>);
171 if(!
i->second.pset().isRegistered()) {
172 i->second.pset().registerIt();
174 i->second.updateID();
179 i->second.registerPsetsAndUpdateIDs();
201 <<
"ParameterSet::id() called prematurely\n"
202 <<
"before ParameterSet::registerIt() has been called.\n";
225 <<
"The required parameter '" << name
226 <<
"' was not specified.\n";
230 template<
typename T,
typename U>
T first(std::pair<T, U>
const&
p) {
234 template<
typename T,
typename U> U
second(std::pair<T, U>
const&
p) {
245 table::const_iterator it =
tbl_.find(name);
246 if(it ==
tbl_.end()) {
248 <<
"Parameter '" << name
251 if(it->second.isTracked() ==
false) {
254 <<
"Framework Error: Parameter '" << name
255 <<
"' is incorrectly designated as tracked in the framework.";
258 <<
"Parameter '" << name
259 <<
"' is designated as tracked in the code,\n"
260 <<
"but is designated as untracked in the configuration file.\n"
261 <<
"Please remove 'untracked' from the configuration file for parameter '"<< name <<
"'.";
274 table::const_iterator it =
tbl_.find(name);
276 if(it ==
tbl_.end())
return 0;
277 if(it->second.isTracked()) {
280 <<
"Framework Error: Parameter '" << name
281 <<
"' is incorrectly designated as untracked in the framework.";
284 <<
"Parameter '" << name
285 <<
"' is designated as untracked in the code,\n"
286 <<
"but is not designated as untracked in the configuration file.\n"
287 <<
"Please change the configuration file to 'untracked <type> " << name <<
"'.";
295 psettable::const_iterator it =
psetTable_.find(name);
298 <<
"ParameterSet '" << name
301 if(it->second.isTracked() ==
false) {
304 <<
"Framework Error: ParameterSet '" << name
305 <<
"' is incorrectly designated as tracked in the framework.";
308 <<
"ParameterSet '" << name
309 <<
"' is designated as tracked in the code,\n"
310 <<
"but is designated as untracked in the configuration file.\n"
311 <<
"Please remove 'untracked' from the configuration file for parameter '"<< name <<
"'.";
319 psettable::const_iterator it =
psetTable_.find(name);
322 if(it->second.isTracked()) {
325 <<
"Framework Error: ParameterSet '" << name
326 <<
"' is incorrectly designated as untracked in the framework.";
329 <<
"ParameterSet '" << name
330 <<
"' is designated as untracked in the code,\n"
331 <<
"but is not designated as untracked in the configuration file.\n"
332 <<
"Please change the configuration file to 'untracked <type> " << name <<
"'.";
340 vpsettable::const_iterator it =
vpsetTable_.find(name);
343 <<
"VParameterSet '" << name
346 if(it->second.isTracked() ==
false) {
348 <<
"VParameterSet '" << name
349 <<
"' is designated as tracked in the code,\n"
350 <<
"but is designated as untracked in the configuration file.\n"
351 <<
"Please remove 'untracked' from the configuration file for parameter '"<< name <<
"'.";
358 vpsettable::const_iterator it =
vpsetTable_.find(name);
361 if(it->second.isTracked()) {
363 <<
"VParameterSet '" << name
364 <<
"' is designated as untracked in the code,\n"
365 <<
"but is not designated as untracked in the configuration file.\n"
366 <<
"Please change the configuration file to 'untracked <type> " << name <<
"'.";
378 table::const_iterator it =
tbl_.find(name);
379 if(it ==
tbl_.end()) {
387 psettable::const_iterator it =
psetTable_.find(name);
396 vpsettable::const_iterator it =
vpsetTable_.find(name);
408 if(existsAs<ParameterSet>(name)) {
411 else if(
existsAs<std::vector<ParameterSet> >(name)) {
419 <<
"Cannot find parameter " << name <<
" in " << *
this;
428 insert(okay_to_replace, std::string(name), value);
435 table::iterator it =
tbl_.find(name);
437 if(it ==
tbl_.end()) {
438 if(!
tbl_.insert(std::make_pair(name, value)).second)
440 <<
"cannot insert " << name
441 <<
" into a ParameterSet\n";
443 else if(okay_to_replace) {
451 psettable::iterator it =
psetTable_.find(name);
454 if(!
psetTable_.insert(std::make_pair(name, entry)).second)
456 <<
"cannot insert " << name
457 <<
" into a ParameterSet\n";
458 }
else if(okay_to_replace) {
469 if(!
vpsetTable_.insert(std::make_pair(name, entry)).second)
471 <<
"cannot insert " << name
472 <<
" into a VParameterSet\n";
473 }
else if(okay_to_replace) {
486 for(table::const_iterator
b = from.
tbl_.begin(),
e = from.
tbl_.end();
b !=
e; ++
b) {
487 this->
insert(
false,
b->first,
b->second);
502 else if(from.
existsAs<std::vector<ParameterSet> >(name)) {
505 else if(from.
exists(name)) {
510 <<
"Cannot find parameter " << name <<
" in " <<
from;
518 psettable::iterator it =
psetTable_.find(name);
520 isTracked = it->second.isTracked();
521 return &it->second.pset();
554 for(table::const_iterator
b =
tbl_.begin(),
e =
tbl_.end();
b !=
e; ++
b) {
555 if(useAll ||
b->second.isTracked()) {
557 size +=
b->first.size();
558 size +=
b->second.sizeOfString();
562 if(useAll ||
b->second.isTracked()) {
564 size +=
b->first.size();
565 size +=
b->first.size();
566 size +=
b->first.size();
571 if(useAll ||
b->second.isTracked()) {
573 size +=
b->first.size();
578 rep.reserve(rep.size()+
size);
581 std::string
const between(
";");
582 for(table::const_iterator
b =
tbl_.begin(),
e =
tbl_.end();
b !=
e; ++
b) {
583 if(useAll ||
b->second.isTracked()) {
587 b->second.toString(rep);
592 if(useAll ||
b->second.isTracked()) {
596 b->second.toString(rep);
601 if(useAll ||
b->second.isTracked()) {
605 b->second.toString(rep);
616 bool started =
false;
617 for(table::const_iterator
b =
tbl_.begin(),
e =
tbl_.end();
b !=
e; ++
b) {
618 if(
b->second.isTracked()) {
623 b->second.toDigest(digest);
628 if(
b->second.isTracked()) {
633 b->second.toDigest(digest);
638 if(
b->second.isTracked()) {
643 b->second.toDigest(digest);
661 std::vector<std::string>
temp;
662 if(!
split(std::back_inserter(temp), from,
'<',
';',
'>'))
666 for(std::vector<std::string>::const_iterator
b = temp.begin(),
e = temp.end();
b !=
e; ++
b) {
673 std::string
name = std::string(
b->begin(),
q);
677 std::string rep(q+1,
b->end());
683 if(!
psetTable_.insert(std::make_pair(name, psetEntry)).second) {
686 }
else if(rep[1] ==
'q') {
688 if(!
vpsetTable_.insert(std::make_pair(name, vpsetEntry)).second) {
691 }
else if(rep[1] ==
'P') {
694 if(!
psetTable_.insert(std::make_pair(name, psetEntry)).second) {
697 }
else if(rep[1] ==
'p') {
700 if(!
vpsetTable_.insert(std::make_pair(name, vpsetEntry)).second) {
706 if(!
tbl_.insert(std::make_pair(name, value)).second) {
718 table::const_iterator it =
tbl_.begin();
719 table::const_iterator
end =
tbl_.end();
721 Entry const&
e = it->second;
731 std::vector<std::string>
733 std::vector<std::string> returnValue;
744 return(
tbl_.find(parameterName) !=
tbl_.end() ||
752 for(table::const_iterator tblItr =
tbl_.begin(); tblItr !=
tbl_.end(); ++tblItr) {
753 if(tblItr->second.isTracked()) {
754 result.
tbl_.insert(*tblItr);
757 for(psettable::const_iterator psetItr =
psetTable_.begin(); psetItr !=
psetTable_.end(); ++psetItr) {
758 if(psetItr->second.isTracked()) {
762 for(vpsettable::const_iterator vpsetItr =
vpsetTable_.begin(); vpsetItr !=
vpsetTable_.end(); ++vpsetItr) {
763 if(vpsetItr->second.isTracked()) {
765 std::vector<ParameterSet>
const& this_vpset = vpsetItr->second.vpset();
767 typedef std::vector<ParameterSet>::const_iterator Iter;
768 for (Iter
i = this_vpset.begin(),
e = this_vpset.end();
i !=
e; ++
i) {
769 vresult.push_back(
i->trackedPart());
781 return output.size();
786 bool trackiness)
const {
787 for(psettable::const_iterator psetItr =
psetTable_.begin();
789 if(psetItr->second.isTracked() == trackiness) {
790 output.push_back(psetItr->first);
793 return output.size();
798 bool trackiness)
const {
799 for(vpsettable::const_iterator vpsetItr =
vpsetTable_.begin();
801 if(vpsetItr->second.isTracked() == trackiness) {
802 output.push_back(vpsetItr->first);
805 return output.size();
811 std::vector<std::string>&
output)
const {
819 table::const_iterator it =
tbl_.begin();
820 table::const_iterator
end =
tbl_.end();
822 Entry const&
e = it->second;
826 output.push_back(it->first);
834 std::vector<std::string> ParameterSet::getParameterNamesForType<FileInPath>(
bool trackiness)
const {
835 std::vector<std::string>
result;
836 getNamesByCode_(
'F', trackiness, result);
842 return (a.
id() == b.
id());
848 if(a.
tbl().size() != b.
tbl().size()) {
857 typedef ParameterSet::table::const_iterator Ti;
858 for (Ti
i = a.
tbl().begin(),
e = a.
tbl().end(),
859 j = b.
tbl().begin(),
f = b.
tbl().end();
860 i !=
e &&
j !=
f; ++
i, ++
j) {
865 typedef ParameterSet::psettable::const_iterator
Pi;
868 i !=
e &&
j !=
f; ++
i, ++
j) {
869 if(
i->first !=
j->first) {
872 if(
i->second.isTracked() !=
j->second.isTracked()) {
879 typedef ParameterSet::vpsettable::const_iterator PVi;
882 i !=
e &&
j !=
f; ++
i, ++
j) {
883 if(
i->first !=
j->first) {
886 if(
i->second.isTracked() !=
j->second.isTracked()) {
889 std::vector<ParameterSet>
const& iv =
i->second.vpset();
890 std::vector<ParameterSet>
const& jv =
j->second.vpset();
891 if(iv.size() != jv.size()) {
894 for (
size_t k = 0;
k < iv.size(); ++
k) {
904 std::ostringstream os;
905 os <<
"{" << std::endl;
906 for(table::const_iterator
i =
tbl_.begin(),
e =
tbl_.end();
i !=
e; ++
i) {
908 os <<
" " <<
i->first <<
": " <<
i->second << std::endl;
912 std::string
n =
i->first;
914 os <<
" " << n <<
": " << pe << std::endl;
918 std::string
n =
i->first;
920 os <<
" " << n <<
": " << pe << std::endl;
937 <<
"Parameter Set ID '" <<
id <<
"' not found.";
943 std::string
const&
label)
const {
944 LogWarning(
"Configuration") <<
"Warning:\n\tstring " << name
946 <<
"\"\nis deprecated, "
947 <<
"please update your config file to use\n\tInputTag "
948 << name <<
" = " <<
label;
957 ParameterSet::getParameter<bool>(std::string
const&
name)
const {
958 return retrieve(
name).getBool();
966 ParameterSet::getParameter<int>(std::string
const&
name)
const {
967 return retrieve(
name).getInt32();
972 ParameterSet::getParameter<std::vector<int> >(std::string
const&
name)
const {
973 return retrieve(
name).getVInt32();
981 ParameterSet::getParameter<long long>(std::string
const&
name)
const {
982 return retrieve(
name).getInt64();
986 std::vector<long long>
987 ParameterSet::getParameter<std::vector<long long> >(std::string
const&
name)
const {
988 return retrieve(
name).getVInt64();
996 ParameterSet::getParameter<unsigned int>(std::string
const&
name)
const {
997 return retrieve(
name).getUInt32();
1001 std::vector<unsigned int>
1002 ParameterSet::getParameter<std::vector<unsigned int> >(std::string
const&
name)
const {
1003 return retrieve(
name).getVUInt32();
1011 ParameterSet::getParameter<unsigned long long>(std::string
const&
name)
const {
1012 return retrieve(
name).getUInt64();
1016 std::vector<unsigned long long>
1017 ParameterSet::getParameter<std::vector<unsigned long long> >(std::string
const&
name)
const {
1018 return retrieve(
name).getVUInt64();
1026 ParameterSet::getParameter<double>(std::string
const&
name)
const {
1027 return retrieve(
name).getDouble();
1032 ParameterSet::getParameter<std::vector<double> >(std::string
const&
name)
const {
1033 return retrieve(
name).getVDouble();
1041 ParameterSet::getParameter<std::string>(std::string
const&
name)
const {
1042 return retrieve(
name).getString();
1046 std::vector<std::string>
1047 ParameterSet::getParameter<std::vector<std::string> >(std::string
const&
name)
const {
1048 return retrieve(
name).getVString();
1056 ParameterSet::getParameter<FileInPath>(std::string
const&
name)
const {
1057 return retrieve(
name).getFileInPath();
1065 ParameterSet::getParameter<InputTag>(std::string
const&
name)
const {
1072 deprecatedInputTagWarning(
name, label);
1076 <<
name <<
" is expected to be InputTag or string (deprecated)";
1084 std::vector<InputTag>
1085 ParameterSet::getParameter<std::vector<InputTag> >(std::string
const&
name)
const {
1086 return retrieve(
name).getVInputTag();
1094 ParameterSet::getParameter<ESInputTag>(std::string
const&
name)
const {
1095 return retrieve(
name).getESInputTag();
1102 std::vector<ESInputTag>
1103 ParameterSet::getParameter<std::vector<ESInputTag> >(std::string
const&
name)
const {
1104 return retrieve(
name).getVESInputTag();
1112 ParameterSet::getParameter<EventID>(std::string
const&
name)
const {
1113 return retrieve(
name).getEventID();
1120 std::vector<EventID>
1121 ParameterSet::getParameter<std::vector<EventID> >(std::string
const&
name)
const {
1122 return retrieve(
name).getVEventID();
1130 ParameterSet::getParameter<LuminosityBlockID>(std::string
const&
name)
const {
1131 return retrieve(
name).getLuminosityBlockID();
1138 std::vector<LuminosityBlockID>
1139 ParameterSet::getParameter<std::vector<LuminosityBlockID> >(std::string
const&
name)
const {
1140 return retrieve(
name).getVLuminosityBlockID();
1148 ParameterSet::getParameter<EventRange>(std::string
const&
name)
const {
1149 return retrieve(
name).getEventRange();
1156 std::vector<EventRange>
1157 ParameterSet::getParameter<std::vector<EventRange> >(std::string
const&
name)
const {
1158 return retrieve(
name).getVEventRange();
1166 ParameterSet::getParameter<LuminosityBlockRange>(std::string
const&
name)
const {
1167 return retrieve(
name).getLuminosityBlockRange();
1174 std::vector<LuminosityBlockRange>
1175 ParameterSet::getParameter<std::vector<LuminosityBlockRange> >(std::string
const&
name)
const {
1176 return retrieve(
name).getVLuminosityBlockRange();
1184 ParameterSet::getParameter<ParameterSet>(std::string
const&
name)
const {
1190 ParameterSet::getParameter<VParameterSet>(std::string
const&
name)
const {
1191 return getParameterSetVector(
name);
1201 ParameterSet::getUntrackedParameter<bool>(std::string
const&
name,
bool const& defaultValue)
const {
1202 Entry const* entryPtr = retrieveUntracked(
name);
1203 return entryPtr == 0 ? defaultValue : entryPtr->
getBool();
1208 ParameterSet::getUntrackedParameter<bool>(std::string
const&
name)
const {
1209 return getEntryPointerOrThrow_(
name)->getBool();
1217 ParameterSet::getUntrackedParameter<int>(std::string
const&
name,
int const& defaultValue)
const {
1218 Entry const* entryPtr = retrieveUntracked(
name);
1219 return entryPtr == 0 ? defaultValue : entryPtr->
getInt32();
1224 ParameterSet::getUntrackedParameter<int>(std::string
const&
name)
const {
1225 return getEntryPointerOrThrow_(
name)->getInt32();
1230 ParameterSet::getUntrackedParameter<std::vector<int> >(std::string
const&
name, std::vector<int>
const& defaultValue)
const {
1231 Entry const* entryPtr = retrieveUntracked(
name);
1232 return entryPtr == 0 ? defaultValue : entryPtr->
getVInt32();
1237 ParameterSet::getUntrackedParameter<std::vector<int> >(std::string
const&
name)
const {
1238 return getEntryPointerOrThrow_(
name)->getVInt32();
1246 ParameterSet::getUntrackedParameter<unsigned int>(std::string
const&
name,
unsigned int const& defaultValue)
const {
1247 Entry const* entryPtr = retrieveUntracked(
name);
1248 return entryPtr == 0 ? defaultValue : entryPtr->
getUInt32();
1253 ParameterSet::getUntrackedParameter<unsigned int>(std::string
const&
name)
const {
1254 return getEntryPointerOrThrow_(
name)->getUInt32();
1258 std::vector<unsigned int>
1259 ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(std::string
const&
name, std::vector<unsigned int>
const& defaultValue)
const {
1260 Entry const* entryPtr = retrieveUntracked(
name);
1261 return entryPtr == 0 ? defaultValue : entryPtr->
getVUInt32();
1265 std::vector<unsigned int>
1266 ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(std::string
const&
name)
const {
1267 return getEntryPointerOrThrow_(
name)->getVUInt32();
1275 ParameterSet::getUntrackedParameter<unsigned long long>(std::string
const&
name,
unsigned long long const& defaultValue)
const {
1276 Entry const* entryPtr = retrieveUntracked(
name);
1277 return entryPtr == 0 ? defaultValue : entryPtr->
getUInt64();
1282 ParameterSet::getUntrackedParameter<unsigned long long>(std::string
const&
name)
const {
1283 return getEntryPointerOrThrow_(
name)->getUInt64();
1287 std::vector<unsigned long long>
1288 ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(std::string
const&
name, std::vector<unsigned long long>
const& defaultValue)
const {
1289 Entry const* entryPtr = retrieveUntracked(
name);
1290 return entryPtr == 0 ? defaultValue : entryPtr->
getVUInt64();
1294 std::vector<unsigned long long>
1295 ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(std::string
const&
name)
const {
1296 return getEntryPointerOrThrow_(
name)->getVUInt64();
1304 ParameterSet::getUntrackedParameter<long long>(std::string
const&
name,
long long const& defaultValue)
const {
1305 Entry const* entryPtr = retrieveUntracked(
name);
1306 return entryPtr == 0 ? defaultValue : entryPtr->
getInt64();
1311 ParameterSet::getUntrackedParameter<long long>(std::string
const&
name)
const {
1312 return getEntryPointerOrThrow_(
name)->getInt64();
1316 std::vector<long long>
1317 ParameterSet::getUntrackedParameter<std::vector<long long> >(std::string
const&
name, std::vector<long long>
const& defaultValue)
const {
1318 Entry const* entryPtr = retrieveUntracked(
name);
1319 return entryPtr == 0 ? defaultValue : entryPtr->
getVInt64();
1323 std::vector<long long>
1324 ParameterSet::getUntrackedParameter<std::vector<long long> >(std::string
const&
name)
const {
1325 return getEntryPointerOrThrow_(
name)->getVInt64();
1333 ParameterSet::getUntrackedParameter<double>(std::string
const&
name,
double const& defaultValue)
const {
1334 Entry const* entryPtr = retrieveUntracked(
name);
1335 return entryPtr == 0 ? defaultValue : entryPtr->
getDouble();
1340 ParameterSet::getUntrackedParameter<double>(std::string
const&
name)
const {
1341 return getEntryPointerOrThrow_(
name)->getDouble();
1346 ParameterSet::getUntrackedParameter<std::vector<double> >(std::string
const&
name, std::vector<double>
const& defaultValue)
const {
1347 Entry const* entryPtr = retrieveUntracked(
name);
return entryPtr == 0 ? defaultValue : entryPtr->
getVDouble();
1352 ParameterSet::getUntrackedParameter<std::vector<double> >(std::string
const&
name)
const {
1353 return getEntryPointerOrThrow_(
name)->getVDouble();
1361 ParameterSet::getUntrackedParameter<std::string>(std::string
const&
name, std::string
const& defaultValue)
const {
1362 Entry const* entryPtr = retrieveUntracked(
name);
1363 return entryPtr == 0 ? defaultValue : entryPtr->
getString();
1368 ParameterSet::getUntrackedParameter<std::string>(std::string
const&
name)
const {
1369 return getEntryPointerOrThrow_(
name)->getString();
1373 std::vector<std::string>
1374 ParameterSet::getUntrackedParameter<std::vector<std::string> >(std::string
const&
name, std::vector<std::string>
const& defaultValue)
const {
1375 Entry const* entryPtr = retrieveUntracked(
name);
1376 return entryPtr == 0 ? defaultValue : entryPtr->
getVString();
1380 std::vector<std::string>
1381 ParameterSet::getUntrackedParameter<std::vector<std::string> >(std::string
const&
name)
const {
1382 return getEntryPointerOrThrow_(
name)->getVString();
1390 ParameterSet::getUntrackedParameter<FileInPath>(std::string
const&
name,
FileInPath const& defaultValue)
const {
1391 Entry const* entryPtr = retrieveUntracked(
name);
1392 return entryPtr == 0 ? defaultValue : entryPtr->
getFileInPath();
1397 ParameterSet::getUntrackedParameter<FileInPath>(std::string
const&
name)
const {
1398 return getEntryPointerOrThrow_(
name)->getFileInPath();
1406 ParameterSet::getUntrackedParameter<InputTag>(std::string
const&
name,
InputTag const& defaultValue)
const {
1407 Entry const* entryPtr = retrieveUntracked(
name);
1408 return entryPtr == 0 ? defaultValue : entryPtr->
getInputTag();
1413 ParameterSet::getUntrackedParameter<InputTag>(std::string
const&
name)
const {
1414 return getEntryPointerOrThrow_(
name)->getInputTag();
1418 std::vector<InputTag>
1419 ParameterSet::getUntrackedParameter<std::vector<InputTag> >(std::string
const&
name,
1420 std::vector<InputTag>
const& defaultValue)
const {
1421 Entry const* entryPtr = retrieveUntracked(
name);
1422 return entryPtr == 0 ? defaultValue : entryPtr->
getVInputTag();
1426 std::vector<InputTag>
1427 ParameterSet::getUntrackedParameter<std::vector<InputTag> >(std::string
const&
name)
const {
1428 return getEntryPointerOrThrow_(
name)->getVInputTag();
1436 ParameterSet::getUntrackedParameter<ESInputTag>(std::string
const&
name,
ESInputTag const& defaultValue)
const {
1437 Entry const* entryPtr = retrieveUntracked(
name);
1438 return entryPtr == 0 ? defaultValue : entryPtr->
getESInputTag();
1443 ParameterSet::getUntrackedParameter<ESInputTag>(std::string
const&
name)
const {
1444 return getEntryPointerOrThrow_(
name)->getESInputTag();
1448 std::vector<ESInputTag>
1449 ParameterSet::getUntrackedParameter<std::vector<ESInputTag> >(std::string
const&
name,
1450 std::vector<ESInputTag>
const& defaultValue)
const {
1451 Entry const* entryPtr = retrieveUntracked(
name);
1452 return entryPtr == 0 ? defaultValue : entryPtr->
getVESInputTag();
1456 std::vector<ESInputTag>
1457 ParameterSet::getUntrackedParameter<std::vector<ESInputTag> >(std::string
const&
name)
const {
1458 return getEntryPointerOrThrow_(
name)->getVESInputTag();
1466 ParameterSet::getUntrackedParameter<EventID>(std::string
const&
name,
EventID const& defaultValue)
const {
1467 Entry const* entryPtr = retrieveUntracked(
name);
1468 return entryPtr == 0 ? defaultValue : entryPtr->
getEventID();
1473 ParameterSet::getUntrackedParameter<EventID>(std::string
const&
name)
const {
1474 return getEntryPointerOrThrow_(
name)->getEventID();
1478 std::vector<EventID>
1479 ParameterSet::getUntrackedParameter<std::vector<EventID> >(std::string
const&
name,
1480 std::vector<EventID>
const& defaultValue)
const {
1481 Entry const* entryPtr = retrieveUntracked(
name);
1482 return entryPtr == 0 ? defaultValue : entryPtr->
getVEventID();
1486 std::vector<EventID>
1487 ParameterSet::getUntrackedParameter<std::vector<EventID> >(std::string
const&
name)
const {
1488 return getEntryPointerOrThrow_(
name)->getVEventID();
1496 ParameterSet::getUntrackedParameter<LuminosityBlockID>(std::string
const&
name,
LuminosityBlockID const& defaultValue)
const {
1497 Entry const* entryPtr = retrieveUntracked(
name);
1503 ParameterSet::getUntrackedParameter<LuminosityBlockID>(std::string
const&
name)
const {
1504 return getEntryPointerOrThrow_(
name)->getLuminosityBlockID();
1508 std::vector<LuminosityBlockID>
1509 ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(std::string
const&
name,
1510 std::vector<LuminosityBlockID>
const& defaultValue)
const {
1511 Entry const* entryPtr = retrieveUntracked(
name);
1516 std::vector<LuminosityBlockID>
1517 ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(std::string
const&
name)
const {
1518 return getEntryPointerOrThrow_(
name)->getVLuminosityBlockID();
1526 ParameterSet::getUntrackedParameter<EventRange>(std::string
const&
name,
EventRange const& defaultValue)
const {
1527 Entry const* entryPtr = retrieveUntracked(
name);
1528 return entryPtr == 0 ? defaultValue : entryPtr->
getEventRange();
1533 ParameterSet::getUntrackedParameter<EventRange>(std::string
const&
name)
const {
1534 return getEntryPointerOrThrow_(
name)->getEventRange();
1538 std::vector<EventRange>
1539 ParameterSet::getUntrackedParameter<std::vector<EventRange> >(std::string
const&
name,
1540 std::vector<EventRange>
const& defaultValue)
const {
1541 Entry const* entryPtr = retrieveUntracked(
name);
1542 return entryPtr == 0 ? defaultValue : entryPtr->
getVEventRange();
1546 std::vector<EventRange>
1547 ParameterSet::getUntrackedParameter<std::vector<EventRange> >(std::string
const&
name)
const {
1548 return getEntryPointerOrThrow_(
name)->getVEventRange();
1557 Entry const* entryPtr = retrieveUntracked(
name);
1563 ParameterSet::getUntrackedParameter<LuminosityBlockRange>(std::string
const&
name)
const {
1564 return getEntryPointerOrThrow_(
name)->getLuminosityBlockRange();
1568 std::vector<LuminosityBlockRange>
1569 ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(std::string
const&
name,
1570 std::vector<LuminosityBlockRange>
const& defaultValue)
const {
1571 Entry const* entryPtr = retrieveUntracked(
name);
1576 std::vector<LuminosityBlockRange>
1577 ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(std::string
const&
name)
const {
1578 return getEntryPointerOrThrow_(
name)->getVLuminosityBlockRange();
1587 ParameterSet::getParameter<bool>(
char const*
name)
const {
1588 return retrieve(
name).getBool();
1596 ParameterSet::getParameter<int>(
char const*
name)
const {
1597 return retrieve(
name).getInt32();
1602 ParameterSet::getParameter<std::vector<int> >(
char const*
name)
const {
1603 return retrieve(
name).getVInt32();
1611 ParameterSet::getParameter<long long>(
char const*
name)
const {
1612 return retrieve(
name).getInt64();
1616 std::vector<long long>
1617 ParameterSet::getParameter<std::vector<long long> >(
char const*
name)
const {
1618 return retrieve(
name).getVInt64();
1626 ParameterSet::getParameter<unsigned int>(
char const*
name)
const {
1627 return retrieve(
name).getUInt32();
1631 std::vector<unsigned int>
1632 ParameterSet::getParameter<std::vector<unsigned int> >(
char const*
name)
const {
1633 return retrieve(
name).getVUInt32();
1641 ParameterSet::getParameter<unsigned long long>(
char const*
name)
const {
1642 return retrieve(
name).getUInt64();
1646 std::vector<unsigned long long>
1647 ParameterSet::getParameter<std::vector<unsigned long long> >(
char const*
name)
const {
1648 return retrieve(
name).getVUInt64();
1656 ParameterSet::getParameter<double>(
char const*
name)
const {
1657 return retrieve(
name).getDouble();
1662 ParameterSet::getParameter<std::vector<double> >(
char const*
name)
const {
1663 return retrieve(
name).getVDouble();
1671 ParameterSet::getParameter<std::string>(
char const*
name)
const {
1672 return retrieve(
name).getString();
1676 std::vector<std::string>
1677 ParameterSet::getParameter<std::vector<std::string> >(
char const*
name)
const {
1678 return retrieve(
name).getVString();
1686 ParameterSet::getParameter<FileInPath>(
char const*
name)
const {
1687 return retrieve(
name).getFileInPath();
1695 ParameterSet::getParameter<InputTag>(
char const*
name)
const {
1702 deprecatedInputTagWarning(
name, label);
1706 <<
name <<
" is expected to be InputTag or string (deprecated)";
1713 std::vector<InputTag>
1714 ParameterSet::getParameter<std::vector<InputTag> >(
char const*
name)
const {
1715 return retrieve(
name).getVInputTag();
1723 ParameterSet::getParameter<ESInputTag>(
char const*
name)
const {
1724 return retrieve(
name).getESInputTag();
1731 std::vector<ESInputTag>
1732 ParameterSet::getParameter<std::vector<ESInputTag> >(
char const*
name)
const {
1733 return retrieve(
name).getVESInputTag();
1742 ParameterSet::getParameter<EventID>(
char const*
name)
const {
1743 return retrieve(
name).getEventID();
1750 std::vector<EventID>
1751 ParameterSet::getParameter<std::vector<EventID> >(
char const*
name)
const {
1752 return retrieve(
name).getVEventID();
1760 ParameterSet::getParameter<LuminosityBlockID>(
char const*
name)
const {
1761 return retrieve(
name).getLuminosityBlockID();
1768 std::vector<LuminosityBlockID>
1769 ParameterSet::getParameter<std::vector<LuminosityBlockID> >(
char const*
name)
const {
1770 return retrieve(
name).getVLuminosityBlockID();
1778 ParameterSet::getParameter<EventRange>(
char const*
name)
const {
1779 return retrieve(
name).getEventRange();
1786 std::vector<EventRange>
1787 ParameterSet::getParameter<std::vector<EventRange> >(
char const*
name)
const {
1788 return retrieve(
name).getVEventRange();
1796 ParameterSet::getParameter<LuminosityBlockRange>(
char const*
name)
const {
1797 return retrieve(
name).getLuminosityBlockRange();
1804 std::vector<LuminosityBlockRange>
1805 ParameterSet::getParameter<std::vector<LuminosityBlockRange> >(
char const*
name)
const {
1806 return retrieve(
name).getVLuminosityBlockRange();
1814 ParameterSet::getParameter<ParameterSet>(
char const*
name)
const {
1820 ParameterSet::getParameter<VParameterSet>(
char const*
name)
const {
1821 return getParameterSetVector(
name);
1831 ParameterSet::getUntrackedParameter<bool>(
char const*
name,
bool const& defaultValue)
const {
1832 Entry const* entryPtr = retrieveUntracked(
name);
1833 return entryPtr == 0 ? defaultValue : entryPtr->
getBool();
1838 ParameterSet::getUntrackedParameter<bool>(
char const*
name)
const {
1839 return getEntryPointerOrThrow_(
name)->getBool();
1847 ParameterSet::getUntrackedParameter<int>(
char const*
name,
int const& defaultValue)
const {
1848 Entry const* entryPtr = retrieveUntracked(
name);
1849 return entryPtr == 0 ? defaultValue : entryPtr->
getInt32();
1854 ParameterSet::getUntrackedParameter<int>(
char const*
name)
const {
1855 return getEntryPointerOrThrow_(
name)->getInt32();
1860 ParameterSet::getUntrackedParameter<std::vector<int> >(
char const*
name, std::vector<int>
const& defaultValue)
const {
1861 Entry const* entryPtr = retrieveUntracked(
name);
1862 return entryPtr == 0 ? defaultValue : entryPtr->
getVInt32();
1867 ParameterSet::getUntrackedParameter<std::vector<int> >(
char const*
name)
const {
1868 return getEntryPointerOrThrow_(
name)->getVInt32();
1876 ParameterSet::getUntrackedParameter<unsigned int>(
char const*
name,
unsigned int const& defaultValue)
const {
1877 Entry const* entryPtr = retrieveUntracked(
name);
1878 return entryPtr == 0 ? defaultValue : entryPtr->
getUInt32();
1883 ParameterSet::getUntrackedParameter<unsigned int>(
char const*
name)
const {
1884 return getEntryPointerOrThrow_(
name)->getUInt32();
1888 std::vector<unsigned int>
1889 ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(
char const*
name, std::vector<unsigned int>
const& defaultValue)
const {
1890 Entry const* entryPtr = retrieveUntracked(
name);
1891 return entryPtr == 0 ? defaultValue : entryPtr->
getVUInt32();
1895 std::vector<unsigned int>
1896 ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(
char const*
name)
const {
1897 return getEntryPointerOrThrow_(
name)->getVUInt32();
1905 ParameterSet::getUntrackedParameter<unsigned long long>(
char const*
name,
unsigned long long const& defaultValue)
const {
1906 Entry const* entryPtr = retrieveUntracked(
name);
1907 return entryPtr == 0 ? defaultValue : entryPtr->
getUInt64();
1912 ParameterSet::getUntrackedParameter<unsigned long long>(
char const*
name)
const {
1913 return getEntryPointerOrThrow_(
name)->getUInt64();
1917 std::vector<unsigned long long>
1918 ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(
char const*
name, std::vector<unsigned long long>
const& defaultValue)
const {
1919 Entry const* entryPtr = retrieveUntracked(
name);
1920 return entryPtr == 0 ? defaultValue : entryPtr->
getVUInt64();
1924 std::vector<unsigned long long>
1925 ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(
char const*
name)
const {
1926 return getEntryPointerOrThrow_(
name)->getVUInt64();
1934 ParameterSet::getUntrackedParameter<long long>(
char const*
name,
long long const& defaultValue)
const {
1935 Entry const* entryPtr = retrieveUntracked(
name);
1936 return entryPtr == 0 ? defaultValue : entryPtr->
getInt64();
1941 ParameterSet::getUntrackedParameter<long long>(
char const*
name)
const {
1942 return getEntryPointerOrThrow_(
name)->getInt64();
1946 std::vector<long long>
1947 ParameterSet::getUntrackedParameter<std::vector<long long> >(
char const*
name, std::vector<long long>
const& defaultValue)
const {
1948 Entry const* entryPtr = retrieveUntracked(
name);
1949 return entryPtr == 0 ? defaultValue : entryPtr->
getVInt64();
1953 std::vector<long long>
1954 ParameterSet::getUntrackedParameter<std::vector<long long> >(
char const*
name)
const {
1955 return getEntryPointerOrThrow_(
name)->getVInt64();
1963 ParameterSet::getUntrackedParameter<double>(
char const*
name,
double const& defaultValue)
const {
1964 Entry const* entryPtr = retrieveUntracked(
name);
1965 return entryPtr == 0 ? defaultValue : entryPtr->
getDouble();
1970 ParameterSet::getUntrackedParameter<double>(
char const*
name)
const {
1971 return getEntryPointerOrThrow_(
name)->getDouble();
1976 ParameterSet::getUntrackedParameter<std::vector<double> >(
char const*
name, std::vector<double>
const& defaultValue)
const {
1977 Entry const* entryPtr = retrieveUntracked(
name);
return entryPtr == 0 ? defaultValue : entryPtr->
getVDouble();
1982 ParameterSet::getUntrackedParameter<std::vector<double> >(
char const*
name)
const {
1983 return getEntryPointerOrThrow_(
name)->getVDouble();
1991 ParameterSet::getUntrackedParameter<std::string>(
char const*
name, std::string
const& defaultValue)
const {
1992 Entry const* entryPtr = retrieveUntracked(
name);
1993 return entryPtr == 0 ? defaultValue : entryPtr->
getString();
1998 ParameterSet::getUntrackedParameter<std::string>(
char const*
name)
const {
1999 return getEntryPointerOrThrow_(
name)->getString();
2003 std::vector<std::string>
2004 ParameterSet::getUntrackedParameter<std::vector<std::string> >(
char const*
name, std::vector<std::string>
const& defaultValue)
const {
2005 Entry const* entryPtr = retrieveUntracked(
name);
2006 return entryPtr == 0 ? defaultValue : entryPtr->
getVString();
2010 std::vector<std::string>
2011 ParameterSet::getUntrackedParameter<std::vector<std::string> >(
char const*
name)
const {
2012 return getEntryPointerOrThrow_(
name)->getVString();
2020 ParameterSet::getUntrackedParameter<FileInPath>(
char const*
name,
FileInPath const& defaultValue)
const {
2021 Entry const* entryPtr = retrieveUntracked(
name);
2022 return entryPtr == 0 ? defaultValue : entryPtr->
getFileInPath();
2027 ParameterSet::getUntrackedParameter<FileInPath>(
char const*
name)
const {
2028 return getEntryPointerOrThrow_(
name)->getFileInPath();
2036 ParameterSet::getUntrackedParameter<InputTag>(
char const*
name,
InputTag const& defaultValue)
const {
2037 Entry const* entryPtr = retrieveUntracked(
name);
2038 return entryPtr == 0 ? defaultValue : entryPtr->
getInputTag();
2043 ParameterSet::getUntrackedParameter<InputTag>(
char const*
name)
const {
2044 return getEntryPointerOrThrow_(
name)->getInputTag();
2048 std::vector<InputTag>
2049 ParameterSet::getUntrackedParameter<std::vector<InputTag> >(
char const*
name,
2050 std::vector<InputTag>
const& defaultValue)
const {
2051 Entry const* entryPtr = retrieveUntracked(
name);
2052 return entryPtr == 0 ? defaultValue : entryPtr->
getVInputTag();
2056 std::vector<InputTag>
2057 ParameterSet::getUntrackedParameter<std::vector<InputTag> >(
char const*
name)
const {
2058 return getEntryPointerOrThrow_(
name)->getVInputTag();
2066 ParameterSet::getUntrackedParameter<ESInputTag>(
char const*
name,
ESInputTag const& defaultValue)
const {
2067 Entry const* entryPtr = retrieveUntracked(
name);
2068 return entryPtr == 0 ? defaultValue : entryPtr->
getESInputTag();
2073 ParameterSet::getUntrackedParameter<ESInputTag>(
char const*
name)
const {
2074 return getEntryPointerOrThrow_(
name)->getESInputTag();
2078 std::vector<ESInputTag>
2079 ParameterSet::getUntrackedParameter<std::vector<ESInputTag> >(
char const*
name,
2080 std::vector<ESInputTag>
const& defaultValue)
const {
2081 Entry const* entryPtr = retrieveUntracked(
name);
2082 return entryPtr == 0 ? defaultValue : entryPtr->
getVESInputTag();
2086 std::vector<ESInputTag>
2087 ParameterSet::getUntrackedParameter<std::vector<ESInputTag> >(
char const*
name)
const {
2088 return getEntryPointerOrThrow_(
name)->getVESInputTag();
2096 ParameterSet::getUntrackedParameter<EventID>(
char const*
name,
EventID const& defaultValue)
const {
2097 Entry const* entryPtr = retrieveUntracked(
name);
2098 return entryPtr == 0 ? defaultValue : entryPtr->
getEventID();
2103 ParameterSet::getUntrackedParameter<EventID>(
char const*
name)
const {
2104 return getEntryPointerOrThrow_(
name)->getEventID();
2108 std::vector<EventID>
2109 ParameterSet::getUntrackedParameter<std::vector<EventID> >(
char const*
name,
2110 std::vector<EventID>
const& defaultValue)
const {
2111 Entry const* entryPtr = retrieveUntracked(
name);
2112 return entryPtr == 0 ? defaultValue : entryPtr->
getVEventID();
2116 std::vector<EventID>
2117 ParameterSet::getUntrackedParameter<std::vector<EventID> >(
char const*
name)
const {
2118 return getEntryPointerOrThrow_(
name)->getVEventID();
2127 Entry const* entryPtr = retrieveUntracked(
name);
2133 ParameterSet::getUntrackedParameter<LuminosityBlockID>(
char const*
name)
const {
2134 return getEntryPointerOrThrow_(
name)->getLuminosityBlockID();
2138 std::vector<LuminosityBlockID>
2139 ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
char const*
name,
2140 std::vector<LuminosityBlockID>
const& defaultValue)
const {
2141 Entry const* entryPtr = retrieveUntracked(
name);
2146 std::vector<LuminosityBlockID>
2147 ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
char const*
name)
const {
2148 return getEntryPointerOrThrow_(
name)->getVLuminosityBlockID();
2156 ParameterSet::getUntrackedParameter<EventRange>(
char const*
name,
EventRange const& defaultValue)
const {
2157 Entry const* entryPtr = retrieveUntracked(
name);
2158 return entryPtr == 0 ? defaultValue : entryPtr->
getEventRange();
2163 ParameterSet::getUntrackedParameter<EventRange>(
char const*
name)
const {
2164 return getEntryPointerOrThrow_(
name)->getEventRange();
2168 std::vector<EventRange>
2169 ParameterSet::getUntrackedParameter<std::vector<EventRange> >(
char const*
name,
2170 std::vector<EventRange>
const& defaultValue)
const {
2171 Entry const* entryPtr = retrieveUntracked(
name);
2172 return entryPtr == 0 ? defaultValue : entryPtr->
getVEventRange();
2176 std::vector<EventRange>
2177 ParameterSet::getUntrackedParameter<std::vector<EventRange> >(
char const*
name)
const {
2178 return getEntryPointerOrThrow_(
name)->getVEventRange();
2187 Entry const* entryPtr = retrieveUntracked(
name);
2193 ParameterSet::getUntrackedParameter<LuminosityBlockRange>(
char const*
name)
const {
2194 return getEntryPointerOrThrow_(
name)->getLuminosityBlockRange();
2198 std::vector<LuminosityBlockRange>
2199 ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
char const*
name,
2200 std::vector<LuminosityBlockRange>
const& defaultValue)
const {
2201 Entry const* entryPtr = retrieveUntracked(
name);
2206 std::vector<LuminosityBlockRange>
2207 ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
char const*
name)
const {
2208 return getEntryPointerOrThrow_(
name)->getVLuminosityBlockRange();
2216 ParameterSet::getUntrackedParameter<ParameterSet>(
char const*
name,
ParameterSet const& defaultValue)
const {
2217 return getUntrackedParameterSet(
name, defaultValue);
2222 ParameterSet::getUntrackedParameter<VParameterSet>(
char const*
name,
VParameterSet const& defaultValue)
const {
2223 return getUntrackedParameterSetVector(
name, defaultValue);
2228 ParameterSet::getUntrackedParameter<ParameterSet>(std::string
const&
name,
ParameterSet const& defaultValue)
const {
2229 return getUntrackedParameterSet(
name, defaultValue);
2234 ParameterSet::getUntrackedParameter<VParameterSet>(std::string
const&
name,
VParameterSet const& defaultValue)
const {
2235 return getUntrackedParameterSetVector(
name, defaultValue);
2240 ParameterSet::getUntrackedParameter<ParameterSet>(
char const*
name)
const {
2241 return getUntrackedParameterSet(
name);
2246 ParameterSet::getUntrackedParameter<VParameterSet>(
char const*
name)
const {
2247 return getUntrackedParameterSetVector(
name);
2252 ParameterSet::getUntrackedParameter<ParameterSet>(std::string
const&
name)
const {
2253 return getUntrackedParameterSet(
name);
2258 ParameterSet::getUntrackedParameter<VParameterSet>(std::string
const&
name)
const {
2259 return getUntrackedParameterSetVector(
name);
2268 invalidateRegistration(
name);
2275 invalidateRegistration(
name);
2282 invalidateRegistration(
name);
2289 invalidateRegistration(
name);
2321 std::vector<std::string>
2322 ParameterSet::getParameterNamesForType<ParameterSet>(
bool trackiness)
const {
2323 std::vector<std::string>
output;
2324 getParameterSetNames(output, trackiness);
2329 std::vector<std::string>
2330 ParameterSet::getParameterNamesForType<VParameterSet>(
bool trackiness)
const {
2331 std::vector<std::string>
output;
2332 getParameterSetVectorNames(output, trackiness);
2358 return defaultValue;
2360 return entryPtr->
pset();
2373 <<
"The required ParameterSet '" << name <<
"' was not specified.\n";
2374 return result->
pset();
2395 return entryPtr == 0 ? defaultValue : entryPtr->
vpset();
2408 <<
"The required ParameterSetVector '" << name <<
"' was not specified.\n";
2409 return result->
vpset();
std::vector< unsigned > getVUInt32() const
VParameterSet const & getUntrackedParameterSetVector(std::string const &name, VParameterSet const &defaultValue) const
Entry const & retrieve(char const *) const
std::string toString() const
std::vector< double > getVDouble() const
VParameterSet const & getParameterSetVector(std::string const &name) const
ParameterSetEntry const & retrieveParameterSet(std::string const &) const
Entry const * getEntryPointerOrThrow_(std::string const &name) const
std::vector< unsigned long long > getVUInt64() const
std::vector< LuminosityBlockID > getVLuminosityBlockID() const
std::auto_ptr< std::vector< ParameterSet > > popVParameterSet(std::string const &name)
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
ParameterSet getPSet() const
void invalidateRegistration(std::string const &nameOfTracked) const
ParameterSetEntry const * retrieveUntrackedParameterSet(std::string const &) const
bool fromString(std::string const &)
unsigned getUInt32() const
ParameterSetID id() const
VParameterSetEntry const * retrieveUntrackedVParameterSet(std::string const &) const
std::vector< ParameterSet > VParameterSet
size_t getParameterSetVectorNames(std::vector< std::string > &output, bool trackiness=true) const
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::vector< InputTag > getVInputTag() const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
boost::enable_if_c< has_match< A >::value &&has_match< B >::value, AndHelper< A, B > >::type operator&&(A const &a, B const &b)
void toStringImp(std::string &, bool useAll) const
static ThreadSafeRegistry * instance()
void insert(bool ok_to_replace, char const *, Entry const &)
void swap(Hash< I > &other)
LuminosityBlockRange getLuminosityBlockRange() const
std::vector< EventID > getVEventID() const
ParameterSet trackedPart() const
void setID(ParameterSetID const &id) const
void augment(ParameterSet const &from)
void eraseOrSetUntrackedParameterSet(std::string const &name)
void swap(ParameterSet &other)
U second(std::pair< T, U > const &p)
unsigned long long getUInt64() const
std::vector< FileInPath >::size_type getAllFileInPaths(std::vector< FileInPath > &output) const
ParameterSet const & pset() const
void copyFrom(ParameterSet const &from, std::string const &name)
long long getInt64() const
VParameterSetEntry * getPSetVectorForUpdate(std::string const &name)
ParameterSet const & getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
std::pair< std::string, MonitorElement * > entry
void addParameter(std::string const &name, T const &value)
std::vector< ParameterSet > getVPSet() const
ParameterSetEntry const * retrieveUnknownParameterSet(std::string const &) const
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
void insertVParameterSet(bool okay_to_replace, std::string const &name, VParameterSetEntry const &entry)
InputTag getInputTag() const
std::auto_ptr< ParameterSet > popParameterSet(std::string const &name)
std::vector< ParameterSet > const & vpset() const
std::vector< long long > getVInt64() const
VParameterSetEntry const * retrieveUnknownVParameterSet(std::string const &) const
bool split(OutIter result, std::string const &string_to_split, char first, char sep, char last)
std::vector< ESInputTag > getVESInputTag() const
std::vector< std::string > getParameterNames() const
void eraseSimpleParameter(std::string const &name)
void copyForModify(ParameterSet const &other)
bool isRegistered() const
std::vector< EventRange > getVEventRange() const
Hash< ParameterSetType > ParameterSetID
std::string toString() const
static std::string from(" from ")
std::string getParameterAsString(std::string const &name) const
FileInPath getFileInPath() const
psettable const & psetTable() const
void deprecatedInputTagWarning(std::string const &name, std::string const &label) const
ForwardSequence::const_iterator find_in_all(ForwardSequence const &s, Datum const &d)
wrappers for std::find
ParameterSet const & getParameterSet(std::string const &) const
std::string toString() const
size_t getNamesByCode_(char code, bool trackiness, std::vector< std::string > &output) const
void insertParameterSet(bool okay_to_replace, std::string const &name, ParameterSetEntry const &entry)
void toDigest(cms::Digest &digest) const
std::vector< int > getVInt32() const
std::string toString() const
VParameterSetEntry const & retrieveVParameterSet(std::string const &) const
LuminosityBlockID getLuminosityBlockID() const
void allToString(std::string &result) const
ParameterSet & operator=(ParameterSet const &other)
vpsettable const & vpsetTable() const
EventRange getEventRange() const
std::vector< LuminosityBlockRange > getVLuminosityBlockRange() const
ESInputTag getESInputTag() const
Entry const * retrieveUntracked(char const *) const
size_t getParameterSetNames(std::vector< std::string > &output, bool trackiness=true) const
bool insertMapped(value_type const &v)
Entry const * retrieveUnknown(char const *) const
T first(std::pair< T, U > const &p)
table const & tbl() const
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
std::string toString() const
ParameterSet const & registerIt()
bool isTransientEqual(ParameterSet const &a, ParameterSet const &b)
std::vector< std::string > getVString() const
tuple size
Write out results.
std::string getString() const
void append(std::string const &s)
ParameterSet * getPSetForUpdate(std::string const &name, bool &isTracked)
EventID getEventID() const