Go to the documentation of this file.
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);
std::string tag(const std::string &recordName)
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
#define DEFINE_FWK_MODULE(type)
cond::persistency::Session session() const
std::string connectionString()
bool getData(T &iHolder) const
T getParameter(std::string const &) const