21 iter != trackmap.
end();
24 auto track =
static_cast<SvtxTrack*
> (iter->second->CloneMe());
25 _map.insert(std::make_pair(track->get_id(), track));
33 if( &trackmap ==
this )
return *
this;
37 iter != trackmap.
end();
40 auto track =
static_cast<SvtxTrack*
> (iter->second->CloneMe());
41 _map.insert(std::make_pair(track->get_id(), track));
65 os <<
"SvtxTrackMap_v2: size = " <<
_map.size() << std::endl;
72 if (iter ==
_map.end())
return nullptr;
79 if (iter ==
_map.end())
return nullptr;
85 unsigned int index = 0;
86 if (!
_map.empty()) index =
_map.rbegin()->first + 1;
90 const auto result =
_map.insert(std::make_pair(index, copy ));
93 std::cout <<
"SvtxTrackMap_v2::insert - duplicated key. track not inserted" << std::endl;
105 const auto result =
_map.insert(std::make_pair(index, copy ));
108 std::cout <<
"SvtxTrackMap_v2::insertWithKey - duplicated key. track not inserted" << std::endl;