CMS 3D CMS Logo

Public Member Functions | Private Attributes

RPCObjectKeysOnlineProd Class Reference

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

List of all members.

Public Member Functions

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

Private Attributes

bool m_enableL1RPCBxOrConfig
bool m_enableL1RPCConeDefinition
bool m_enableL1RPCConfig
bool m_enableL1RPCHsbConfig

Detailed Description

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

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

Definition at line 32 of file RPCObjectKeysOnlineProd.cc.


Constructor & Destructor Documentation

RPCObjectKeysOnlineProd::RPCObjectKeysOnlineProd ( const edm::ParameterSet iConfig)

Definition at line 57 of file RPCObjectKeysOnlineProd.cc.

  : L1ObjectKeysOnlineProdBase( iConfig ),
    m_enableL1RPCConfig( iConfig.getParameter< bool >( "enableL1RPCConfig" ) ),
    m_enableL1RPCConeDefinition( iConfig.getParameter< bool >( "enableL1RPCConeDefinition" ) ),
    m_enableL1RPCHsbConfig( iConfig.getParameter< bool >( "enableL1RPCHsbConfig" ) ),
    m_enableL1RPCBxOrConfig( iConfig.getParameter< bool >( "enableL1RPCBxOrConfig" ) )
{}
RPCObjectKeysOnlineProd::~RPCObjectKeysOnlineProd ( )

Definition at line 66 of file RPCObjectKeysOnlineProd.cc.

{
 
   // do anything here that needs to be done at desctruction time
   // (e.g. close files, deallocate resources etc.)

}

Member Function Documentation

void RPCObjectKeysOnlineProd::fillObjectKeys ( ReturnType  pL1TriggerKey) [virtual]

Implements L1ObjectKeysOnlineProdBase.

Definition at line 81 of file RPCObjectKeysOnlineProd.cc.

References L1TriggerKey::kRPC, m_enableL1RPCBxOrConfig, m_enableL1RPCConeDefinition, m_enableL1RPCConfig, and m_enableL1RPCHsbConfig.

{
  std::string rpcKey = pL1TriggerKey->subsystemKey( L1TriggerKey::kRPC ) ;

  if( !rpcKey.empty() )
    {
      if( m_enableL1RPCConfig )
        {
          pL1TriggerKey->add( "L1RPCConfigRcd",
                              "L1RPCConfig",
                              rpcKey ) ;
        }
      if( m_enableL1RPCConeDefinition )
        {
          pL1TriggerKey->add( "L1RPCConeDefinitionRcd",
                              "L1RPCConeDefinition",
                              rpcKey ) ;
        }
      if( m_enableL1RPCHsbConfig )
        {
          pL1TriggerKey->add( "L1RPCHsbConfigRcd",
                              "L1RPCHsbConfig",
                              rpcKey ) ;
        }
      if( m_enableL1RPCBxOrConfig )
        {
          pL1TriggerKey->add( "L1RPCBxOrConfigRcd",
                              "L1RPCBxOrConfig",
                              rpcKey ) ;
        }

    }
}

Member Data Documentation

Definition at line 43 of file RPCObjectKeysOnlineProd.cc.

Referenced by fillObjectKeys().

Definition at line 41 of file RPCObjectKeysOnlineProd.cc.

Referenced by fillObjectKeys().

Definition at line 40 of file RPCObjectKeysOnlineProd.cc.

Referenced by fillObjectKeys().

Definition at line 42 of file RPCObjectKeysOnlineProd.cc.

Referenced by fillObjectKeys().