CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

CSCChannelMapperESProducer Class Reference

#include <CSCChannelMapperESProducer.h>

Inheritance diagram for CSCChannelMapperESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Types

typedef boost::shared_ptr
< CSCChannelMapperBase
BSP_TYPE

Public Member Functions

 CSCChannelMapperESProducer (const edm::ParameterSet &)
BSP_TYPE produce (const CSCChannelMapperRecord &)
 ~CSCChannelMapperESProducer ()

Private Attributes

std::string algoName

Detailed Description

Definition at line 12 of file CSCChannelMapperESProducer.h.


Member Typedef Documentation

Definition at line 15 of file CSCChannelMapperESProducer.h.


Constructor & Destructor Documentation

CSCChannelMapperESProducer::CSCChannelMapperESProducer ( const edm::ParameterSet pset)

Definition at line 8 of file CSCChannelMapperESProducer.cc.

References algoName, edm::ParameterSet::getParameter(), LogTrace, edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.

{
  algoName = pset.getParameter<std::string>("AlgoName");

  LogTrace("CSCChannelMapperESProducer") << " will produce: " << algoName;

  setWhatProduced(this);

}
CSCChannelMapperESProducer::~CSCChannelMapperESProducer ( )

Definition at line 18 of file CSCChannelMapperESProducer.cc.

                                                       {
}

Member Function Documentation

CSCChannelMapperESProducer::BSP_TYPE CSCChannelMapperESProducer::produce ( const CSCChannelMapperRecord )

Definition at line 21 of file CSCChannelMapperESProducer.cc.

References algoName, SurfaceDeformationFactory::create(), reco::get(), and LogTrace.

{
  LogTrace("CSCChannelMapperESProducer") << " producing: " << algoName;

  CSCChannelMapperESProducer::BSP_TYPE theChannelMapper(CSCChannelMapperFactory::get()->create(algoName));

  return theChannelMapper ;
}

Member Data Documentation

std::string CSCChannelMapperESProducer::algoName [private]

Definition at line 23 of file CSCChannelMapperESProducer.h.

Referenced by CSCChannelMapperESProducer(), and produce().