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_ |
Definition at line 11 of file MuonAssociatorESProducer.cc.
typedef boost::shared_ptr<TrackAssociatorBase> MuonAssociatorESProducer::ReturnType |
Definition at line 22 of file MuonAssociatorESProducer.cc.
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.
{}
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; }
Definition at line 33 of file MuonAssociatorESProducer.cc.
Referenced by produce().