CMS 3D CMS Logo

Public Member Functions | Private Types

CosmicParametersDefinerForTPESProducer Class Reference

#include <CosmicParametersDefinerForTPESProducer.h>

Inheritance diagram for CosmicParametersDefinerForTPESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

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

Detailed Description

Definition at line 14 of file CosmicParametersDefinerForTPESProducer.h.


Member Typedef Documentation

Definition at line 15 of file CosmicParametersDefinerForTPESProducer.h.


Constructor & Destructor Documentation

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.)

}

Member Function Documentation

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_ ;
}