50 : m_tscKey(iConfig.getParameter<
std::
string>(
"tscKey")),
51 m_ignoreTriggerKey(iConfig.getParameter<
bool>(
"ignoreTriggerKey")),
52 m_logKeys(iConfig.getParameter<
bool>(
"logKeys")),
53 m_logTransactions(iConfig.getParameter<
bool>(
"logTransactions")),
54 m_forceUpdate(iConfig.getParameter<
bool>(
"forceUpdate")) {
56 typedef std::vector<edm::ParameterSet> ToSave;
58 for (ToSave::const_iterator it = toSave.begin(); it != toSave.end(); it++) {
82 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyList";
85 unsigned long long run =
iEvent.id().run();
89 bool triggerKeyIOVUpdated =
true;
95 bool logRecords =
true;
112 recordTypeToKeyMap =
key.recordToKeyMap();
117 replace(tmpKey.begin(), tmpKey.end(),
' ',
'?');
118 log +=
" tscKey=" + tmpKey;
131 std::vector<std::string>::const_iterator recordTypeItr =
m_recordTypes.begin();
132 std::vector<std::string>::const_iterator recordTypeEnd =
m_recordTypes.end();
134 for (; recordTypeItr != recordTypeEnd; ++recordTypeItr) {
135 recordTypeToKeyMap.insert(std::make_pair(*recordTypeItr,
m_tscKey));
145 L1TriggerKey::RecordToKey::const_iterator
itr = recordTypeToKeyMap.begin();
146 L1TriggerKey::RecordToKey::const_iterator
end = recordTypeToKeyMap.end();
158 replace(tmpKey.begin(), tmpKey.end(),
' ',
'?');
164 edm::LogVerbatim(
"L1-O2O") <<
"L1CondDBIOVWriter: null object key for " << recordType
165 <<
"; skipping this record.";
168 edm::LogVerbatim(
"L1-O2O") <<
"Object key for " << recordType <<
": " << objectKey;
171 if (payloadToken.empty()) {
172 edm::LogVerbatim(
"L1-O2O") <<
"L1CondDBIOVWriter: empty payload token for " + recordType +
", key " +