77 : m_printL1TriggerKey(iConfig.getParameter<
bool>(
"printL1TriggerKey")),
78 m_printL1TriggerKeyList(iConfig.getParameter<
bool>(
"printL1TriggerKeyList")),
79 m_printESRecords(iConfig.getParameter<
bool>(
"printESRecords")),
80 m_printPayloadTokens(iConfig.getParameter<
bool>(
"printPayloadTokens")),
81 m_recordsToPrint(iConfig.getParameter<
std::vector<
std::
string> >(
"recordsToPrint")) {
104 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyList";
109 L1TriggerKeyList::KeyToToken::const_iterator iTSCKey = pList.
tscKeyToTokenMap().begin();
110 L1TriggerKeyList::KeyToToken::const_iterator eTSCKey = pList.
tscKeyToTokenMap().end();
111 for (; iTSCKey != eTSCKey; ++iTSCKey) {
122 for (; iRec != eRec; ++iRec) {
124 std::cout <<
"For record@type " << iRec->first <<
", found " << keyTokenMap.size() <<
" keys:" << std::endl;
126 L1TriggerKeyList::KeyToToken::const_iterator iKey = keyTokenMap.begin();
127 L1TriggerKeyList::KeyToToken::const_iterator eKey = keyTokenMap.end();
128 for (; iKey != eKey; ++iKey) {
145 std::cout <<
"Current TSC key = " << pKey->
tscKey() << std::endl << std::endl;
147 std::cout <<
"Current subsystem keys:" << std::endl;
157 std::cout <<
"Object keys:" << std::endl;
159 L1TriggerKey::RecordToKey::const_iterator iRec = recKeyMap.begin();
160 L1TriggerKey::RecordToKey::const_iterator eRec = recKeyMap.end();
161 for (; iRec != eRec; ++iRec) {
162 std::cout << iRec->first <<
" " << iRec->second << std::endl;
165 std::cout <<
"No L1TriggerKey found." << std::endl;
176 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyList";
180 unsigned long long run =
iEvent.id().run();
181 std::stringstream
ss;
187 std::cout << std::endl <<
"Run Settings keys:" << std::endl;
191 for (; iRec != iEnd; ++iRec) {
195 if (*iRec ==
"L1TriggerKeyRcd") {
210 log +=
" " + *iRec +
"Key=" +
key;