32 consumes<edm::ValueMap<reco::GsfElectronRef>>({
"gedGsfElectronValueMapsTmp",
valueMapPFCandEle_});
77 pfEGCandToPhotonMap = *(pfEGCandToPhotonMapHandle.
product());
82 pfEGCandToElectronMap = *(pfEGCandToElectronMapHandle.
product());
84 std::vector<std::vector<reco::PFCandidateRef>> pfCandIsoPairVecPho;
88 for (
unsigned int lSC = 0; lSC < photonTmpHandle->size(); lSC++) {
92 unsigned nObj = pfEGCandidateHandle->size();
95 std::vector<reco::PFCandidateRef> pfCandIsoPairPho;
96 for (
unsigned int lCand = 0; lCand < nObj; lCand++) {
115 pfCandIsoPairVecPho.push_back(pfCandIsoPairPho);
119 std::vector<std::vector<reco::PFCandidateRef>> pfCandIsoPairVecEle;
121 for (
unsigned int lSC = 0; lSC < electronTmpHandle->size(); lSC++) {
125 unsigned nObj = pfEGCandidateHandle->size();
128 std::vector<reco::PFCandidateRef> pfCandIsoPairEle;
129 for (
unsigned int lCand = 0; lCand < nObj; lCand++) {
151 pfCandIsoPairVecEle.push_back(pfCandIsoPairEle);
154 auto phoToPFCandIsoMap_p = std::make_unique<edm::ValueMap<std::vector<reco::PFCandidateRef>>>();
158 fillerPhotons.insert(photonHandle, pfCandIsoPairVecPho.begin(), pfCandIsoPairVecPho.end());
159 fillerPhotons.fill();
162 auto eleToPFCandIsoMap_p = std::make_unique<edm::ValueMap<std::vector<reco::PFCandidateRef>>>();
166 fillerElectrons.insert(electronHandle, pfCandIsoPairVecEle.begin(), pfCandIsoPairVecEle.end());
167 fillerElectrons.fill();