CMS 3D CMS Logo

Public Member Functions

L1RPCBxOrConfigOnlineProd Class Reference

Inheritance diagram for L1RPCBxOrConfigOnlineProd:
L1ConfigOnlineProdBase< L1RPCBxOrConfigRcd, L1RPCBxOrConfig > edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 L1RPCBxOrConfigOnlineProd (const edm::ParameterSet &)
virtual boost::shared_ptr
< L1RPCBxOrConfig
newObject (const std::string &objectKey)
 ~L1RPCBxOrConfigOnlineProd ()

Detailed Description

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

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

Definition at line 28 of file L1RPCBxOrConfigOnlineProd.cc.


Constructor & Destructor Documentation

L1RPCBxOrConfigOnlineProd::L1RPCBxOrConfigOnlineProd ( const edm::ParameterSet iConfig)

Definition at line 52 of file L1RPCBxOrConfigOnlineProd.cc.

  : L1ConfigOnlineProdBase< L1RPCBxOrConfigRcd, L1RPCBxOrConfig >( iConfig )
{
   //the following line is needed to tell the framework what
   // data is being produced

   //now do what ever other initialization is needed
}
L1RPCBxOrConfigOnlineProd::~L1RPCBxOrConfigOnlineProd ( )

Definition at line 62 of file L1RPCBxOrConfigOnlineProd.cc.

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

}

Member Function Documentation

boost::shared_ptr< L1RPCBxOrConfig > L1RPCBxOrConfigOnlineProd::newObject ( const std::string &  objectKey) [virtual]

Implements L1ConfigOnlineProdBase< L1RPCBxOrConfigRcd, L1RPCBxOrConfig >.

Definition at line 71 of file L1RPCBxOrConfigOnlineProd.cc.

{
  edm::LogError( "L1-O2O" ) << "L1RPCBxOrConfig object with key "
                            << objectKey << " not in ORCON!" ;
  boost::shared_ptr< L1RPCBxOrConfig > pBxOrConfig (new L1RPCBxOrConfig());
  pBxOrConfig->setFirstBX(0);
  pBxOrConfig->setLastBX(0);
  return pBxOrConfig;
//  return boost::shared_ptr< L1RPCBxOrConfig >() ;
}