26 if( EMTFKey.empty() ){
27 edm::LogError(
"L1-O2O: L1TMuonEndcapObjectKeysOnlineProd" ) <<
"Key is empty ... do nothing, but that'll probably crash things later on";
31 std::string tscKey = EMTFKey.substr(0, EMTFKey.find(
":") );
32 std::string rsKey = EMTFKey.substr( EMTFKey.find(
":")+1, std::string::npos );
34 std::vector< std::string > queryStrings ;
35 queryStrings.push_back(
"ALGO" ) ;
49 edm::LogError(
"L1-O2O" ) <<
"Cannot get EMTF_KEYS.ALGO "<<
" do nothing, but that'll probably crash things later on";
53 if( !queryResult.
fillVariable(
"ALGO", algo_key) ) algo_key =
"";
56 pL1TriggerKey->add(
"L1TMuonEndcapParamsO2ORcd",
57 "L1TMuonEndCapParams",
bool fillVariable(const std::string &columnName, T &outputVariable) const
const QueryResults singleAttribute(const T &data) const
virtual void fillObjectKeys(ReturnType pL1TriggerKey) override
L1TMuonEndcapObjectKeysOnlineProd(const edm::ParameterSet &)
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="")
l1t::OMDSReader m_omdsReader
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
boost::shared_ptr< L1TriggerKeyExt > ReturnType
~L1TMuonEndcapObjectKeysOnlineProd(void)