59 if(useSCRefs_) produces < reco::RecoEcalCandidateIsolationMap >();
60 else produces < reco::ElectronIsolationMap >();
98 for(reco::RecoEcalCandidateCollection::const_iterator iRecoEcalCand = recoEcalCandHandle->begin(); iRecoEcalCand != recoEcalCandHandle->end(); iRecoEcalCand++){
103 for(reco::ElectronCollection::const_iterator eleIt = electronHandle->begin(); eleIt != electronHandle->end(); eleIt++){
104 if(eleIt->superCluster()==recoEcalCandRef->superCluster()){
110 if(eleRef.isNonnull()){
112 isol = isoAlgo.
getIso(eleTrk).second;
114 recoEcalCandMap.
insert(recoEcalCandRef,isol);
117 for(reco::ElectronCollection::const_iterator iElectron = electronHandle->begin(); iElectron != electronHandle->end(); iElectron++){
120 float isol = isoAlgo.
getIso(eleTrk).second;
121 eleMap.
insert(eleRef, isol);
127 iEvent.
put(mapForEvent);
130 iEvent.
put(mapForEvent);
T getParameter(std::string const &) const
virtual void produce(edm::Event &, const edm::EventSetup &)
std::vector< Track > TrackCollection
collection of Tracks
double egTrkIsoVetoConeSizeEndcap_
math::XYZPoint Point
point in the space
edm::Ref< ElectronCollection > ElectronRef
reference to an object in a collection of Electron objects
EgammaHLTElectronTrackIsolationProducers(const edm::ParameterSet &)
std::pair< int, double > getIso(const reco::Track *) const
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::InputTag beamSpotProducer_
double egTrkIsoVetoConeSizeBarrel_
~EgammaHLTElectronTrackIsolationProducers()
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
double egTrkIsoStripEndcap_
edm::InputTag electronProducer_
void insert(const key_type &k, const data_type &v)
insert an association
T const * product() const
edm::InputTag trackProducer_
double egTrkIsoStripBarrel_
edm::InputTag recoEcalCandidateProducer_