#include <ParametersDefinerForTPESProducer.h>
Public Member Functions | |
ParametersDefinerForTPESProducer (const edm::ParameterSet &p) | |
boost::shared_ptr < ParametersDefinerForTP > | produce (const TrackAssociatorRecord &) |
virtual | ~ParametersDefinerForTPESProducer () |
Private Types | |
typedef boost::shared_ptr < ParametersDefinerForTP > | ReturnType |
Definition at line 14 of file ParametersDefinerForTPESProducer.h.
typedef boost::shared_ptr<ParametersDefinerForTP> ParametersDefinerForTPESProducer::ReturnType [private] |
Definition at line 15 of file ParametersDefinerForTPESProducer.h.
ParametersDefinerForTPESProducer::ParametersDefinerForTPESProducer | ( | const edm::ParameterSet & | p | ) |
Definition at line 19 of file ParametersDefinerForTPESProducer.cc.
References edm::ParameterSet::getParameter(), and edm::ESProducer::setWhatProduced().
{ //the following line is needed to tell the framework what // data is being produced std::string myName=iConfig.getParameter<std::string>("ComponentName"); setWhatProduced(this,myName); //now do what ever other initialization is needed //conf_=iConfig; }
ParametersDefinerForTPESProducer::~ParametersDefinerForTPESProducer | ( | ) | [virtual] |
Definition at line 31 of file ParametersDefinerForTPESProducer.cc.
{ // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) }
ParametersDefinerForTPESProducer::ReturnType ParametersDefinerForTPESProducer::produce | ( | const TrackAssociatorRecord & | iRecord | ) |
Definition at line 46 of file ParametersDefinerForTPESProducer.cc.
{ ReturnType parametersDefiner_ (new ParametersDefinerForTP()); return parametersDefiner_ ; }