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());
41 container_.push_back(*begin);
43 inputRange.first = container_.size() - 1;
50 if (!container_.empty()) {
51 inputRange.second = container_.size() - 1;
53 inputRange.first = container_.size();
54 inputRange.second = container_.size();
60 std::cout <<
"put: container_.size() = " << container_.size() << std::endl;
61 std::cout <<
"put: inputRange.first = " << inputRange.first << std::endl;
62 std::cout <<
"put: inputRange.second = " << inputRange.second << 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());
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;
121 std::cout <<
"putclear: inputRange.first = " << inputRange.first << std::endl;
122 std::cout <<
"putclear: inputRange.second = " << inputRange.second << std::endl;
132 std::cout <<
"ClusterCollectionFP420::detIDs:start " << std::endl;
137 std::vector<unsigned int>
output;
140 output.push_back(begin->first);
std::pair< unsigned int, unsigned int > IndexRange
std::vector< ClusterFP420 >::const_iterator ContainerIterator
void put(Range input, unsigned int detID)
static std::string const input
const Range get(unsigned int detID) const
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
void putclear(Range input, unsigned int detID)
std::pair< ContainerIterator, ContainerIterator > Range
const std::vector< unsigned int > detIDs() const