#include <PFElectronMaker.h>
Public Member Functions | |
PFElectronMaker (const edm::ParameterSet &, edm::ConsumesCollector) | |
void | SetVars (HWW &, const edm::Event &, const edm::EventSetup &) |
Private Attributes | |
edm::EDGetTokenT < edm::ValueMap < reco::PFCandidatePtr > > | PFElectrons_ |
Definition at line 10 of file PFElectronMaker.h.
PFElectronMaker::PFElectronMaker | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector | iCollector | ||
) |
Definition at line 11 of file PFElectronMaker.cc.
References edm::ConsumesCollector::consumes(), and edm::ParameterSet::getParameter().
void PFElectronMaker::SetVars | ( | HWW & | hww, |
const edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 17 of file PFElectronMaker.cc.
References edm::ValueMap< T >::begin(), edm::Event::getByToken(), i, edm::Ptr< T >::isNull(), HWW::Load_pfels_p4(), reco::tau::pfCandidates(), HWW::pfels_p4(), edm::Handle< T >::product(), and edm::ValueMap< T >::const_iterator::size().
Referenced by HWWAnalyzer::analyze().
|
private |
Definition at line 19 of file PFElectronMaker.h.