CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

DetIdAssociatorESProducer Class Reference

#include <TrackingTools/TrackAssociator/plugins/DetIdAssociatorESProducer.cc>

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

List of all members.

Public Types

typedef boost::shared_ptr
< DetIdAssociator
ReturnType

Public Member Functions

 DetIdAssociatorESProducer (const edm::ParameterSet &)
ReturnType produce (const DetIdAssociatorRecord &)
 ~DetIdAssociatorESProducer ()

Private Attributes

std::string cName
edm::ParameterSet pSet

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 39 of file DetIdAssociatorESProducer.cc.


Member Typedef Documentation

Definition at line 45 of file DetIdAssociatorESProducer.cc.


Constructor & Destructor Documentation

DetIdAssociatorESProducer::DetIdAssociatorESProducer ( const edm::ParameterSet iConfig)
DetIdAssociatorESProducer::~DetIdAssociatorESProducer ( )

Definition at line 71 of file DetIdAssociatorESProducer.cc.

{
}

Member Function Documentation

DetIdAssociatorESProducer::ReturnType DetIdAssociatorESProducer::produce ( const DetIdAssociatorRecord iRecord)

Definition at line 82 of file DetIdAssociatorESProducer.cc.

References cName, SurfaceDeformationFactory::create(), reco::get(), LogTrace, and pSet.

{
   using namespace edm::es;
   LogTrace("TrackAssociator") << "Making DetIdAssociatorRecord with label: " << cName;
   ReturnType dia(DetIdAssociatorFactory::get()->create(cName, pSet));
   dia->setGeometry(iRecord);
   dia->setConditions(iRecord);
   dia->buildMap();
   LogTrace("TrackAssociator") << "Map id built for DetIdAssociatorRecord with label: " << cName;
   return dia;
}

Member Data Documentation

std::string DetIdAssociatorESProducer::cName [private]

Definition at line 49 of file DetIdAssociatorESProducer.cc.

Referenced by DetIdAssociatorESProducer(), and produce().

Definition at line 50 of file DetIdAssociatorESProducer.cc.

Referenced by DetIdAssociatorESProducer(), and produce().