23 std::vector<RecoFP420> temporary;
27 std::cout <<
" !!!!!!!!!!!!!!!! RecoCollectionFP420:: !!!! 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()) {
61 std::cout <<
"put: container_.size() = " << container_.size() << std::endl;
74 std::cout <<
"RecoCollectionFP420::get:stationID= " << stationID << std::endl;
79 std::cout <<
"RecoCollectionFP420::get1: returnIndexRange.first= " << returnIndexRange.first << std::endl;
80 std::cout <<
"RecoCollectionFP420::get1: returnIndexRange.second= " << returnIndexRange.second << std::endl;
84 returnRange.first = container_.begin() + returnIndexRange.first;
85 if (returnIndexRange.second != 0) {
86 returnRange.second = container_.begin() + returnIndexRange.second + 1;
88 returnRange.second = container_.begin() + returnIndexRange.second;
91 std::cout <<
"RecoCollectionFP420::get2: container_.size() = " << container_.size() << std::endl;
92 std::cout <<
"RecoCollectionFP420::get2: returnIndexRange.first= " << returnIndexRange.first << std::endl;
93 std::cout <<
"RecoCollectionFP420::get2: returnIndexRange.second= " << returnIndexRange.second << std::endl;
102 std::vector<RecoFP420> temporary;
105 for (; sort_begin != sort_end; ++sort_begin) {
106 temporary.push_back(*sort_begin);
108 std::sort(temporary.begin(), temporary.end());
113 for (; begin !=
end; ++begin) {
114 container_.push_back(*begin);
117 inputRange.first = container_.size() - container_.size();
118 inputRange.second = container_.size() - container_.size();
121 std::cout <<
"putclear: container_.size() = " << container_.size() << std::endl;
133 std::cout <<
"RecoCollectionFP420::stationIDs:start " << std::endl;
138 std::vector<unsigned int>
output;
140 for (; begin !=
end; ++begin) {
141 output.push_back(begin->first);
std::pair< ContainerIterator, ContainerIterator > Range
static std::string const input
std::vector< RecoFP420 >::const_iterator ContainerIterator
const std::vector< unsigned int > stationIDs() const
void putclear(Range input, unsigned int stationID)
void put(Range input, unsigned int stationID)
std::pair< unsigned int, unsigned int > IndexRange
const Range get(unsigned int stationID) const
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator