14 : m_tscKey(iConfig.getParameter<
std::
string>(
"tscKey")),
15 m_rsKey(iConfig.getParameter<
std::
string>(
"rsKey")),
16 m_omdsReader(iConfig.getParameter<
std::
string>(
"onlineDB"),
17 iConfig.getParameter<
std::
string>(
"onlineAuthentication")),
18 m_forceGeneration(iConfig.getParameter<
bool>(
"forceGeneration")) {
37 std::unique_ptr<L1TriggerKeyExt> pL1TriggerKey;
44 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyListExt";
56 pL1TriggerKey = std::make_unique<L1TriggerKeyExt>();
58 pL1TriggerKey->setTSCKey(m_Key);
66 std::vector<std::string> queryStrings;
67 queryStrings.push_back(
"UGT_KEY");
68 queryStrings.push_back(
"UGMT_KEY");
70 queryStrings.push_back(
"BMTF_KEY");
71 queryStrings.push_back(
"OMTF_KEY");
72 queryStrings.push_back(
"EMTF_KEY");
73 queryStrings.push_back(
"TWINMUX_KEY");
78 "L1_TRG_CONF_KEYS.ID",
87 std::string uGTKey, uGMTKey, CALOKey, BMTFKey, OMTFKey, EMTFKey, TWINMUXKey;
100 queryStrings.push_back(
"UGT_RS_KEY");
101 queryStrings.push_back(
"UGMT_RS_KEY");
103 queryStrings.push_back(
"BMTF_RS_KEY");
104 queryStrings.push_back(
"EMTF_RS_KEY");
105 queryStrings.push_back(
"OMTF_RS_KEY");
106 queryStrings.push_back(
"TWINMUX_RS_KEY");
114 return pL1TriggerKey;
117 std::string uGTrsKey, uGMTrsKey, CALOrsKey, BMTFrsKey, OMTFrsKey, EMTFrsKey, TWINMUXrsKey;
125 subkeyResults.
fillVariable(
"TWINMUX_RS_KEY", TWINMUXrsKey);
156 " already in CondDB.");
159 return pL1TriggerKey;
Log< level::Info, true > LogVerbatim
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
bool fillLastTriggerKeyList(L1TriggerKeyListExt &output)
l1t::OMDSReader m_omdsReader
const QueryResults singleAttribute(const T &data) const
L1SubsystemKeysOnlineProdExt(const edm::ParameterSet &)
Log< level::Error, false > LogError
~L1SubsystemKeysOnlineProdExt() override
const QueryResults basicQuery(const std::vector< std::string > &columnNames, const std::string &schemaName, const std::string &tableName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")
ReturnType produce(const L1TriggerKeyExtRcd &)
bool fillVariable(const std::string &columnName, T &outputVariable) const
std::string token(const std::string &tscKey) const
std::unique_ptr< L1TriggerKeyExt > ReturnType