#include <CosmicParametersDefinerForTPESProducer.h>
Public Member Functions | |
CosmicParametersDefinerForTPESProducer (const edm::ParameterSet &p) | |
boost::shared_ptr < ParametersDefinerForTP > | produce (const TrackAssociatorRecord &) |
virtual | ~CosmicParametersDefinerForTPESProducer () |
Private Types | |
typedef boost::shared_ptr < ParametersDefinerForTP > | ReturnType |
Definition at line 14 of file CosmicParametersDefinerForTPESProducer.h.
typedef boost::shared_ptr<ParametersDefinerForTP> CosmicParametersDefinerForTPESProducer::ReturnType [private] |
Definition at line 15 of file CosmicParametersDefinerForTPESProducer.h.
CosmicParametersDefinerForTPESProducer::CosmicParametersDefinerForTPESProducer | ( | const edm::ParameterSet & | p | ) |
Definition at line 19 of file CosmicParametersDefinerForTPESProducer.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; }
CosmicParametersDefinerForTPESProducer::~CosmicParametersDefinerForTPESProducer | ( | ) | [virtual] |
Definition at line 31 of file CosmicParametersDefinerForTPESProducer.cc.
{ // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) }
CosmicParametersDefinerForTPESProducer::ReturnType CosmicParametersDefinerForTPESProducer::produce | ( | const TrackAssociatorRecord & | iRecord | ) |
Definition at line 46 of file CosmicParametersDefinerForTPESProducer.cc.
References CosmicParametersDefinerForTP_cfi::CosmicParametersDefinerForTP.
{ ReturnType parametersDefiner_ (new CosmicParametersDefinerForTP()); return parametersDefiner_ ; }