Implements edm::EDAnalyzer.
Definition at line 62 of file L1O2OTestAnalyzerExt.cc.
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;
References gather_cfg::cout, l1t::DataWriterExt::fillLastTriggerKeyList(), edm::EventSetup::get(), get, iEvent, crabWrapper::key, L1TriggerKeyExt::kuGT, dqm-mbProfile::log, m_printESRecords, m_printL1TriggerKeyExt, m_printL1TriggerKeyListExt, m_printPayloadTokens, m_recordsToPrint, L1TriggerKeyListExt::objectKey(), L1TriggerKeyExt::recordToKeyMap(), L1TriggerKeyListExt::recordTypeToKeyToTokenMap(), python.rootplot.root2matplotlib::replace(), writedatasetfile::run, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, L1TriggerKeyExt::subsystemKey(), L1TriggerKeyListExt::tscKey(), L1TriggerKeyExt::tscKey(), L1TriggerKeyListExt::tscKeyToTokenMap(), and cscNeutronWriter_cfi::writer.