CMS 3D CMS Logo

Public Member Functions

DTTFRSKeysOnlineProd Class Reference

Inheritance diagram for DTTFRSKeysOnlineProd:
L1ObjectKeysOnlineProdBase edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 DTTFRSKeysOnlineProd (const edm::ParameterSet &)
virtual void fillObjectKeys (ReturnType pL1TriggerKey)
 ~DTTFRSKeysOnlineProd ()

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 32 of file DTTFRSKeysOnlineProd.cc.


Constructor & Destructor Documentation

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.)

}

Member Function Documentation

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(), and l1t::OMDSReader::QueryResults::queryFailed().

{
  // 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 ) ;
}