106 std::vector<double> chIsoValues;
107 std::vector<double> phIsoValues;
108 std::vector<double> nhIsoValues;
109 chIsoValues.reserve(phoCollection->size());
110 phIsoValues.reserve(phoCollection->size());
111 nhIsoValues.reserve(phoCollection->size());
113 unsigned int ivtx = 0;
116 for (reco::PhotonCollection::const_iterator aPho = recoPho->begin(); aPho != recoPho->end(); ++aPho) {
122 std::cout <<
" pt " << aPho->pt() <<
" eta " << aPho->eta() <<
" phi " << aPho->phi() <<
" charge "
123 << aPho->charge() <<
" : " << std::endl;
136 chFiller.
insert(phoCollection, chIsoValues.begin(), chIsoValues.end());
139 phFiller.
insert(phoCollection, phIsoValues.begin(), phIsoValues.end());
142 nhFiller.
insert(phoCollection, nhIsoValues.begin(), nhIsoValues.end());