48 : m_printL1TriggerKeyExt(iConfig.getParameter<
bool>(
"printL1TriggerKeyExt")),
49 m_printL1TriggerKeyListExt(iConfig.getParameter<
bool>(
"printL1TriggerKeyListExt")),
50 m_printESRecords(iConfig.getParameter<
bool>(
"printESRecords")),
51 m_printPayloadTokens(iConfig.getParameter<
bool>(
"printPayloadTokens")),
52 m_recordsToPrint(iConfig.getParameter<
std::vector<
std::
string> >(
"recordsToPrint")) {
71 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyListExt";
76 L1TriggerKeyListExt::KeyToToken::const_iterator iTSCKey = pList.
tscKeyToTokenMap().begin();
77 L1TriggerKeyListExt::KeyToToken::const_iterator eTSCKey = pList.
tscKeyToTokenMap().end();
78 for (; iTSCKey != eTSCKey; ++iTSCKey) {
89 for (; iRec != eRec; ++iRec) {
91 std::cout <<
"For record@type " << iRec->first <<
", found " << keyTokenMap.size() <<
" keys:" << std::endl;
93 L1TriggerKeyListExt::KeyToToken::const_iterator iKey = keyTokenMap.begin();
94 L1TriggerKeyListExt::KeyToToken::const_iterator eKey = keyTokenMap.end();
95 for (; iKey != eKey; ++iKey) {
112 std::cout <<
"Current TSC key = " << pKey->
tscKey() << std::endl << std::endl;
114 std::cout <<
"Current subsystem keys:" << std::endl;
117 std::cout <<
"Object keys:" << std::endl;
119 L1TriggerKeyExt::RecordToKey::const_iterator iRec = recKeyMap.begin();
120 L1TriggerKeyExt::RecordToKey::const_iterator eRec = recKeyMap.end();
121 for (; iRec != eRec; ++iRec) {
122 std::cout << iRec->first <<
" " << iRec->second << std::endl;
125 std::cout <<
"No L1TriggerKeyExt found." << std::endl;
136 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyListExt";
140 unsigned long long run =
iEvent.id().run();
141 std::stringstream
ss;
147 std::cout << std::endl <<
"Run Settings keys:" << std::endl;
151 for (; iRec != iEnd; ++iRec) {
155 if (*iRec ==
"L1TriggerKeyExtRcd") {
170 log +=
" " + *iRec +
"Key=" +
key;