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")),
72 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyListExt";
77 L1TriggerKeyListExt::KeyToToken::const_iterator iTSCKey = pList.
tscKeyToTokenMap().begin();
78 L1TriggerKeyListExt::KeyToToken::const_iterator eTSCKey = pList.
tscKeyToTokenMap().end();
79 for (; iTSCKey != eTSCKey; ++iTSCKey) {
88 for (; iRec != eRec; ++iRec) {
90 edm::LogInfo(
"L1-O2O") <<
"For record@type " << iRec->first <<
", found " << keyTokenMap.size() <<
" keys:";
92 L1TriggerKeyListExt::KeyToToken::const_iterator iKey = keyTokenMap.begin();
93 L1TriggerKeyListExt::KeyToToken::const_iterator eKey = keyTokenMap.end();
94 for (; iKey != eKey; ++iKey) {
114 L1TriggerKeyExt::RecordToKey::const_iterator iRec = recKeyMap.begin();
115 L1TriggerKeyExt::RecordToKey::const_iterator eRec = recKeyMap.end();
116 for (; iRec != eRec; ++iRec) {
117 edm::LogInfo(
"L1-O2O") << iRec->first <<
" " << iRec->second;
128 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyListExt";
132 unsigned long long run =
iEvent.id().run();
133 std::stringstream
ss;
143 for (; iRec != iEnd; ++iRec) {
147 if (*iRec ==
"L1TriggerKeyExtRcd") {
161 log +=
" " + *iRec +
"Key=" +
key;
bool m_printL1TriggerKeyExt
const std::string & tscKey() const
const std::string & subsystemKey(L1Subsystems subsystem) const
bool fillLastTriggerKeyList(L1TriggerKeyListExt &output)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::string tscKey(const std::string &triggerKeyPayloadToken) const
const RecordToKey & recordToKeyMap() const
def replace(string, replacements)
std::vector< std::string > m_recordsToPrint
L1O2OTestAnalyzerExt(const edm::ParameterSet &)
Log< level::Error, false > LogError
const RecordToKeyToToken & recordTypeToKeyToTokenMap() const
key
prepare the HTCondor submission files and eventually submit them
#define DEFINE_FWK_MODULE(type)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
std::map< std::string, std::string > RecordToKey
~L1O2OTestAnalyzerExt() override
Log< level::Info, false > LogInfo
const KeyToToken & tscKeyToTokenMap() const
bool m_printL1TriggerKeyListExt
std::string objectKey(const std::string &recordName, const std::string &payloadToken) const
std::map< std::string, std::string > KeyToToken
edm::ESGetToken< L1TriggerKeyExt, L1TriggerKeyExtRcd > l1TriggerKeyExtToken_
bool m_printPayloadTokens