#include <TrackingTools/TrackAssociator/plugins/DetIdAssociatorESProducer.cc>
Public Types | |
typedef boost::shared_ptr < DetIdAssociator > | ReturnType |
Public Member Functions | |
DetIdAssociatorESProducer (const edm::ParameterSet &) | |
ReturnType | produce (const DetIdAssociatorRecord &) |
~DetIdAssociatorESProducer () | |
Private Attributes | |
std::string | cName |
edm::ParameterSet | pSet |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 39 of file DetIdAssociatorESProducer.cc.
typedef boost::shared_ptr<DetIdAssociator> DetIdAssociatorESProducer::ReturnType |
Definition at line 44 of file DetIdAssociatorESProducer.cc.
DetIdAssociatorESProducer::DetIdAssociatorESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 63 of file DetIdAssociatorESProducer.cc.
References cName, edm::ParameterSet::getParameter(), pSet, and edm::ESProducer::setWhatProduced().
{ cName =iConfig.getParameter<std::string>("ComponentName"); pSet = iConfig; setWhatProduced(this, cName); }
DetIdAssociatorESProducer::~DetIdAssociatorESProducer | ( | ) |
Definition at line 71 of file DetIdAssociatorESProducer.cc.
{ }
DetIdAssociatorESProducer::ReturnType DetIdAssociatorESProducer::produce | ( | const DetIdAssociatorRecord & | iRecord | ) |
Definition at line 82 of file DetIdAssociatorESProducer.cc.
References cName, SurfaceDeformationFactory::create(), reco::get(), LogTrace, and pSet.
{ using namespace edm::es; LogTrace("TrackAssociator") << "Making DetIdAssociatorRecord with label: " << cName; ReturnType dia(DetIdAssociatorFactory::get()->create(cName, pSet)); dia->setGeometry(iRecord); dia->setConditions(iRecord); dia->buildMap(); LogTrace("TrackAssociator") << "Map id built for DetIdAssociatorRecord with label: " << cName; return dia; }
std::string DetIdAssociatorESProducer::cName [private] |
Definition at line 48 of file DetIdAssociatorESProducer.cc.
Referenced by DetIdAssociatorESProducer(), and produce().
Definition at line 49 of file DetIdAssociatorESProducer.cc.
Referenced by DetIdAssociatorESProducer(), and produce().