28 pL1TriggerKey->
add(
"L1TMuonEndCapParamsO2ORcd",
"L1TMuonEndCapParams", EMTFKey);
30 std::string tscKey = EMTFKey.substr(0, EMTFKey.find(
':'));
38 std::map<std::string, std::string>
keys =
42 algo_key =
keys[
"ALGO"];
48 }
catch (std::runtime_error&
e) {
49 edm::LogError(
"L1-O2O: L1TMuonEndCapObjectKeysOnlineProd") <<
e.what();
51 throw std::runtime_error(
"SummaryForFunctionManager: EMTF | Faulty | Broken key");
54 <<
"forcing L1TMuonEndCapForest key to be = '7' (known to exist)";
55 pL1TriggerKey->
add(
"L1TMuonEndCapForestO2ORcd",
"L1TMuonEndCapForest",
"7");
71 }
catch (std::runtime_error&
e) {
72 edm::LogError(
"L1-O2O: L1TMuonEndCapObjectKeysOnlineProd") <<
e.what();
74 throw std::runtime_error(
"SummaryForFunctionManager: EMTF | Faulty | Cannot parse XMLs");
77 <<
"forcing L1TMuonEndCapForest key to be = '7' (known to exist)";
78 pL1TriggerKey->
add(
"L1TMuonEndCapForestO2ORcd",
"L1TMuonEndCapForest",
"7");
84 std::map<std::string, l1t::Parameter> conf = trgSys.
getParameters(
"EMTFp1");
90 pL1TriggerKey->
add(
"L1TMuonEndCapForestO2ORcd",
"L1TMuonEndCapForest", conf[
"pt_lut_version"].getValueAsStr());
const std::string & subsystemKey(L1Subsystems subsystem) const
void setConfigured(bool state=true) noexcept
T getParameter(std::string const &) const
L1TMuonEndCapObjectKeysOnlineProd(const edm::ParameterSet &)
void add(const std::string &record, const std::string &type, const std::string &key)
Log< level::Error, false > LogError
void readDOMFromString(const std::string &str, xercesc::DOMDocument *&doc)
const std::map< std::string, Parameter > & getParameters(const char *processor) const
static std::map< std::string, std::string > fetch(const std::vector< std::string > &queryColumns, const std::string &table, const std::string &key, l1t::OMDSReader &m_omdsReader)
l1t::OMDSReader m_omdsReader
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void readRootElement(TriggerSystem &aTriggerSystem, const std::string &sysId="")
void fillObjectKeys(L1TriggerKeyExt *pL1TriggerKey) override
~L1TMuonEndCapObjectKeysOnlineProd(void) override