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