52 : m_tscKey( iConfig.getParameter<
std::
string >(
"tscKey" ) ),
54 iConfig.getParameter<
std::
string >(
"onlineDB" ),
55 iConfig.getParameter<
std::
string >(
"onlineAuthentication" ) ),
56 m_forceGeneration( iConfig.getParameter<
bool >(
"forceGeneration" ) )
83 std::unique_ptr<L1TriggerKey> pL1TriggerKey ;
91 <<
"Problem getting last L1TriggerKeyList" ;
99 pL1TriggerKey = std::make_unique< L1TriggerKey >() ;
100 pL1TriggerKey->setTSCKey(
m_tscKey ) ;
107 std::vector< std::string > queryStrings ;
108 queryStrings.push_back(
"CSCTF_KEY" ) ;
109 queryStrings.push_back(
"DTTF_KEY" ) ;
110 queryStrings.push_back(
"RPC_KEY" ) ;
111 queryStrings.push_back(
"GMT_KEY" ) ;
112 queryStrings.push_back(
"RCT_KEY" ) ;
113 queryStrings.push_back(
"GCT_KEY" ) ;
114 queryStrings.push_back(
"GT_KEY" ) ;
121 "TRIGGERSUP_CONF.TS_KEY",
127 edm::LogError(
"L1-O2O" ) <<
"Problem with subsystem keys." ;
128 return pL1TriggerKey ;
131 std::string csctfKey, dttfKey, rpcKey, gmtKey, rctKey, gctKey, gtKey ;
169 "L1TriggerKey for TSC key " +
m_tscKey +
" already in CondDB." ) ;
172 return pL1TriggerKey ;
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
bool fillVariable(const std::string &columnName, T &outputVariable) const
const QueryResults singleAttribute(const T &data) const
std::unique_ptr< L1TriggerKey > ReturnType
ReturnType produce(const L1TriggerKeyRcd &)
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="")
bool fillLastTriggerKeyList(L1TriggerKeyList &output)
std::string token(const std::string &tscKey) const
L1SubsystemKeysOnlineProd(const edm::ParameterSet &)
l1t::OMDSReader m_omdsReader
~L1SubsystemKeysOnlineProd() override