Public Member Functions | |
DTTFRSKeysOnlineProd (const edm::ParameterSet &) | |
virtual void | fillObjectKeys (ReturnType pL1TriggerKey) |
~DTTFRSKeysOnlineProd () |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 32 of file DTTFRSKeysOnlineProd.cc.
DTTFRSKeysOnlineProd::DTTFRSKeysOnlineProd | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 53 of file DTTFRSKeysOnlineProd.cc.
: L1ObjectKeysOnlineProdBase( iConfig ) {}
DTTFRSKeysOnlineProd::~DTTFRSKeysOnlineProd | ( | ) |
Definition at line 58 of file DTTFRSKeysOnlineProd.cc.
{ // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) }
void DTTFRSKeysOnlineProd::fillObjectKeys | ( | ReturnType | pL1TriggerKey | ) | [virtual] |
Implements L1ObjectKeysOnlineProdBase.
Definition at line 73 of file DTTFRSKeysOnlineProd.cc.
References l1t::OMDSReader::basicQuery(), l1t::OMDSReader::QueryResults::fillVariable(), L1ObjectKeysOnlineProdBase::m_omdsReader, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and AlCaHLTBitMon_QueryRunRegistry::string.
{ // SELECT HW_SETTINGS FROM CMS_DT_TF.DTTF_SETTINGS_KEY_CURRENT l1t::OMDSReader::QueryResults rsKeyResults = m_omdsReader.basicQuery( "HW_SETTINGS", "CMS_DT_TF", "DTTF_SETTINGS_KEY_CURRENT" ); if( rsKeyResults.queryFailed() || rsKeyResults.numberRows() != 1 ) // check query successful { edm::LogError( "L1-O2O" ) << "Problem with DTTF RS key." ; return ; } std::string rsKey ; rsKeyResults.fillVariable( rsKey ) ; pL1TriggerKey->add( "L1MuDTTFMasksRcd", "L1MuDTTFMasks", rsKey ) ; }