61 produces < reco::RecoEcalCandidateIsolationMap >();
90 std::vector<const reco::BasicCluster*> clusterCollection;
91 for (reco::BasicClusterCollection::const_iterator ibc = clusterBarrelCollection->begin();
92 ibc < clusterBarrelCollection->end(); ibc++ ){clusterCollection.push_back(&(*ibc));}
93 for (reco::BasicClusterCollection::const_iterator iec = clusterEndcapCollection->begin();
94 iec < clusterEndcapCollection->end(); iec++ ){clusterCollection.push_back(&(*iec));}
95 std::vector<const reco::SuperCluster*> scCollection;
96 for (reco::SuperClusterCollection::const_iterator ibsc = scBarrelCollection->begin();
97 ibsc < scBarrelCollection->end(); ibsc++ ){scCollection.push_back(&(*ibsc));}
98 for (reco::SuperClusterCollection::const_iterator iesc = scEndcapCollection->begin();
99 iesc < scEndcapCollection->end(); iesc++ ){scCollection.push_back(&(*iesc));}
105 for (reco::RecoEcalCandidateCollection::const_iterator iRecoEcalCand= recoecalcandHandle->begin(); iRecoEcalCand!=recoecalcandHandle->end(); iRecoEcalCand++) {
112 float isol =
test_->
isolPtSum(tempiRecoEcalCand,scCollection, clusterCollection);
114 isoMap.
insert(recoecalcandref, isol);
T getParameter(std::string const &) const
edm::InputTag scIslandEndcapProducer_
EgammaHLTEcalIsolationProducersRegional(const edm::ParameterSet &)
edm::InputTag bcEndcapProducer_
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
float isolPtSum(const reco::RecoCandidate *recocandidate, const std::vector< const reco::SuperCluster * > &sclusters, const std::vector< const reco::BasicCluster * > &bclusters)
edm::InputTag bcBarrelProducer_
virtual void produce(edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::InputTag recoEcalCandidateProducer_
edm::InputTag scIslandBarrelProducer_
void insert(const key_type &k, const data_type &v)
insert an association
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
T const * product() const
EgammaHLTEcalIsolation * test_
double egEcalIsoConeSize_
~EgammaHLTEcalIsolationProducersRegional()