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 using namespace edm::es;
84 boost::shared_ptr<L1TriggerKey> pL1TriggerKey ;
89 if( !dataWriter.fillLastTriggerKeyList( keyList ) )
92 <<
"Problem getting last L1TriggerKeyList" ;
100 pL1TriggerKey = boost::shared_ptr< L1TriggerKey >(
102 pL1TriggerKey->setTSCKey(
m_tscKey ) ;
109 std::vector< std::string > queryStrings ;
110 queryStrings.push_back(
"CSCTF_KEY" ) ;
111 queryStrings.push_back(
"DTTF_KEY" ) ;
112 queryStrings.push_back(
"RPC_KEY" ) ;
113 queryStrings.push_back(
"GMT_KEY" ) ;
114 queryStrings.push_back(
"RCT_KEY" ) ;
115 queryStrings.push_back(
"GCT_KEY" ) ;
116 queryStrings.push_back(
"GT_KEY" ) ;
123 "TRIGGERSUP_CONF.TS_KEY",
129 edm::LogError(
"L1-O2O" ) <<
"Problem with subsystem keys." ;
130 return pL1TriggerKey ;
133 std::string csctfKey, dttfKey, rpcKey, gmtKey, rctKey, gctKey, gtKey ;
171 "L1TriggerKey for TSC key " +
m_tscKey +
" already in CondDB." ) ;
174 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())
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="") const
ReturnType produce(const L1TriggerKeyRcd &)
boost::shared_ptr< L1TriggerKey > ReturnType
L1SubsystemKeysOnlineProd(const edm::ParameterSet &)
~L1SubsystemKeysOnlineProd()
l1t::OMDSReader m_omdsReader