16 : _algo(jets.get_algo())
17 , _par(jets.get_par())
26 for (
auto iter : jets)
30 _map.insert(std::make_pair(jet->
get_id(), jet));
48 for (
auto iter : jets)
52 _map.insert(std::make_pair(jet->
get_id(), jet));
71 delete _map.begin()->second;
78 os <<
"JetMapv1: size = " <<
_map.size() << std::endl;
79 os <<
" par = " <<
_par << std::endl;
93 if (iter ==
_map.end())
return nullptr;
100 if (iter ==
_map.end())
return nullptr;
106 unsigned int index = 0;
107 if (!
_map.empty()) index =
_map.rbegin()->first + 1;
108 _map.insert(std::make_pair(index, jet));
110 return (
_map[index]);
115 std::vector<Jet*> v_data;
118 v_data.push_back(
_.second);