71 edm::LogPrint(
"ProduceDropBoxMetadata") <<
"Entering write, to loop over toWrite";
73 for (vector<ParameterSet>::const_iterator fSetup =
fToWrite.begin(); fSetup !=
fToWrite.end(); ++fSetup) {
74 string record = (*fSetup).getUntrackedParameter<
string>(
"record");
77 vector<string> paramKeys = (*fSetup).getParameterNames();
78 for (vector<string>::const_iterator
key = paramKeys.begin();
key != paramKeys.end(); ++
key) {
79 if (*
key !=
"record") {
80 string value = (*fSetup).getUntrackedParameter<
string>(*key);
97 edm::LogPrint(
"ProduceDropBoxMetadata") <<
"Entering read, to loop over toRead";
103 if (mdPayload.knowsRecord(*
name)) {
104 const map<string, string>&
params = mdPayload.getRecordParameters(*name).getParameterMap();
105 for (map<string, string>::const_iterator par =
params.begin(); par !=
params.end(); ++par) {
106 edm::LogPrint(
"ProduceDropBoxMetadata") <<
" key: " << par->first <<
" value: " << par->second;
109 edm::LogPrint(
"ProduceDropBoxMetadata") <<
" not in the payload!";
T getParameter(std::string const &) const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
T getUntrackedParameter(std::string const &, T const &) const
Hash writeOneIOV(const T &payload, Time_t time, const std::string &recordName)
#define DEFINE_FWK_MODULE(type)
Log< level::Warning, true > LogPrint