![]() |
![]() |
#include <CSCChannelMapperESProducer.h>
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 |
Definition at line 12 of file CSCChannelMapperESProducer.h.
typedef boost::shared_ptr<CSCChannelMapperBase> CSCChannelMapperESProducer::BSP_TYPE |
Definition at line 15 of file CSCChannelMapperESProducer.h.
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.
{ }
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 ; }
std::string CSCChannelMapperESProducer::algoName [private] |
Definition at line 23 of file CSCChannelMapperESProducer.h.
Referenced by CSCChannelMapperESProducer(), and produce().