64 std::vector<Gep::Jet> jets;
65 for (
const auto seed:
m_seeds) {
67 float seedEt = seed->et();
71 float seedEta = seed->eta();
72 float seedPhi = seed->phi();
77 jet.seedEta = seedEta;
78 jet.seedPhi = seedPhi;
81 TLorentzVector jetVec;
86 for (
const auto &cl: clusters) {
87 float dR_seed_cl =
deltaR(seedEta, cl.vec.Eta(), seedPhi, cl.vec.Phi());
94 jet.constituentsIndices.push_back(clusterIndex);
101 if (
jet.constituentsIndices.empty()) {
continue;}
111 float pt = std::sqrt(px*px + py*py);
112 jet.vec.SetPtEtaPhiM(pt, seedEta, seedPhi, m);
114 throw std::runtime_error(
"GEP ConeJetMaker recombinaton scheme error");
116 jets.emplace_back(std::move(
jet));