29 vector<ParameterSet> recordsToMap = pSet.
getParameter<vector<ParameterSet> >(
"recordsToMap");
30 for(vector<ParameterSet>::const_iterator recordPset = recordsToMap.begin();
31 recordPset != recordsToMap.end();
34 string record = (*recordPset).getUntrackedParameter<
string>(
"record");
35 map<string, string> jrInfo;
37 vector<string> paramKeys = (*recordPset).getParameterNames();
38 for(vector<string>::const_iterator
key = paramKeys.begin();
39 key != paramKeys.end();
41 jrInfo[
"Source"] =
"AlcaHarvesting";
42 jrInfo[
"FileClass"] =
"ALCA";
43 if(*
key !=
"record") {
44 jrInfo[*
key] = (*recordPset).getUntrackedParameter<
string>(*key);
48 recordMap[
record] = jrInfo;
83 for(
map<
string, map<string, string> >::const_iterator recordAndMap = recordMap.begin();
84 recordAndMap != recordMap.end();
87 string record = (*recordAndMap).first;
89 map<string, string> jrInfo = (*recordAndMap).second;
95 jrInfo[
"inputtag"] = poolDbService->
tag(record);
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
cond::persistency::Session session() const
std::string tag(const std::string &recordName)
std::string connectionString()
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
T const * product() const