45 if ( CaloIsolTag_.size() != CaloIsolWeight_.size()){
46 throw cms::Exception(
"BadConfig") <<
"vectors CaloIsolationMapTags and CaloIsolationWeight need to have size 3";
53 produces < reco::ElectronIsolationMap >();
70 std::vector< edm::Handle<reco::RecoEcalCandidateIsolationMap> > CaloIsoMap;
74 CaloIsoMap.push_back(depMapTemp);
82 for(reco::ElectronCollection::const_iterator iElectron = electronHandle->begin(); iElectron != electronHandle->end(); iElectron++){
88 for(reco::RecoEcalCandidateCollection::const_iterator iRecoEcalCand = recoecalcandHandle->begin(); iRecoEcalCand != recoecalcandHandle->end(); iRecoEcalCand++){
91 if(&(*cluster) == &(*theEleClus)) {
106 TotalIsolMap.insert(electronref, TotalIso);
T getParameter(std::string const &) const
~EgammaHLTElectronCombinedIsolationProducer()
EgammaHLTElectronCombinedIsolationProducer(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
edm::InputTag recoEcalCandidateProducer_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::InputTag electronProducer_
std::vector< edm::InputTag > CaloIsolTag_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< double > CaloIsolWeight_
edm::InputTag TrackIsolTag_