# | Line 64 | Line 64 | void JetCleaningMod::Process() | |
---|---|---|
64 | if (CleanElectrons) { | |
65 | UInt_t n = CleanElectrons->GetEntries(); | |
66 | for (UInt_t j=0; j<n; ++j) { | |
67 | < | Double_t deltaR = MathUtils::DeltaR(CleanElectrons->At(j)->Mom(),jet->Mom()); |
67 | > | Double_t deltaR = MathUtils::DeltaR(CleanElectrons->At(j)->SCluster()->Eta(), |
68 | > | CleanElectrons->At(j)->SCluster()->Phi(), |
69 | > | jet->Eta(), jet->Phi()); |
70 | if (deltaR < fMinDeltaRToElectron) { | |
71 | isElectronOverlap = kTRUE; | |
72 | break; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |