28 pL1TriggerKey->add(
"L1TMuonEndCapParamsO2ORcd",
29 "L1TMuonEndCapParams",
32 std::string tscKey = EMTFKey.substr(0, EMTFKey.find(
":") );
33 std::string rsKey = EMTFKey.substr( EMTFKey.find(
":")+1, std::string::npos );
41 std::map<std::string,std::string>
keys =
49 algo_key = keys[
"ALGO"];
63 }
catch ( std::runtime_error &
e ) {
64 edm::LogError(
"L1-O2O: L1TMuonEndCapParamsOnlineProd" ) << e.what();
65 throw std::runtime_error(
"Broken key");
79 std::map<std::string, l1t::Parameter> conf = trgSys.
getParameters(
"EMTF-1");
84 pL1TriggerKey->add(
"L1TMuonEndCapForestO2ORcd",
85 "L1TMuonEndCapForest",
86 conf[
"pt_lut_version"].getValueAsStr()) ;
void setConfigured(bool state=true) noexcept
void fillObjectKeys(ReturnType pL1TriggerKey) override
std::shared_ptr< L1TriggerKeyExt > ReturnType
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)
L1TMuonEndcapObjectKeysOnlineProd(const edm::ParameterSet &)
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="")
~L1TMuonEndcapObjectKeysOnlineProd(void) override