30 vector<ParameterSet> recordsToMap = pSet.
getParameter<vector<ParameterSet> >(
"recordsToMap");
31 for(vector<ParameterSet>::const_iterator recordPset = recordsToMap.begin();
32 recordPset != recordsToMap.end();
37 string record = (*recordPset).getUntrackedParameter<
string>(
"record");
39 map<string, string> jrInfo;
41 vector<string> paramKeys = (*recordPset).getParameterNames();
42 for(vector<string>::const_iterator
key = paramKeys.begin();
43 key != paramKeys.end();
45 jrInfo[
"Source"] =
"AlcaHarvesting";
46 jrInfo[
"FileClass"] =
"ALCA";
47 if(*
key !=
"record") {
48 jrInfo[*
key] = (*recordPset).getUntrackedParameter<
string>(*key);
52 recordMap[
record] = jrInfo;
87 for(
map<
string, map<string, string> >::const_iterator recordAndMap = recordMap.begin();
88 recordAndMap != recordMap.end();
91 string record = (*recordAndMap).first;
94 map<string, string> jrInfo = (*recordAndMap).second;
103 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