1 #ifndef CommonTools_ParticleFlow_IsolatedPFCandidateSelectorDefinition
2 #define CommonTools_ParticleFlow_IsolatedPFCandidateSelectorDefinition
55 for (collection::const_iterator pfc = hc->begin(); pfc != hc->end(); ++pfc, ++
key) {
59 double isoSumCharged = 0.0;
60 double isoSumNeutral = 0.0;
62 for (
unsigned iMap = 0; iMap < isoMapsCharged.size(); ++iMap) {
63 const IsoMap& isoMap = *(isoMapsCharged[iMap]);
64 double val = isoMap[candidate];
68 for (
unsigned iMap = 0; iMap < isoMapsNeutral.size(); ++iMap) {
69 const IsoMap& isoMap = *(isoMapsNeutral[iMap]);
70 double val = isoMap[candidate];
75 const IsoMap& isoMap = *dBetaH;
76 double dBetaVal = isoMap[candidate];
78 isoSumNeutral = dBetaCorIsoSumNeutral > 0 ? dBetaCorIsoSumNeutral : 0;
81 double isoSum = isoSumCharged + isoSumNeutral;
95 selected_.back().setSourceCandidatePtr(ptrToMother);