40 std::map<std::string, std::map<std::string, std::string>>
recordMap;
50 vector<ParameterSet> recordsToMap = pSet.
getParameter<vector<ParameterSet>>(
"recordsToMap");
51 for (
const auto &recordPset : recordsToMap) {
55 string record = recordPset.getUntrackedParameter<
string>(
"record");
57 map<string, string> jrInfo;
59 vector<string> paramKeys = recordPset.getParameterNames();
60 for (
const auto &
key : paramKeys) {
61 jrInfo[
"Source"] =
"AlcaHarvesting";
62 jrInfo[
"FileClass"] =
"ALCA";
63 if (
key !=
"record") {
64 jrInfo[
key] = recordPset.getUntrackedParameter<
string>(
key);
89 for (
const auto &recordAndMap :
recordMap) {
90 string record = recordAndMap.first;
93 map<string, string> jrInfo = recordAndMap.second;
103 jrInfo[
"inputtag"] = poolDbService->
tag(
record);
T getParameter(std::string const &) const
std::string tag(const std::string &recordName)
#define DEFINE_FWK_MODULE(type)
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