30 pL1TriggerKey->
add(
"L1TMuonEndCapParamsO2ORcd",
31 "L1TMuonEndCapParams",
34 std::string tscKey = EMTFKey.substr(0, EMTFKey.find(
":") );
42 std::map<std::string,std::string>
keys =
50 algo_key = keys[
"ALGO"];
64 }
catch ( std::runtime_error &
e ) {
65 edm::LogError(
"L1-O2O: L1TMuonEndCapObjectKeysOnlineProd" ) << e.what();
67 throw std::runtime_error(
"SummaryForFunctionManager: EMTF | Faulty | Broken key");
69 edm::LogError(
"L1-O2O: L1TMuonEndCapObjectKeysOnlineProd" ) <<
"forcing L1TMuonEndCapForest key to be = '7' (known to exist)";
70 pL1TriggerKey->
add(
"L1TMuonEndCapForestO2ORcd",
71 "L1TMuonEndCapForest",
88 }
catch ( std::runtime_error &e ) {
89 edm::LogError(
"L1-O2O: L1TMuonEndCapObjectKeysOnlineProd" ) << e.what();
91 throw std::runtime_error(
"SummaryForFunctionManager: EMTF | Faulty | Cannot parse XMLs");
93 edm::LogError(
"L1-O2O: L1TMuonEndCapObjectKeysOnlineProd" ) <<
"forcing L1TMuonEndCapForest key to be = '7' (known to exist)";
94 pL1TriggerKey->
add(
"L1TMuonEndCapForestO2ORcd",
95 "L1TMuonEndCapForest",
102 std::map<std::string, l1t::Parameter> conf = trgSys.
getParameters(
"EMTFp1");
108 pL1TriggerKey->
add(
"L1TMuonEndCapForestO2ORcd",
109 "L1TMuonEndCapForest",
110 conf[
"pt_lut_version"].getValueAsStr()) ;
T getParameter(std::string const &) const
void setConfigured(bool state=true) noexcept
L1TMuonEndCapObjectKeysOnlineProd(const edm::ParameterSet &)
void add(const std::string &record, const std::string &type, const std::string &key)
void readDOMFromString(const std::string &str, xercesc::DOMDocument *&doc)
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)
const std::string & subsystemKey(L1Subsystems subsystem) const
l1t::OMDSReader m_omdsReader
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
const std::map< std::string, Parameter > & getParameters(const char *processor) const
void readRootElement(TriggerSystem &aTriggerSystem, const std::string &sysId="")
void fillObjectKeys(L1TriggerKeyExt *pL1TriggerKey) override
~L1TMuonEndCapObjectKeysOnlineProd(void) override