CMS 3D CMS Logo

Public Member Functions | Private Types

ParametersDefinerForTPESProducer Class Reference

#include <ParametersDefinerForTPESProducer.h>

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

List of all members.

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

Detailed Description

Definition at line 14 of file ParametersDefinerForTPESProducer.h.


Member Typedef Documentation

Definition at line 15 of file ParametersDefinerForTPESProducer.h.


Constructor & Destructor Documentation

ParametersDefinerForTPESProducer::ParametersDefinerForTPESProducer ( const edm::ParameterSet p)

Definition at line 19 of file ParametersDefinerForTPESProducer.cc.

References edm::ParameterSet::getParameter(), edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.

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

}

Member Function Documentation

ParametersDefinerForTPESProducer::ReturnType ParametersDefinerForTPESProducer::produce ( const TrackAssociatorRecord iRecord)

Definition at line 46 of file ParametersDefinerForTPESProducer.cc.

{
  ReturnType parametersDefiner_ (new ParametersDefinerForTP());
  return parametersDefiner_ ;
}