28 vector<ParameterSet> recordsToMap = pSet.
getParameter<vector<ParameterSet>>(
"recordsToMap");
29 for (vector<ParameterSet>::const_iterator recordPset = recordsToMap.begin(); recordPset != recordsToMap.end();
34 string record = (*recordPset).getUntrackedParameter<
string>(
"record");
36 map<string, string> jrInfo;
38 vector<string> paramKeys = (*recordPset).getParameterNames();
39 for (vector<string>::const_iterator
key = paramKeys.begin();
key != paramKeys.end(); ++
key) {
40 jrInfo[
"Source"] =
"AlcaHarvesting";
41 jrInfo[
"FileClass"] =
"ALCA";
42 if (*
key !=
"record") {
43 jrInfo[*
key] = (*recordPset).getUntrackedParameter<
string>(*key);
47 recordMap[
record] = jrInfo;
77 for (
map<
string, map<string, string>>::const_iterator recordAndMap = recordMap.begin();
78 recordAndMap != recordMap.end();
80 string record = (*recordAndMap).first;
83 map<string, string> jrInfo = (*recordAndMap).second;
93 jrInfo[
"inputtag"] = poolDbService->
tag(
record);