19 if (!subsystemKey.empty()) {
28 "GCT_CONFIG.CONFIG_KEY",
33 "GCT_PHYS_PARAMS_KEY",
"CMS_GCT",
"GCT_MAIN_CRATE",
"GCT_MAIN_CRATE.CONFIG_KEY", mainCrateKeyResults);
38 edm::LogError(
"L1-O2O") <<
"Problem with key for record L1GctJetFinderParamsRcd: query failed ";
39 }
else if (physParamsKeyResults.
numberRows() != 1) {
40 edm::LogError(
"L1-O2O") <<
"Problem with key for record L1GctJetFinderParamsRcd: "
41 << (physParamsKeyResults.
numberRows()) <<
" rows were returned";
46 pL1TriggerKey->add(
"L1GctJetFinderParamsRcd",
"L1GctJetFinderParams", physParamsKey);
47 pL1TriggerKey->add(
"L1JetEtScaleRcd",
"L1CaloEtScale", physParamsKey);
48 pL1TriggerKey->add(
"L1HtMissScaleRcd",
"L1CaloEtScale", physParamsKey);
49 pL1TriggerKey->add(
"L1HfRingEtScaleRcd",
"L1CaloEtScale", physParamsKey);
bool fillVariable(const std::string &columnName, T &outputVariable) const
const QueryResults singleAttribute(const T &data) const
std::unique_ptr< L1TriggerKey >::pointer FillType
l1t::OMDSReader m_omdsReader
Log< level::Error, false > LogError
void fillObjectKeys(FillType pL1TriggerKey) 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="")
L1GctTSCObjectKeysOnlineProd(const edm::ParameterSet &iConfig)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
~L1GctTSCObjectKeysOnlineProd() override