80 consumes<edm::ValueMap<reco::GsfElectronRef>>({
"gedGsfElectronValueMapsTmp",
valueMapPFCandEle_});
105 std::vector<std::vector<reco::PFCandidateRef>> pfCandIsoPairVecPho;
109 for (
unsigned int lSC = 0; lSC < photonTmpHandle->size(); lSC++) {
113 unsigned nObj = pfEGCandidateHandle->size();
116 std::vector<reco::PFCandidateRef> pfCandIsoPairPho;
117 for (
unsigned int lCand = 0; lCand < nObj; lCand++) {
136 pfCandIsoPairVecPho.push_back(pfCandIsoPairPho);
140 std::vector<std::vector<reco::PFCandidateRef>> pfCandIsoPairVecEle;
142 for (
unsigned int lSC = 0; lSC < electronTmpHandle->size(); lSC++) {
146 unsigned nObj = pfEGCandidateHandle->size();
149 std::vector<reco::PFCandidateRef> pfCandIsoPairEle;
150 for (
unsigned int lCand = 0; lCand < nObj; lCand++) {
172 pfCandIsoPairVecEle.push_back(pfCandIsoPairEle);
175 auto phoToPFCandIsoMap_p = std::make_unique<edm::ValueMap<std::vector<reco::PFCandidateRef>>>();
179 fillerPhotons.insert(photonHandle, pfCandIsoPairVecPho.begin(), pfCandIsoPairVecPho.end());
180 fillerPhotons.fill();
183 auto eleToPFCandIsoMap_p = std::make_unique<edm::ValueMap<std::vector<reco::PFCandidateRef>>>();
187 fillerElectrons.insert(electronHandle, pfCandIsoPairVecEle.begin(), pfCandIsoPairVecEle.end());
188 fillerElectrons.fill();
196 desc.add<
std::string>(
"valueMapPhoToEG",
"valMapPFEgammaCandToPhoton");
206 psd0.
add<
double>(
"coneSize", 9999999999.);
211 descriptions.
add(
"particleBasedIsolation",
desc);