#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 |
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().
00064 { 00065 cName =iConfig.getParameter<std::string>("ComponentName"); 00066 pSet = iConfig; 00067 setWhatProduced(this, cName); 00068 }
DetIdAssociatorESProducer::~DetIdAssociatorESProducer | ( | ) |
DetIdAssociatorESProducer::ReturnType DetIdAssociatorESProducer::produce | ( | const DetIdAssociatorRecord & | iRecord | ) |
Definition at line 82 of file DetIdAssociatorESProducer.cc.
References cName, DBSPlugin::get(), and pSet.
00083 { 00084 using namespace edm::es; 00085 00086 ReturnType dia(DetIdAssociatorFactory::get()->create(cName, pSet)); 00087 dia->setGeometry(iRecord); 00088 dia->buildMap(); 00089 return dia; 00090 }
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().