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" ) )
84 std::shared_ptr<L1TriggerKey> pL1TriggerKey ;
92 <<
"Problem getting last L1TriggerKeyList" ;
100 pL1TriggerKey = std::make_shared< L1TriggerKey >() ;
101 pL1TriggerKey->setTSCKey(
m_tscKey ) ;
108 std::vector< std::string > queryStrings ;
109 queryStrings.push_back(
"CSCTF_KEY" ) ;
110 queryStrings.push_back(
"DTTF_KEY" ) ;
111 queryStrings.push_back(
"RPC_KEY" ) ;
112 queryStrings.push_back(
"GMT_KEY" ) ;
113 queryStrings.push_back(
"RCT_KEY" ) ;
114 queryStrings.push_back(
"GCT_KEY" ) ;
115 queryStrings.push_back(
"GT_KEY" ) ;
122 "TRIGGERSUP_CONF.TS_KEY",
128 edm::LogError(
"L1-O2O" ) <<
"Problem with subsystem keys." ;
129 return pL1TriggerKey ;
132 std::string csctfKey, dttfKey, rpcKey, gmtKey, rctKey, gctKey, gtKey ;
170 "L1TriggerKey for TSC key " +
m_tscKey +
" already in CondDB." ) ;
173 return pL1TriggerKey ;
bool fillVariable(const std::string &columnName, T &outputVariable) const
const QueryResults singleAttribute(const T &data) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
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::shared_ptr< L1TriggerKey > ReturnType
std::string token(const std::string &tscKey) const
L1SubsystemKeysOnlineProd(const edm::ParameterSet &)
~L1SubsystemKeysOnlineProd()
l1t::OMDSReader m_omdsReader