23 std::vector<ClusterFP420> temporary;
27 std::cout <<
" !!!!!!!!!!!!!!!! ClusterCollectionFP420:: !!!! put !!!! start " << std::endl;
29 for (; sort_begin != sort_end; ++sort_begin) {
31 std::cout <<
"put: temporary.push_back " << std::endl;
33 temporary.push_back(*sort_begin);
35 std::sort(temporary.begin(), temporary.end());
40 for (; begin !=
end; ++begin) {
41 container_.push_back(*begin);
50 if (!container_.empty()) {
60 std::cout <<
"put: container_.size() = " << container_.size() << std::endl;
73 std::cout <<
"ClusterCollectionFP420::get:detID= " << detID << std::endl;
78 std::cout <<
"ClusterCollectionFP420::get1: returnIndexRange.first= " << returnIndexRange.first << std::endl;
79 std::cout <<
"ClusterCollectionFP420::get1: returnIndexRange.second= " << returnIndexRange.second << std::endl;
83 returnRange.first = container_.begin() + returnIndexRange.first;
84 if (returnIndexRange.second != 0) {
85 returnRange.second = container_.begin() + returnIndexRange.second + 1;
87 returnRange.second = container_.begin() + returnIndexRange.second;
90 std::cout <<
"ClusterCollectionFP420::get2: container_.size() = " << container_.size() << std::endl;
91 std::cout <<
"ClusterCollectionFP420::get2: returnIndexRange.first= " << returnIndexRange.first << std::endl;
92 std::cout <<
"ClusterCollectionFP420::get2: returnIndexRange.second= " << returnIndexRange.second << std::endl;
101 std::vector<ClusterFP420> temporary;
104 for (; sort_begin != sort_end; ++sort_begin) {
105 temporary.push_back(*sort_begin);
107 std::sort(temporary.begin(), temporary.end());
112 for (; begin !=
end; ++begin) {
113 container_.push_back(*begin);
116 inputRange.first = container_.size() - container_.size();
117 inputRange.second = container_.size() - container_.size();
120 std::cout <<
"putclear: container_.size() = " << container_.size() << std::endl;
132 std::cout <<
"ClusterCollectionFP420::detIDs:start " << std::endl;
137 std::vector<unsigned int>
output;
139 for (; begin !=
end; ++begin) {
140 output.push_back(begin->first);