CMS 3D CMS Logo

Public Types | Public Member Functions

TSCBLBuilderNoMaterialESProducer Class Reference

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

List of all members.

Public Types

typedef boost::shared_ptr
< TrajectoryStateClosestToBeamLineBuilder
ReturnType

Public Member Functions

ReturnType produce (const TrackingComponentsRecord &)
 TSCBLBuilderNoMaterialESProducer (const edm::ParameterSet &)
 ~TSCBLBuilderNoMaterialESProducer ()

Detailed Description

Definition at line 26 of file TSCBLBuilderNoMaterialESProducer.cc.


Member Typedef Documentation

Definition at line 31 of file TSCBLBuilderNoMaterialESProducer.cc.


Constructor & Destructor Documentation

TSCBLBuilderNoMaterialESProducer::TSCBLBuilderNoMaterialESProducer ( const edm::ParameterSet p)

Definition at line 49 of file TSCBLBuilderNoMaterialESProducer.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 = p.getParameter<std::string>("ComponentName");
  setWhatProduced(this,myName);

   //now do what ever other initialization is needed
}
TSCBLBuilderNoMaterialESProducer::~TSCBLBuilderNoMaterialESProducer ( )

Definition at line 60 of file TSCBLBuilderNoMaterialESProducer.cc.

{
 
   // do anything here that needs to be done at desctruction time
   // (e.g. close files, deallocate resources etc.)

}

Member Function Documentation

TSCBLBuilderNoMaterialESProducer::ReturnType TSCBLBuilderNoMaterialESProducer::produce ( const TrackingComponentsRecord iRecord)

Definition at line 75 of file TSCBLBuilderNoMaterialESProducer.cc.

References TSCBLBuilderNoMaterial_cfi::TSCBLBuilderNoMaterial.

{
   using namespace edm::es;
   TSCBLBuilderNoMaterialESProducer::ReturnType pTSCBLBuilderNoMaterial(new TSCBLBuilderNoMaterial()) ;


   return pTSCBLBuilderNoMaterial ;
}