CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

MuonAssociatorESProducer Class Reference

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

List of all members.

Public Types

typedef boost::shared_ptr
< TrackAssociatorBase
ReturnType

Public Member Functions

 MuonAssociatorESProducer (edm::ParameterSet const &config)
ReturnType produce (const TrackAssociatorRecord &record)
 ~MuonAssociatorESProducer ()

Private Attributes

edm::ParameterSet config_

Detailed Description

Definition at line 11 of file MuonAssociatorESProducer.cc.


Member Typedef Documentation

Definition at line 22 of file MuonAssociatorESProducer.cc.


Constructor & Destructor Documentation

MuonAssociatorESProducer::MuonAssociatorESProducer ( edm::ParameterSet const &  config) [inline]

Definition at line 15 of file MuonAssociatorESProducer.cc.

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

                                                             : config_(config)
    {
        setWhatProduced(this, config.getParameter<std::string>("ComponentName"));
    }
MuonAssociatorESProducer::~MuonAssociatorESProducer ( ) [inline]

Definition at line 20 of file MuonAssociatorESProducer.cc.

{}

Member Function Documentation

ReturnType MuonAssociatorESProducer::produce ( const TrackAssociatorRecord record) [inline]

Definition at line 24 of file MuonAssociatorESProducer.cc.

References config_.

    {
        using namespace edm::es;
        boost::shared_ptr<TrackAssociatorBase> pMuonAssociatorByHits( new MuonAssociatorByHits(config_) );
        return pMuonAssociatorByHits;
    }

Member Data Documentation

Definition at line 33 of file MuonAssociatorESProducer.cc.

Referenced by produce().