Public Member Functions | |
virtual void | fillObjectKeys (ReturnType pL1TriggerKey) |
L1RCT_RSKeysOnlineProd (const edm::ParameterSet &iConfig) | |
~L1RCT_RSKeysOnlineProd () | |
Private Attributes | |
bool | m_enableL1RCTChannelMask |
Definition at line 35 of file L1RCT_RSKeysOnlineProd.cc.
L1RCT_RSKeysOnlineProd::L1RCT_RSKeysOnlineProd | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 58 of file L1RCT_RSKeysOnlineProd.cc.
: L1ObjectKeysOnlineProdBase( iConfig ), m_enableL1RCTChannelMask ( iConfig.getParameter< bool >( "enableL1RCTChannelMask" ) ) {}
L1RCT_RSKeysOnlineProd::~L1RCT_RSKeysOnlineProd | ( | ) | [inline] |
Definition at line 38 of file L1RCT_RSKeysOnlineProd.cc.
{}
void L1RCT_RSKeysOnlineProd::fillObjectKeys | ( | ReturnType | pL1TriggerKey | ) | [virtual] |
Implements L1ObjectKeysOnlineProdBase.
Definition at line 71 of file L1RCT_RSKeysOnlineProd.cc.
References l1t::OMDSReader::basicQuery(), l1t::OMDSReader::QueryResults::fillVariable(), m_enableL1RCTChannelMask, L1ObjectKeysOnlineProdBase::m_omdsReader, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and AlCaHLTBitMon_QueryRunRegistry::string.
{ if( m_enableL1RCTChannelMask ) { l1t::OMDSReader::QueryResults objectKeyResults = m_omdsReader.basicQuery( "ID", "CMS_RCT", "RCT_RUN_SETTINGS_KEY_CURRENT"); std::string objectKey; if( objectKeyResults.queryFailed()) { edm::LogError( "L1-O2O" ) << "Problem with jey for record L1RCTCHannelMaskRcd: query failed." ; } else if(objectKeyResults.numberRows() != 1){ edm::LogError("L1-O2O") << "Problem with key for record L1RCTChannelMaskRcd: " << (objectKeyResults.numberRows()) << " rows were returned"; } else { objectKeyResults.fillVariable( objectKey ) ; } pL1TriggerKey->add( "L1RCTChannelMaskRcd", "L1RCTChannelMask", objectKey ) ; } }
bool L1RCT_RSKeysOnlineProd::m_enableL1RCTChannelMask [private] |
Definition at line 43 of file L1RCT_RSKeysOnlineProd.cc.
Referenced by fillObjectKeys().