38 std::map<std::string, std::map<std::string, std::string>>
recordMap;
48 vector<ParameterSet> recordsToMap = pSet.
getParameter<vector<ParameterSet>>(
"recordsToMap");
49 for (vector<ParameterSet>::const_iterator recordPset = recordsToMap.begin(); recordPset != recordsToMap.end();
54 string record = (*recordPset).getUntrackedParameter<
string>(
"record");
56 map<string, string> jrInfo;
58 vector<string> paramKeys = (*recordPset).getParameterNames();
59 for (vector<string>::const_iterator
key = paramKeys.begin();
key != paramKeys.end(); ++
key) {
60 jrInfo[
"Source"] =
"AlcaHarvesting";
61 jrInfo[
"FileClass"] =
"ALCA";
62 if (*
key !=
"record") {
63 jrInfo[*
key] = (*recordPset).getUntrackedParameter<
string>(*key);
92 for (
map<
string, map<string, string>>::const_iterator recordAndMap =
recordMap.begin();
95 string record = (*recordAndMap).first;
98 map<string, string> jrInfo = (*recordAndMap).second;
108 jrInfo[
"inputtag"] = poolDbService->
tag(
record);
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
std::string tag(const std::string &recordName)
bool getData(T &iHolder) const
std::string connectionString()
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
cond::persistency::Session session() const