23 std::vector<TrackFP420> temporary;
27 std::cout <<
" !!!!!!!!!!!!!!!! TrackCollectionFP420:: !!!! 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 <<
"TrackCollectionFP420::get:stationID= " << stationID << std::endl;
78 std::cout <<
"TrackCollectionFP420::get1: returnIndexRange.first= " << returnIndexRange.first << std::endl;
79 std::cout <<
"TrackCollectionFP420::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 <<
"TrackCollectionFP420::get2: container_.size() = " << container_.size() << std::endl;
91 std::cout <<
"TrackCollectionFP420::get2: returnIndexRange.first= " << returnIndexRange.first << std::endl;
92 std::cout <<
"TrackCollectionFP420::get2: returnIndexRange.second= " << returnIndexRange.second << std::endl;
101 std::vector<TrackFP420> 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 <<
"TrackCollectionFP420::stationIDs:start " << std::endl;
137 std::vector<unsigned int>
output;
140 output.push_back(begin->first);
void putclear(Range input, unsigned int stationID)
std::pair< unsigned int, unsigned int > IndexRange
const std::vector< unsigned int > stationIDs() const
std::pair< ContainerIterator, ContainerIterator > Range
static std::string const input
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
std::vector< TrackFP420 >::const_iterator ContainerIterator
const Range get(unsigned int stationID) const
void put(Range input, unsigned int stationID)