14 : m_tscKey( iConfig.getParameter< std::
string >(
"tscKey" ) ),
16 iConfig.getParameter< std::
string >(
"onlineDB" ),
17 iConfig.getParameter< std::
string >(
"onlineAuthentication" ) ),
18 m_forceGeneration( iConfig.getParameter< bool >(
"forceGeneration" ) )
45 using namespace edm::es;
46 boost::shared_ptr<L1TriggerKeyExt> pL1TriggerKey ;
51 if( !dataWriter.fillLastTriggerKeyList( keyList ) )
54 <<
"Problem getting last L1TriggerKeyListExt" ;
62 pL1TriggerKey = boost::shared_ptr< L1TriggerKeyExt >(
64 pL1TriggerKey->setTSCKey(
m_tscKey ) ;
71 std::vector< std::string > queryStrings ;
72 queryStrings.push_back(
"UGT_KEY" ) ;
78 "L1_TRG_CONF_KEYS.ID",
85 return pL1TriggerKey ;
98 "L1TriggerKeyExt for TSC key " +
m_tscKey +
" already in CondDB." ) ;
101 return pL1TriggerKey ;
l1t::OMDSReader m_omdsReader
bool fillVariable(const std::string &columnName, T &outputVariable) const
const QueryResults singleAttribute(const T &data) const
~L1SubsystemKeysOnlineProdExt()
L1SubsystemKeysOnlineProdExt(const edm::ParameterSet &)
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="")
ReturnType produce(const L1TriggerKeyExtRcd &)
boost::shared_ptr< L1TriggerKeyExt > ReturnType