CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Member Functions

SiStripFedCablingESProducer Class Reference

Abstract base class for producer of SiStripFedCabling record. More...

#include <SiStripFedCablingESProducer.h>

Inheritance diagram for SiStripFedCablingESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider SiStripFedCablingBuilderFromDb SiStripFedCablingFakeESSource

List of all members.

Public Member Functions

virtual std::auto_ptr
< SiStripFedCabling
produce (const SiStripFedCablingRcd &)
 SiStripFedCablingESProducer (const edm::ParameterSet &)
virtual ~SiStripFedCablingESProducer ()

Static Public Member Functions

static uint16_t ccuAddr (const uint16_t &nth_module)
static uint16_t ccuChan (const uint16_t &nth_module)
static uint16_t fecCrate (const uint16_t &nth_module)
static uint16_t fecRing (const uint16_t &nth_module)
static uint16_t fecSlot (const uint16_t &nth_module)

Private Member Functions

virtual SiStripFedCablingmake (const SiStripFedCablingRcd &)=0
const SiStripFedCablingESProduceroperator= (const SiStripFedCablingESProducer &)
 SiStripFedCablingESProducer (const SiStripFedCablingESProducer &)

Detailed Description

Abstract base class for producer of SiStripFedCabling record.

Author:
R.Bainbridge

Definition at line 17 of file SiStripFedCablingESProducer.h.


Constructor & Destructor Documentation

SiStripFedCablingESProducer::SiStripFedCablingESProducer ( const edm::ParameterSet pset)
SiStripFedCablingESProducer::~SiStripFedCablingESProducer ( ) [virtual]

Definition at line 18 of file SiStripFedCablingESProducer.cc.

{}
SiStripFedCablingESProducer::SiStripFedCablingESProducer ( const SiStripFedCablingESProducer ) [private]

Member Function Documentation

uint16_t SiStripFedCablingESProducer::ccuAddr ( const uint16_t &  nth_module) [inline, static]
uint16_t SiStripFedCablingESProducer::ccuChan ( const uint16_t &  nth_module) [inline, static]
uint16_t SiStripFedCablingESProducer::fecCrate ( const uint16_t &  nth_module) [inline, static]
uint16_t SiStripFedCablingESProducer::fecRing ( const uint16_t &  nth_module) [inline, static]
uint16_t SiStripFedCablingESProducer::fecSlot ( const uint16_t &  nth_module) [inline, static]
virtual SiStripFedCabling* SiStripFedCablingESProducer::make ( const SiStripFedCablingRcd ) [private, pure virtual]
const SiStripFedCablingESProducer& SiStripFedCablingESProducer::operator= ( const SiStripFedCablingESProducer ) [private]
std::auto_ptr< SiStripFedCabling > SiStripFedCablingESProducer::produce ( const SiStripFedCablingRcd rcd) [virtual]

Calls pure virtual make() method, to force concrete implementation.

Definition at line 22 of file SiStripFedCablingESProducer.cc.

References reco::modules::make(), sistrip::mlCabling_, and cond::rpcobtemp::temp.

Referenced by SiStripFedCablingESProducer().

                                                                                                     { 
  
  SiStripFedCabling* temp = make( rcd );
  
  if ( !temp ) {
    edm::LogWarning(mlCabling_)
      << "[SiStripFedCablingESProducer::" << __func__ << "]"
      << " Null pointer to SiStripFedCabling object!";
  }
  
  std::auto_ptr<SiStripFedCabling> ptr( temp );
  return ptr;

}